/* --- CSS Styles (Design) --- */
:root {
    --primary: #0f172a;
    /* Dark Navy */
    --secondary: #0d9488;
    /* Teal */
    --accent: #f0f9ff;
    /* Light Blue */
    --text-dark: #334155;
    --text-light: #94a3b8;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --chat-bg: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -1px;
}

.logo span {
    color: var(--secondary);
}

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

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

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

.btn-contact {
    background: var(--secondary);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: transform 0.3s !important;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

/* Mobile Menu Notch */
.menu-notch {
    display: none;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.3rem 0.8rem;
    background: rgba(13, 148, 136, 0.1);
    border-radius: 20px;
}

.language-switcher a {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    color: var(--text-dark);
}

.language-switcher a.active {
    background: var(--secondary);
    color: white !important;
}

.language-switcher a:not(.active):hover {
    background: rgba(13, 148, 136, 0.2);
}

/* Hero Section */
.hero {
    padding: 8rem 5% 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: slideInLeft 1s ease-out;
}

.hero-tag {
    background: rgba(13, 148, 136, 0.1);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero h1 span {
    color: var(--secondary);
    position: relative;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(13, 148, 136, 0.2);
    z-index: -1;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    border-left: 4px solid var(--secondary);
    padding-left: 15px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.2);
}

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

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    animation: slideInRight 1s ease-out;
}

.hero-image img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 5px solid white;
}

.floating-badge {
    position: absolute;
    bottom: 20px;
    right: 40px;
    background: white;
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 3s ease-in-out infinite;
}

.floating-badge i {
    font-size: 24px;
    color: var(--secondary);
}

.floating-badge div {
    font-weight: bold;
    color: var(--primary);
    line-height: 1.2;
}

.floating-badge span {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: normal;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Stats Section */
.stats-banner {
    background: var(--primary);
    padding: 3rem 5%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    border-radius: 0 0 50px 50px;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Section Styles */
section {
    padding: 6rem 5%;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header .line {
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin: 0 auto;
    border-radius: 2px;
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: #e2e8f0;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--secondary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::after {
    left: -10px;
}

.content-card {
    padding: 2rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.content-card:hover {
    transform: translateY(-5px);
    border-left: 5px solid var(--secondary);
}

.content-card h3 {
    color: var(--primary);
    font-size: 1.2rem;
}

.content-card .company {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.content-card .date {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: block;
    font-style: italic;
}

.content-card ul {
    list-style: none;
}

.content-card ul li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.content-card ul li::before {
    content: '▹';
    color: var(--secondary);
    position: absolute;
    left: 0;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border-top: 4px solid transparent;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-top: 4px solid var(--secondary);
}

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

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

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 4rem 5%;
    text-align: center;
}

.contact-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.contact-item p {
    color: #cbd5e1;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 6rem;
    }

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

    .hero-content {
        width: 100%;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
    }

    .floating-badge {
        right: 10px;
        bottom: 10px;
        padding: 10px 15px;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 21px;
    }

    .right {
        left: 0;
    }

    nav {
        flex-wrap: wrap;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        gap: 1.5rem;
        align-items: center;
        padding: 0;
    }

    nav.menu-open .nav-links {
        max-height: 400px;
        padding: 1.5rem 0 1rem 0;
    }

    .menu-notch {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 5px 35px;
        border-radius: 0 0 25px 25px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        font-weight: 500;
        font-size: 1.1rem;
        cursor: pointer;
        color: var(--primary);
    }

    /* Show language switcher on mobile */
    .language-switcher {
        display: flex !important;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 1001;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .stats-banner {
        flex-direction: column;
        border-radius: 0;
    }

}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}