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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn--primary {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.btn--primary:hover {
    background-color: #333;
    border-color: #333;
    transform: translateY(-2px);
}

.btn--secondary {
    background-color: transparent;
    color: #000;
    border-color: #000;
}

.btn--secondary:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    text-align: center;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid #eee;
}

.nav.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav__logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav__logo a:hover {
    color: #333;
}

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

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

.nav__link:hover,
.nav__link.active {
    color: #000;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #000;
    transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background-color: #000;
    margin: 2px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23f0f0f0" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.5;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero__name {
    margin-bottom: 1rem;
    color: #000;
    font-weight: 700;
}

.hero__title {
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
    min-height: 60px;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero__location {
    margin-bottom: 2rem;
    color: #666;
    font-size: 1.1rem;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 5rem 0;
    position: relative;
}

.section:nth-child(even) {
    background-color: #f8f9fa;
}

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

.section__title {
    color: #000;
    margin-bottom: 1rem;
}

.section__divider {
    width: 60px;
    height: 3px;
    background-color: #000;
    margin: 0 auto;
}

/* About Section */
.about__content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about__text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.stat {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.stat__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
}

.stat__label {
    color: #666;
    font-weight: 500;
    font-size: 1rem;
}

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

.experience__timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #ddd;
}

.experience__item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.experience__item::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #000;
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px #ddd;
}

.experience__date {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.experience__content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.experience__content:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.experience__title {
    color: #000;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.experience__company {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.experience__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 500;
}

.toggle__icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.experience__toggle.active .toggle__icon {
    transform: rotate(45deg);
}

.experience__details {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.experience__details.active {
    max-height: 1000px;
}

.experience__details ul {
    list-style: none;
    margin-bottom: 1rem;
}

.experience__details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #555;
}

.experience__details li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}

.experience__tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background-color: #f0f0f0;
    color: #333;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background-color: #000;
    color: #fff;
}

/* Skills Section */
.skills__content {
    max-width: 1000px;
    margin: 0 auto;
}

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

.skills__category-title {
    color: #000;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.skills__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.skill-tag {
    background-color: #fff;
    color: #333;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.skill-tag:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Achievements Section */
.achievements__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.achievement__item {
    text-align: center;
    padding: 2.5rem 2rem;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.achievement__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.achievement__title {
    color: #000;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.achievement__desc {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact__subtitle {
    color: #000;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact__text {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact__details {
    space-y: 1rem;
}

.contact__item {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.contact__item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact__item strong {
    color: #000;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact__item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact__item a:hover {
    color: #000;
}

.contact__form {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: #000;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}

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

.footer__text {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.footer__text:last-child {
    margin-bottom: 0;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: #333;
    transform: translateY(-2px);
}

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

[data-aos] {
    opacity: 0;
    transition: all 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav__menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav__toggle {
        display: flex;
    }

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

    .hero__actions .btn {
        width: 200px;
        text-align: center;
    }

    .about__stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .stat {
        padding: 1.5rem 1rem;
    }

    .stat__number {
        font-size: 2rem;
    }

    .experience__timeline::before {
        left: 15px;
    }

    .experience__item {
        padding-left: 50px;
    }

    .experience__item::before {
        left: 6px;
        width: 18px;
        height: 18px;
    }

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

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

    .skills__list {
        gap: 0.5rem;
    }

    .skill-tag {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .section {
        padding: 3rem 0;
    }

    .contact__form {
        padding: 2rem;
    }
}

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

    .hero__name {
        font-size: 2.5rem;
    }

    .hero__title {
        font-size: 1.5rem;
        min-height: auto;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .section__title {
        font-size: 2rem;
    }

    .experience__content {
        padding: 1.5rem;
    }

    .contact__form {
        padding: 1.5rem;
    }

    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 1rem;
        right: 1rem;
    }
}