:root {
    --navy: #1a237e;
    --navy-light: #283593;
    --navy-dark: #0d1456;
    --white: #ffffff;
    --gold: #ffd700;
    --crimson: #dc143c;
    --gray-light: #f8f9fa;
    --gray-medium: #6c757d;
    --gray-dark: #343a40;
    --shadow: 0 4px 20px rgba(26, 35, 126, 0.15);
    --shadow-hover: 0 8px 30px rgba(26, 35, 126, 0.25);
}

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

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

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--navy);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
}

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

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

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

/* Profile Image */
.profile-section {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    animation: fadeInRight 1s ease 1.1s forwards;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 4px solid var(--gold);
    box-shadow: var(--shadow);
    object-fit: cover;
}

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

/* Professional Journey Carousel */
.journey {
    padding: 5rem 0;
    background: #f8f9fa;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 15px;
    width: 100%;
    max-width: 800px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0;
}

.journey-card {
    flex: 0 0 100%;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 0;
    opacity: 0.7;
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.journey-card.active {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Entry Animation */
.journey-card.animate-in {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.journey-card.animate-in:nth-child(1) { animation-delay: 0.1s; }
.journey-card.animate-in:nth-child(2) { animation-delay: 0.2s; }
.journey-card.animate-in:nth-child(3) { animation-delay: 0.3s; }
.journey-card.animate-in:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0) scale(0.95);
    }
}

