@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Nunito', sans-serif;
    background: oklch(98.4% 0.003 247.858);
    color: oklch(12.9% 0.042 264.695);
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

.content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 85%;
    padding: 24px 0;
}

header .title {
    font-size: 2.3rem;
    font-weight: 700;
}

header .menu {
    display: flex;
    gap: 1rem;
    font-size: 1.3rem;
    font-weight: 500;
}

header .menu a {
    position: relative;
    text-decoration: none; /* remove default underline */
    color: inherit; /* keeps your text color */
    padding-bottom: 4px;
}

header .menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;               /* thicker underline */
    background: currentColor;  /* matches text color */
    border-radius: 2px;        /* rounded ends */
    transform: scaleX(0);      /* hidden by default */
    transform-origin: right;   /* animate from right → left */
    transition: transform 0.3s ease;
}

header .menu a:hover::after {
    transform: scaleX(1); /* show underline on hover */
    transform-origin: left; /* animate from left → right */
}

header .contact {
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: filter 0.6s ease;
    padding: 12px 24px;
    border-radius: 32px;
    font-size: 1.3rem;
    font-weight: 500;
}

header .contact:hover {
    filter: brightness(1.2); /* gently brightens on hover */
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 8%;
    width: 100%;
    min-height: 70vh;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.hero-text {
    flex: 1; /* take available space */
    max-width: 55%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 2rem;
    color: #333;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.hero-text h1 {
    font-size: 2.75rem;  /* bigger headline */
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.25rem;  /* bump up paragraph */
    line-height: 1.7;
}

.cta {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: #667eea;
    color: white;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.3s ease;
}
.cta:hover {
    background: #5a6fd6;
}

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

.hero-photos img {
    width: 200px;
    height: 266px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    transform: rotate(-2deg);
}

.hero-photos img:nth-child(2) {
    transform: rotate(2deg);
}

.education {
    padding: 4rem 8%;
    background: #f9f9fb;
}

.education h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}

.edu-cards {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem; /* space so shadow doesn't clip */
    scroll-snap-type: x mandatory; /* snap-to-card feel */
}

.edu-cards::-webkit-scrollbar {
    height: 8px;
}

.edu-cards::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.edu-cards::-webkit-scrollbar-track {
    background: transparent;
}

.edu-card {
    flex: 1 1 300px;
    max-width: 360px;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.edu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.edu-logo {
    max-width: 80px;
    margin-bottom: 1rem;
}

.edu-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.institution {
    font-weight: 500;
    color: #555;
}

.dates {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 1rem;
}

.edu-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.edu-tags .tag {
    background: #667eea;
    color: white;
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.experience {
    padding: 0 8% 4rem;
    background: #f9f9fb;
}

.experience h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}

.experience-cards {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem; /* space so shadow doesn't clip */
    scroll-snap-type: x mandatory; /* snap-to-card feel */
}

.experience-cards::-webkit-scrollbar {
    height: 8px;
}

.experience-cards::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.experience-cards::-webkit-scrollbar-track {
    background: transparent;
}

.experience-card {
    flex: 1 1 300px;
    max-width: 360px;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.experience-logo {
    max-width: 80px;
    margin-bottom: 1rem;
}

.experience-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #222;
}


