:root {
  --accent-blue: #667eea;
  --accent-purple: #764ba2;
  --accent-mid: #7167cb;
  --hero-title-color: #fff;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    /* font-size: 87.5%; */
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo h2 {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.8rem;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-mid);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 1rem;
}

.current-language {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.current-language:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.current-language i.fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.current-language.active i.fa-chevron-down {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 101;
    margin-top: 0.5rem;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.language-option:hover {
    background: #f8fafc;
}

.language-option:first-child {
    border-radius: 10px 10px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 10px 10px;
}

.language-option.active {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: white;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: var(--accent-mid);
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--hero-title-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    color: var(--hero-title-color);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--accent-mid);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #fff;
    /* color: #25D366; */
    /* border: 2px solid #25D366; */
    font-weight: 700;
    font-size: 1.2rem;
    padding: 0.75rem 2.2rem;
    border-radius: 50px;
    margin-left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 10px rgba(39, 174, 96, 0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-whatsapp:hover {
    color: #fff;
    box-shadow: 0 4px 20px rgba(39, 174, 96, 0.15);
}

.btn-whatsapp i {
    font-size: 1.3em;
    /* color: #25D366; */
    color: var(--accent-mid);
    transition: color 0.2s;
}

.btn-whatsapp:hover i {
    color: #fff;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.hero-profile-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8fafc;
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    /* gap: 2rem; */
    vertical-align: middle;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-mid);
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.about-profile-image {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    object-fit: cover;
    object-position: top;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-profile-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8fafc;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Experience Section */
.experience {
    padding: 80px 0;
}

.founder-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.founder-image {
    flex-shrink: 0;
}

.founder-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px dashed #cbd5e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-mid);
}

.founder-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.founder-info p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

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

.experience-category {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.experience-category h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

.experience-items {
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.experience-item {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    border-left: 4px solid var(--accent-mid);
}

.experience-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.experience-item p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.experience-item span {
    color: var(--accent-mid);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Experience Popup System */
.experience-item-compact {
    position: relative;
    cursor: pointer;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid var(--accent-mid);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.experience-item-compact:hover {
    background: #e2e8f0;
    transform: translateX(5px);
    border-left: 4px solid var(--accent-mid);
    z-index: 10000;
    position: relative;
}

.experience-compact-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.experience-compact-content h5 {
    font-size: 0.9em;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.1rem;
}

.experience-compact-content span {
    color: var(--accent-mid);
    font-size: 0.9rem;
    font-weight: 500;
}

.experience-popup-period {
    color: var(--accent-mid);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    /* margin-left: 1rem; */
    margin-bottom: 1rem;
}

.popup-period-experience {
    color: var(--accent-mid);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 1.5rem;
}

.experience-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    /* width: 30em; */
    /* height: 30em; */
    min-width: 320px;
    min-height: 240px;
    max-width: 90vw;
    max-height: 90vh;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    padding: 2rem;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
    overflow-y: auto;
}

.experience-item-compact:hover .experience-popup {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.popup-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
}

.popup-period {
    color: var(--accent-mid);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    margin-left: auto;
    align-self: flex-end;
    text-align: right;
    margin-bottom: 0;
}

.popup-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.popup-location i {
    color: var(--accent-mid);
    width: 16px;
}

.popup-description {
    margin-bottom: 1rem;
}

.popup-institution {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.popup-institution a {
    color: #666;
    text-decoration: none;
}

.popup-description p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    text-align: justify;
}

.popup-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.popup-doi {
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
    gap: 0.5rem;
}

.popup-doi a {
    color: #666;
    text-decoration: none;
}

.popup-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.popup-thesis {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.popup-detail-item i,
.popup-thesis i {
    font-size: 1.2em;
    min-width: 1.4em;
    margin-top: 0.1em;
}

.popup-gpa {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.popup-thesis {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

.popup-thesis i {
    color: var(--accent-mid);
    width: 16px;
    margin-top: 0.1rem;
}

.popup-thesis a {
    color: #666;
    text-decoration: none;
}

.popup-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-mid);
    font-size: 0.9rem;
}

.popup-link a,
.popup-link a:visited,
.popup-link a:active,
.popup-link a:hover {
    color: var(--accent-mid);
    text-decoration: underline;
}

.popup-link i {
    color: var(--accent-mid);
}

.popup-detail-item span {
    flex: 1;
    line-height: 1.4;
    word-wrap: break-word;
}

.popup-abstract {
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.popup-abstract h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.popup-abstract p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.popup-arrow {
    display: none !important;
}

/* Project styles in experience popup */
.popup-projects {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.popup-projects h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.popup-project {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 3px solid var(--accent-mid);
}

.popup-project:last-child {
    margin-bottom: 0;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.project-header h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
}

.project-period {
    color: var(--accent-mid);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 1rem;
}

.project-description {
    margin-bottom: 0.75rem;
}

.project-description p {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    text-align: justify;
}

.project-technologies {
    margin-top: 0.75rem;
}

.project-technologies strong {
    font-size: 0.8rem;
    color: #666;
    display: block;
    margin-bottom: 0.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Experience period in compact view */
.experience-period {
    color: var(--accent-mid);
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.25rem;
    display: block;
}

/* Responsive adjustments for popups */
@media (max-width: 768px) {
    .experience-popup {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.9);
        width: 90%;
        max-width: 350px;
        max-height: 80vh;
        overflow-y: auto;
        z-index: 10000;
    }
    
    .experience-item-compact:hover .experience-popup {
        transform: translate(-50%, -50%) scale(1);
    }
    
    .popup-arrow {
        display: none;
    }
    
    /* Mobile popup overlay */
    .experience-popup.mobile-active {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    }
    
    /* Add backdrop for mobile popups */
    .experience-popup.mobile-active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    .popup-period {
        margin-left: 1.5rem;
    }

    .popup-location {
        margin-left: 1.5rem;
    }
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-info {
    max-width: 700px;
    column-gap: 10fr;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.contact-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    gap: 1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item span {
    color: #333;
    font-weight: 500;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 2rem;
}

.contact-item-language {
    justify-content: center;
    margin-bottom: 0;
    grid-column: 1 / -1;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-mid);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2d3748;
    color: #a0aec0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 101;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .language-selector {
        margin-left: 0;
    }

    .current-language {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .current-language span {
        display: none;
    }

    .language-dropdown {
        right: auto;
        left: 0;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

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

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

    .hero-profile-image {
        max-width: 300px;
        width: 100%;
        height: auto;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .features-grid,
    .services-grid,
    .experience-grid {
        grid-template-columns: 1fr;
    }

    .founder-profile {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

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

    .contact-item-language {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 40px;
    }

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

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

    .hero-profile-image {
        max-width: 220px;
        width: 100%;
        height: auto;
    }

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

    .about-text h2 {
        font-size: 2rem;
    }

    .feature-card,
    .service-card,
    .experience-category {
        padding: 1.5rem;
    }

    .founder-profile {
        padding: 1.5rem;
    }

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

.popup-detail-item .fa-star {
    color: var(--accent-mid);
}

/* Popup Backdrop for Experience Modal */
.popup-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(40, 40, 60, 0.55);
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s;
}

@media (max-width: 768px) {
    .experience-popup.mobile-active {
        box-shadow: 0 25px 80px rgba(40, 40, 60, 0.35);
        background: #fff;
    }
} 