/* Hover Effects */
.journey-card:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.journey-card.active:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.card-flag {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.journey-card:hover .card-flag {
    transform: scale(1.1);
}

.card-country {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.journey-card:hover .card-country {
    color: #3498db;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.journey-card:hover .card-title {
    color: #2c3e50;
}

.card-description {
    font-size: 1rem;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.journey-card:hover .card-description {
    color: #5a6c7d;
}

.card-image-placeholder {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #f1f2f6, #ddd);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Shimmer Effect for Image Placeholder */
.card-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Pulse Effect */
.card-image-placeholder {
    animation: gentlePulse 3s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.placeholder-content {
    font-size: 3rem;
    opacity: 0.6;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.journey-card:hover .placeholder-content {
    opacity: 0.8;
    transform: scale(1.1);
}

.card-quote {
    font-style: italic;
    color: #2c3e50;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.journey-card:hover .card-quote {
    opacity: 1;
    transform: translateY(0);
}

/* New styles for Hungary card */
.card-timeframe {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 500;
    margin-bottom: 1rem;
    font-style: italic;
}

.card-image-container {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.journey-card:hover .card-image {
    transform: scale(1.05);
}

.card-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 1rem;
    color: white;
}

.card-caption {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: #3498db;
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn.prev {
    left: -25px;
}

.carousel-btn.next {
    right: -25px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bdc3c7;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.indicator:hover {
    background: #95a5a6;
    transform: scale(1.2);
}

.indicator.active {
    background: #3498db;
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
}

.indicator.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: indicatorPulse 2s infinite;
}

@keyframes indicatorPulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.2); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .journey {
        padding: 3rem 0;
    }
    
    .carousel-container {
        margin: 0 1rem;
        padding: 0 1rem;
    }
    
    .carousel-wrapper {
        max-width: 100%;
    }
    
    .carousel-track {
        gap: 0;
    }
    
    .journey-card {
        flex: 0 0 100%;
        margin: 0;
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .journey-card.active {
        transform: scale(1.02);
    }
    
    .carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        border: 2px solid rgba(52, 152, 219, 0.2);
    }
    
    .carousel-btn.prev {
        left: -22px;
    }
    
    .carousel-btn.next {
        right: -22px;
    }
    
    .carousel-btn:active {
        transform: translateY(-50%) scale(0.9);
        background: white;
    }
    
    .card-flag {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .card-country {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }
    
    .card-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .card-description {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
    }
    
    .card-image-placeholder {
        height: 120px;
        margin-bottom: 1.2rem;
        border-radius: 8px;
    }
    
    .placeholder-content {
        font-size: 2.5rem;
    }
    
    .card-quote {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }
    
    .carousel-indicators {
        margin-top: 1.5rem;
        gap: 0.6rem;
    }
    
    .indicator {
        width: 14px;
        height: 14px;
    }
    
    .indicator.active {
        transform: scale(1.4);
    }
    
    /* Disable hover effects on mobile - replace with tap effects */
    .journey-card:hover {
        transform: scale(0.95);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .journey-card.active:hover {
        transform: scale(1.02);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
    
    .journey-card:hover .card-flag,
    .journey-card:hover .card-country,
    .journey-card:hover .card-title,
    .journey-card:hover .card-description,
    .journey-card:hover .placeholder-content,
    .journey-card:hover .card-quote {
        transform: none;
        color: inherit;
        opacity: inherit;
    }
    
    .card-image-container {
        height: 150px;
    }
    
    .card-caption {
        font-size: 0.75rem;
    }
}

/* Small Mobile Devices (375px and below) */
@media (max-width: 375px) {
    .journey {
        padding: 2.5rem 0;
    }
    
    .carousel-container {
        margin: 0 0.5rem;
        padding: 0 0.5rem;
    }
    
    .carousel-wrapper {
        max-width: 100%;
    }
    
    .carousel-track {
        gap: 0;
    }
    
    .journey-card {
        flex: 0 0 100%;
        margin: 0;
        padding: 1.2rem;
        border-radius: 10px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-btn.prev {
        left: -20px;
    }
    
    .carousel-btn.next {
        right: -20px;
    }
    
    .card-flag {
        font-size: 2.2rem;
        margin-bottom: 0.6rem;
    }
    
    .card-country {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    
    .card-title {
        font-size: 1rem;
        margin-bottom: 0.6rem;
        line-height: 1.2;
    }
    
    .card-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .card-image-placeholder {
        height: 100px;
        margin-bottom: 1rem;
        border-radius: 6px;
    }
    
    .placeholder-content {
        font-size: 2.2rem;
    }
    
    .card-quote {
        font-size: 0.85rem;
        margin-top: 0.3rem;
    }
    
    .carousel-indicators {
        margin-top: 1.2rem;
        gap: 0.5rem;
    }
    
    .indicator {
        width: 12px;
        height: 12px;
    }
    
    .indicator.active {
        transform: scale(1.3);
    }
}

/* Tablet Portrait (768px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .journey {
        padding: 4rem 0;
    }
    
    .carousel-container {
        margin: 0 2rem;
        padding: 0 1rem;
    }
    
    .carousel-wrapper {
        max-width: 100%;
    }
    
    .journey-card {
        flex: 0 0 100%;
        margin: 0;
        padding: 1.8rem;
    }
    
    .carousel-btn {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }
    
    .carousel-btn.prev {
        left: -24px;
    }
    
    .carousel-btn.next {
        right: -24px;
    }
    
    .card-flag {
        font-size: 2.8rem;
    }
    
    .card-country {
        font-size: 1.4rem;
    }
    
    .card-title {
        font-size: 1.15rem;
    }
    
    .card-image-placeholder {
        height: 140px;
    }
    
    .placeholder-content {
        font-size: 2.8rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .carousel-btn {
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid rgba(52, 152, 219, 0.3);
    }
    
    .carousel-btn:active {
        transform: translateY(-50%) scale(0.9);
        background: white;
        border-color: #3498db;
    }
    
    .indicator {
        background: #95a5a6;
    }
    
    .indicator:active {
        background: #3498db;
        transform: scale(1.2);
    }
    
    .indicator.active {
        background: #3498db;
        transform: scale(1.3);
    }
    
    /* Disable all hover effects on touch devices */
    .journey-card:hover {
        transform: scale(0.95);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .journey-card.active:hover {
        transform: scale(1.05);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
    
    .journey-card:hover .card-flag,
    .journey-card:hover .card-country,
    .journey-card:hover .card-title,
    .journey-card:hover .card-description,
    .journey-card:hover .placeholder-content,
    .journey-card:hover .card-quote {
        transform: none;
        color: inherit;
        opacity: inherit;
    }
}

.profile-section-about {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
}

.learn-more-btn {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white !important;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-family: inherit;
}

.learn-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white !important;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--navy);
}

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

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

.quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--navy);
    text-align: center;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--gray-light);
    border-left: 4px solid var(--gold);
}

/* Journey Section */
.journey {
    padding: 5rem 0;
    background: var(--gray-light);
}

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

.journey-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.journey-item:hover {
    transform: translateY(-5px);
}

.journey-item h3 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.country-flag {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* Mission Section */
.mission {
    padding: 5rem 0;
    background: var(--navy);
    color: var(--white);
    text-align: center;
}

.mission h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.mission p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Competencies Section */
.competencies {
    padding: 5rem 0;
    background: var(--white);
}

.competencies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.competency-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: var(--gray-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
}

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

.competency-card:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
}

.competency-card:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
}

.competency-spacer {
    grid-column: 3;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
}

.competency-spacer::before {
    content: "ST";
    font-size: 3rem;
    font-weight: bold;
    color: var(--navy);
    font-family: 'Arial', sans-serif;
}

.competency-icon {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.competency-card h3 {
    color: var(--navy);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.competency-card p {
    color: var(--gray-dark);
    line-height: 1.6;
    margin: 0;
}

/* Languages Section */
.languages {
    padding: 5rem 0;
    background: var(--gray-light);
}

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

.language-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.language-item h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}

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

.language-item .strategic-role {
    font-size: 0.9rem;
    color: var(--gray-dark);
    font-style: italic;
    margin-bottom: 0;
}

.language-flag {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-item {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}

.skill-item h3 {
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.skill-item p {
    color: var(--gray-dark);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Interests Section */
.interests {
    padding: 5rem 0;
    background: var(--white);
}

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

.interest-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: var(--gray-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.interest-card h3 {
    color: var(--navy);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.interest-card p {
    color: var(--gray-dark);
    line-height: 1.6;
    margin-bottom: 0;
}

.interest-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--navy);
    color: var(--white);
    text-align: center;
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.contact p {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-links a {
    color: var(--white);
    font-size: 2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--gold);
}

/* Footer */
footer {
    background: var(--navy-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

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

    .profile-section {
        position: static;
        transform: none;
        text-align: center;
        margin-top: 2rem;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }

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

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

    .section-title {
        font-size: 2rem;
    }
    
    .languages-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .language-item {
        padding: 1rem;
    }
    
    .skill-item {
        padding: 1rem;
    }
    
    .competencies-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
        gap: 1.5rem;
    }
    
    .competency-card:nth-child(4) {
        grid-column: 1;
        grid-row: 3;
    }
    
    .competency-card:nth-child(5) {
        grid-column: 2;
        grid-row: 3;
    }
    
    .competency-spacer {
        display: none;
    }
    
    .competency-card {
        padding: 1.5rem;
        min-height: 180px;
    }
    
    .competency-icon {
        font-size: 2rem;
    }
    
    .interests-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .interest-card {
        padding: 1.5rem;
    }
    
    .interest-icon {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .profile-image {
        width: 150px;
        height: 150px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Scroll-triggered fade-in animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for cards within sections */
.fade-in .competency-card,
.fade-in .interest-card,
.fade-in .language-card,
.fade-in .skill-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible .competency-card:nth-child(1) { transition-delay: 0.1s; }
.fade-in.visible .competency-card:nth-child(2) { transition-delay: 0.2s; }
.fade-in.visible .competency-card:nth-child(3) { transition-delay: 0.3s; }
.fade-in.visible .competency-card:nth-child(4) { transition-delay: 0.4s; }
.fade-in.visible .competency-card:nth-child(5) { transition-delay: 0.5s; }

.fade-in.visible .interest-card:nth-child(1) { transition-delay: 0.1s; }
.fade-in.visible .interest-card:nth-child(2) { transition-delay: 0.2s; }
.fade-in.visible .interest-card:nth-child(3) { transition-delay: 0.3s; }
.fade-in.visible .interest-card:nth-child(4) { transition-delay: 0.4s; }
.fade-in.visible .interest-card:nth-child(5) { transition-delay: 0.5s; }
.fade-in.visible .interest-card:nth-child(6) { transition-delay: 0.6s; }

.fade-in.visible .language-card:nth-child(1) { transition-delay: 0.1s; }
.fade-in.visible .language-card:nth-child(2) { transition-delay: 0.2s; }
.fade-in.visible .language-card:nth-child(3) { transition-delay: 0.3s; }
.fade-in.visible .language-card:nth-child(4) { transition-delay: 0.4s; }

.fade-in.visible .skill-item:nth-child(1) { transition-delay: 0.1s; }
.fade-in.visible .skill-item:nth-child(2) { transition-delay: 0.2s; }
.fade-in.visible .skill-item:nth-child(3) { transition-delay: 0.3s; }
.fade-in.visible .skill-item:nth-child(4) { transition-delay: 0.4s; }
.fade-in.visible .skill-item:nth-child(5) { transition-delay: 0.5s; }
.fade-in.visible .skill-item:nth-child(6) { transition-delay: 0.6s; }

.fade-in.visible .competency-card,
.fade-in.visible .interest-card,
.fade-in.visible .language-card,
.fade-in.visible .skill-item {
    opacity: 1;
    transform: translateY(0);
}

/* Login Section */
.login {
    padding: 5rem 0;
    background: var(--gray-light);
}

.login h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--navy);
}

.login p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--gray-dark);
}

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

.login-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.login-icon {
    font-size: 3rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.login-card h3 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.login-features {
    text-align: center;
}

.login-features h3 {
    color: var(--navy);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 5px;
    box-shadow: var(--shadow);
}

.feature-item i {
    color: var(--navy);
    font-size: 1.2rem;
}

.feature-item span {
    font-weight: 500;
    color: var(--gray-dark);
}
