:root {
    --primary: #fff9fb;
    --secondary: #fff0f5;
    --accent: #d8a1c4;
    --accent-dark: #b37b9e;
    --text: #4a3a42;
    --text-light: #8a7a82;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

body {
    background-color: var(--primary);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--text);
}


/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background-color: rgba(255, 249, 251, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

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

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

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

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

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

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 5% 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    gap: 0;
}

.hero-info {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%23d8a1c4" opacity="0.1"><path d="M30,50 Q50,30 70,50 T90,50 T70,70 T50,90 T30,70 T10,50 T30,30 Z"></path></svg>');
    background-size: 300px;
    background-repeat: repeat;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    flex: 1;
    max-width: 60%%;
    z-index: 2;
    padding-right: 2rem;
    margin-right: 100px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: rgba(216, 161, 196, 0.3);
    z-index: -1;
}

.hero-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    /* Responsive font size */
    line-height: 1.8;
    max-width: 100%;
    overflow-wrap: break-word;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
    font-size: 1rem;
    margin-left: 5px;
}

.btn:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(216, 161, 196, 0.3);
}

/* Image */
.hero-image {
    position: relative;
    width: clamp(280px, 30vw, 380px);
    /* Responsive image size */
    height: clamp(280px, 30vw, 380px);
    border-radius: 20px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(216, 161, 196, 0.2);
    z-index: 2;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.03);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(216, 161, 196, 0.3);
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-image:hover::before {
    opacity: 1;
    transform: scale(0.98);
}

/* Sections */
section {
    padding: 6rem 5%;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--accent);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

/* Skills Section Styling */
#skills {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
}

.skills-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.skills-category {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    padding: 2.2rem;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.03),
        0 10px 25px rgba(216, 161, 196, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(216, 161, 196, 0.12);
    backdrop-filter: blur(8px);
}

.skills-category:hover {
    transform: translateY(-5px);
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.05),
        0 15px 35px rgba(216, 161, 196, 0.15);
}

.skills-category-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--accent-dark);
    margin-bottom: 1.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(216, 161, 196, 0.2);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    letter-spacing: 0.5px;
}

.skills-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 1.2rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.4rem 0.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    transition: all 0.3s ease-out;
    border: 1px solid rgba(216, 161, 196, 0.1);
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.skill-item:hover::before {
    opacity: 1;
}

.skill-item i {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: var(--accent);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.skill-item:hover i {
    color: white;
    transform: scale(1.15);
}

.skill-item span {
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--text);
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.skill-item:hover span {
    color: white;
}

.skill-item::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    background: rgba(216, 161, 196, 0.1);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.skill-item:hover::after {
    transform: scale(5);
    opacity: 0;
}

/* Experience Section */
.experience-container {
    max-width: 900px;
    margin: 0 auto;
}

.experience-item {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    position: relative;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.experience-title {
    font-size: 1.3rem;
    color: var(--accent-dark);
}

.experience-date {
    color: var(--accent);
    font-weight: 500;
}

.experience-company {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.experience-details {
    color: var(--text-light);
}

.experience-details ul {
    list-style-type: none;
}

.experience-details li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.experience-details li::before {
    content: '•';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Projects Section */
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    position: relative;
}

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

.project-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(216, 161, 196, 0.1), rgba(216, 161, 196, 0.3));
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.project-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tags span {
    background: var(--secondary);
    color: var(--accent-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1.5rem;
}

.project-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
    font-weight: 500;
}

.project-links a:hover {
    color: var(--accent);
}

.project-links a i {
    font-size: 1rem;
}

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

.education-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.education-degree {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--accent-dark);
}

.education-school {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.education-date {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 1rem;
}

.education-major {
    color: var(--text-light);
}

/* Contact Section */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 3rem 0;
    padding: 0 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    color: var(--text);
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(216, 161, 196, 0.3);
}

/* Footer */
footer {
    background: white;
    padding: 3rem 5%;
    text-align: center;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

footer p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Floral Accents */
.floral-accent {
    position: absolute;
    opacity: 0.1;
    z-index: 0;
}

.floral-1 {
    top: 50px;
    left: 50px;
    font-size: 10rem;
    color: var(--accent);
    transform: rotate(-15deg);
}

.floral-2 {
    bottom: 100px;
    right: 100px;
    font-size: 8rem;
    color: var(--accent);
    transform: rotate(25deg);
}

 @media (max-width: 768px) {

    /* Navigation */
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 2.5rem;
        transition: all 0.4s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding-top: 3rem;
        backdrop-filter: blur(8px);
    }

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

    .menu-btn {
        display: block;
        z-index: 101;
    }

    /* Hero Section */
    .hero {
        flex-direction: column-reverse;
        /* Image first on mobile */
        text-align: center;
        padding: 100px 5% 60px;
        gap: 2.5rem;
    }

    .hero-content {
        padding: 0;
        margin-bottom: 0;
    }

    .hero-content h1 {
        font-size: 2.4rem;
        margin-bottom: 1.2rem;
    }

    .hero-content p {
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 1.8rem;
    }

    .hero-image {
        width: 280px;
        height: 280px;
        margin: 0 auto;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .btn {
        width: 100%;
        max-width: 220px;
        margin: 0 auto;
    }

    /* Other Sections */
    .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

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

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

    .social-icons {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .social-icons a {
        width: 65px;
        height: 65px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-image {
        width: 240px;
        height: 240px;
    }

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

    .skills-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-card,
    .education-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .skills-items {
        grid-template-columns: 1fr;
    }
}