@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Nunito:wght@400;500;600;700&display=swap');

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

:root {
    --ghibli-bg: #f7f2e7;
    --ghibli-text: #3a5743;
    --ghibli-sub: #9bb5a0;
    --ghibli-accent: #c25b56;
    --ghibli-btn-border: #c2b8a3;
    --ghibli-warm-white: #faf8f2;
}

body {
    font-family: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--ghibli-bg);
    color: var(--ghibli-text);
    overflow-x: hidden;
}

a {
  text-decoration: none;
}

.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(247, 242, 231, 0.95);
    backdrop-filter: blur(12px);
    padding: 1rem 2rem;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(58, 87, 67, 0.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    color: var(--ghibli-text);
}

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

.nav-links a {
    color: var(--ghibli-text);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
}

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

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

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

section {
    min-height: 100vh;
    padding: 6rem 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s, transform 0.8s;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

section:nth-child(even) {
    background: rgba(247, 242, 231, 0.6);
}

.container {
    max-width: 1200px;
    width: 100%;
}

.hero {
    text-align: center;
    position: relative;
}

.hero h1 {
    font-family: 'Quicksand', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ghibli-text);
}

.name-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.profile-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(155, 181, 160, 0.4);
  box-shadow: 0 0 20px rgba(58, 87, 67, 0.1);
}

.hero h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2rem;
    color: var(--ghibli-sub);
    margin-bottom: 2rem;
    font-weight: 500;
    font-style: italic;
}

.hero p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: var(--ghibli-text);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--ghibli-accent);
}

.stat-label {
    color: var(--ghibli-sub);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.henna-design {
    position: absolute;
    opacity: 0;
    animation: designCycle 20s ease-in-out infinite;
}

.henna-design svg {
    filter: drop-shadow(0 2px 6px rgba(58, 87, 67, 0.06));
}

.henna-design svg path,
.henna-design svg circle,
.henna-design svg line {
    stroke: rgba(155, 181, 160, 0.6) !important;
    fill: none !important;
}

.henna-design svg circle[fill]:not([fill="none"]) {
    fill: rgba(155, 181, 160, 0.4) !important;
    stroke: none !important;
}

.henna-design:nth-child(1) {
    top: 5%;
    left: 8%;
    animation-delay: 0s;
}

.henna-design:nth-child(2) {
    top: 12%;
    right: 10%;
    animation-delay: 1s;
}

.henna-design:nth-child(3) {
    bottom: 25%;
    left: 12%;
    animation-delay: 2s;
}

.henna-design:nth-child(4) {
    top: 45%;
    right: 8%;
    animation-delay: 3s;
}

.henna-design:nth-child(5) {
    bottom: 12%;
    right: 18%;
    animation-delay: 4s;
}

.henna-design:nth-child(6) {
    top: 35%;
    left: 5%;
    animation-delay: 5s;
}

.henna-design:nth-child(7) {
    bottom: 8%;
    left: 40%;
    animation-delay: 6s;
}

.henna-design:nth-child(8) {
    top: 8%;
    left: 35%;
    animation-delay: 7s;
}

.henna-design:nth-child(9) {
    top: 60%;
    right: 35%;
    animation-delay: 8s;
}

.henna-design:nth-child(10) {
    bottom: 35%;
    right: 5%;
    animation-delay: 9s;
}

@keyframes designCycle {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    5% {
        opacity: 0.22;
        transform: scale(1);
    }
    45% {
        opacity: 0.22;
        transform: scale(1);
    }
    50% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 0;
        transform: scale(0.8);
    }
    }

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

.henna-design path,
.henna-design circle:not([fill]),
.henna-design line {
animation: drawPath 2.5s ease-out forwards;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.section-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
    color: var(--ghibli-text);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--ghibli-sub), var(--ghibli-accent));
    border-radius: 2px;
}

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

.skill-card {
    background: var(--ghibli-warm-white);
    padding: 2rem;
    border-radius: 14px;
    border: 2px solid rgba(194, 184, 163, 0.3);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    cursor: pointer;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(58, 87, 67, 0.1);
    border-color: var(--ghibli-sub);
}

.skill-card h3 {
    font-family: 'Quicksand', sans-serif;
    color: var(--ghibli-text);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.skill-card p {
    color: var(--ghibli-text);
    line-height: 1.6;
}

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

.tag {
    background: var(--ghibli-sub);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 600;
}

.experience-timeline {
    position: relative;
    padding-left: 3rem;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--ghibli-sub), var(--ghibli-accent), var(--ghibli-text));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--ghibli-warm-white);
    border-radius: 14px;
    border-left: 4px solid var(--ghibli-sub);
    box-shadow: 0 4px 18px rgba(58, 87, 67, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 28px rgba(58, 87, 67, 0.08);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3.9rem;
    top: 2rem;
    width: 15px;
    height: 15px;
    background: var(--ghibli-sub);
    border-radius: 50%;
    border: 3px solid var(--ghibli-bg);
    box-shadow: 0 0 0 3px rgba(155, 181, 160, 0.2);
}

.timeline-date {
    color: var(--ghibli-accent);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ghibli-text);
    margin-bottom: 0.5rem;
}

.timeline-company {
    color: var(--ghibli-sub);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.timeline-description {
    color: var(--ghibli-text);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.tech-tag {
    background: var(--ghibli-text);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 14px;
    font-size: 0.85rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--ghibli-accent);
    color: #fff;
    text-decoration: none;
    border-radius: 14px;
    font-weight: bold;
    margin-top: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-family: 'Quicksand', sans-serif;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(194, 91, 86, 0.25);
}

.contact-section {
    text-align: center;
}

.contact-section p {
    color: var(--ghibli-text);
}

.highlight {
    color: var(--ghibli-accent);
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero h2 { font-size: 1.5rem; }
    .section-title { font-size: 2rem; }
    .nav-links { display: none; }
    .projects-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 1.5rem; }
}
