*{
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}


:root {
      --color-dark: #1A2F2A;
      --color-accent: #4A7C59;
      --color-accent-hover: #3d6a4b;
      --color-light-bg: #F5F0EB;
      --color-light-text: #E8E0D5;
      --color-dark-text: #2C2C2C;
      --color-soft-text: #DDE5D9;
  }
  

html {
    scroll-behavior: smooth;
}

body{
    background: var(--color-light-bg);
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    padding: 8px 16px;
    background-color: var(--color-accent);
    color: var(--color-light-text);
    text-decoration: none;
    border-radius: 0 0 5px 5px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Focus styles */
a:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* ============================================
   SHARED BUTTON STYLES
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* Primary button — accent green fill */
.btn-primary {
    background-color: var(--color-accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(74, 124, 89, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    box-shadow: 0 8px 22px rgba(74, 124, 89, 0.4);
}

/* Secondary button — outlined / ghost */
.btn-secondary {
    background-color: transparent;
    color: var(--color-light-text);
    border: 2px solid var(--color-light-text);
}

.btn-secondary:hover {
    background-color: var(--color-light-text);
    color: var(--color-dark);
    box-shadow: 0 4px 14px rgba(232, 224, 213, 0.2);
}

/* ============================================
   HEADER & NAV
   ============================================ */

.logo {
    margin-right: auto;
}

.logo img{
    height: 45px;
    width: auto;
    object-fit: contain;
}

ul{
    list-style: none;
    display: flex;
}

nav ul li a {
    text-decoration: none;
    color: var(--color-light-text);
    padding: 8px 16px;
    font-weight: 500;
    position: relative;
    transition: color 0.2s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.22s ease;
}

header{
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 18px 100px;
    background-color: var(--color-dark);
    border-bottom: 1px solid rgba(74, 124, 89, 0.25);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Nav CTA pill — desktop only */
.nav-cta {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--color-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    margin-left: 12px;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(74, 124, 89, 0.35);
}

/* Hamburger button — hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(232, 224, 213, 0.05);
    border: 1px solid rgba(232, 224, 213, 0.15);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hamburger:hover {
    background: rgba(232, 224, 213, 0.1);
    border-color: rgba(232, 224, 213, 0.3);
}

.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--color-light-text);
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
}

.hamburger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.hamburger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

nav ul li a:hover {
    color: #fff;
}

nav ul li a:hover::after {
    transform: scaleX(1);
}

/* ============================================
   HERO
   ============================================ */

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

#hero{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-dark);
    background-image:
        radial-gradient(ellipse at 72% 45%, rgba(74, 124, 89, 0.14) 0%, transparent 55%),
        radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: auto, 28px 28px;
    color: var(--color-light-text);
    padding: 80px 100px;
    position: relative;
}

.hero-content{
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-greeting {
    font-size: 18px;
    color: var(--color-soft-text);
    font-weight: 400;
    margin-bottom: 4px;
    opacity: 0.8;
}

.hero-content h1{
    font-size: 58px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--color-light-text);
    line-height: 1.1;
}

.hero-content h1 .wave {
    display: inline-block;
    animation: wave 2.5s ease-in-out infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
}

.hero-subtitle {
    font-size: 20px;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content p{
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--color-soft-text);
    max-width: 500px;
    line-height: 1.6;
}

.hero-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(74, 124, 89, 0.1);
    border: 1px solid rgba(74, 124, 89, 0.3);
    color: var(--color-accent);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}


.hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}


/* Hero right side: profile pic + info stacked below */
.hero-image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 44px;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

/* Role chip — neutral informational pill */
.profile-role-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(232, 224, 213, 0.07);
    border: 1px solid rgba(232, 224, 213, 0.14);
    color: var(--color-soft-text);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
}

.profile-role-chip i {
    font-size: 11px;
    color: var(--color-accent);
}

/* Social links — glass pill container */
.social-links {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(232, 224, 213, 0.06);
    border: 1px solid rgba(232, 224, 213, 0.12);
    border-radius: 999px;
    padding: 5px 8px;
    backdrop-filter: blur(6px);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    background: transparent;
    border: none;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.social-links a i {
    font-size: 16px;
    color: rgba(232, 224, 213, 0.7);
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
    background-color: var(--color-accent);
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(74, 124, 89, 0.45);
}

.social-links a:hover i {
    color: #fff;
    transform: scale(1.05);
}

/* Staggered entrance for each link */
.social-links a:nth-child(1) { animation: fadeInUp 0.4s ease 0.4s forwards; opacity: 0; }
.social-links a:nth-child(2) { animation: fadeInUp 0.4s ease 0.55s forwards; opacity: 0; }
.social-links a:nth-child(3) { animation: fadeInUp 0.4s ease 0.7s forwards; opacity: 0; }

.profile-pic-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-pic-wrapper::after {
    content: '';
    position: absolute;
    inset: -36px;
    border-radius: 50%;
    border: 2px dashed rgba(74, 124, 89, 0.55);
    pointer-events: none;
    animation: spinRing 9s linear infinite;
}

@keyframes spinRing {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.profile-pic{
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 4px solid var(--color-accent);
    overflow: hidden;
    box-shadow: 0 0 0 8px rgba(74, 124, 89, 0.15);
    transition: box-shadow 0.3s ease;
}

.profile-pic:hover {
    box-shadow: 0 0 0 8px rgba(74, 124, 89, 0.25), 0 8px 30px rgba(0, 0, 0, 0.2);
}

.profile-pic img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Scroll cue — animated chevron at bottom-center of hero */
.scroll-cue {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-soft-text);
    opacity: 0.35;
    animation: scrollBounce 2.2s ease-in-out infinite;
    pointer-events: none;
}

.scroll-cue i {
    font-size: 18px;
}

@keyframes scrollBounce {
    0%, 100% { opacity: 0.35; transform: translateX(-50%) translateY(0); }
    50%       { opacity: 0.6;  transform: translateX(-50%) translateY(5px); }
}

/* ============================================
   ABOUT
   ============================================ */

#about{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 80px 100px;
}

#about h2{
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--color-dark);
}

.about-content{
    padding: 20px;
    display: flex;
    gap: 30px;
    align-items: stretch;
    background-color: var(--color-light-bg);
}

.about-card{
    color: var(--color-dark);
    background-color: var(--color-light-text);
    padding: 24px;
    border-radius: 12px;
    flex: 1;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.about-card:hover{
    transform: translateY(-8px);
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.about-icon{
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--color-accent);
}

.about-img{
    width: 100%;
    height: 200px;
    border: 1px solid var(--color-dark);
    margin-bottom: 15px;
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.about-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-card:hover .about-img img {
    transform: scale(1.05);
}

/* ============================================
   SKILLS
   ============================================ */

#skills {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 100px;
    background-color: var(--color-soft-text);
}

#skills h2 {
    font-size: 36px;
    margin-bottom: 8px;
    color: var(--color-dark);
}

#skills .section-subtitle {
    color: var(--color-dark-text);
    font-size: 16px;
    margin-bottom: 40px;
    opacity: 0.7;
}

.skills-grid {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 1100px;
}

.skill-category {
    flex: 1;
    background-color: var(--color-light-bg);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.skill-category-header i {
    font-size: 22px;
    color: var(--color-accent);
}

.skill-category-header h3 {
    font-size: 20px;
    color: var(--color-dark-text);
}

.skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background-color: var(--color-soft-text);
    color: var(--color-dark-text);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.skill-chip i {
    font-size: 14px;
}

.skill-chip:hover {
    background-color: var(--color-accent);
    color: #fff;
}
/* ============================================
   PROJECTS
   ============================================ */

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseBadge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

#projects {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 100px;
    background-color: var(--color-light-bg);
}

#projects h2 {
    font-size: 36px;
    margin-bottom: 8px;
    color: var(--color-dark);
}

#projects .section-subtitle {
    color: var(--color-dark-text);
    font-size: 16px;
    margin-bottom: 40px;
    opacity: 0.7;
}

.projects-container {
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.project-card {
    display: grid;
    grid-template-columns: minmax(260px, 38%) 1fr;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: riseIn 0.6s ease forwards;
}

.project-card:nth-child(1) { animation-delay: 0.05s; }
.project-card:nth-child(2) { animation-delay: 0.15s; }
.project-card:nth-child(3) { animation-delay: 0.25s; }

.project-card:nth-child(even) .project-image {
    order: 2;
}

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

.project-image {
    position: relative;
    min-height: 100%;
}

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

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

.project-info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-number {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 800;
}

.project-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.project-info h3 {
    font-size: clamp(1.4rem, 2vw, 1.7rem);
    color: var(--color-dark);
}

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

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 5px 10px;
    text-transform: uppercase;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.status-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.status-completed {
    color: var(--color-accent);
    border: 1px solid rgba(74, 124, 89, 0.3);
    background: rgba(74, 124, 89, 0.1);
}

.status-completed::before {
    background: var(--color-accent);
}

.status-progress {
    color: #b8860b;
    border: 1px solid rgba(184, 134, 11, 0.3);
    background: rgba(184, 134, 11, 0.08);
}

.status-progress::before {
    background: #b8860b;
    animation: pulseBadge 1.8s infinite;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background: var(--color-soft-text);
    color: var(--color-dark);
    padding: 5px 12px;
    font-size: 0.82rem;
    font-weight: 600;
}

.project-links {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    border-radius: 8px;
    background-color: var(--color-dark);
    color: var(--color-light-text);
    padding: 10px 16px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.project-link:hover {
    background-color: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
}

.project-card-compact {
    grid-template-columns: 1fr;
    border: 1px solid rgba(74, 124, 89, 0.25);
    background:
        radial-gradient(circle at top right, rgba(74, 124, 89, 0.14), transparent 48%),
        linear-gradient(160deg, #ffffff, #f5f0eb);
}

.project-card-compact .project-body {
    padding: 22px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
}

.project-card-compact .project-label {
    align-self: flex-start;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    border: 1px solid rgba(74, 124, 89, 0.34);
    border-radius: 999px;
    padding: 5px 9px;
}

.project-card-compact h3 {
    font-size: clamp(1.28rem, 1.8vw, 1.6rem);
    line-height: 1.3;
    color: var(--color-dark);
}

.project-card-compact p {
    color: var(--color-dark-text);
    font-size: 0.92rem;
    line-height: 1.5;
    max-width: none;
}

.project-card-compact .project-links {
    margin-top: 4px;
}

.project-card-compact .project-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border-radius: 10px;
    background-color: var(--color-accent);
    color: #fff;
    padding: 10px 15px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 6px 14px rgba(74, 124, 89, 0.26);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.project-card-compact .project-links a:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(74, 124, 89, 0.35);
}

/* ============================================
   QUOTES
   ============================================ */

.quotes{
    background-color: var(--color-soft-text);
    color: var(--color-dark);
    padding: 80px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quotes blockquote{
    font-size: 24px;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.quotes cite{
    font-style: normal;
    color: var(--color-dark);
    align-self: flex-end;
    font-weight: bold;
}

/* ============================================
   CONTACT / CTA
   ============================================ */

.cta{
    background-color: var(--color-light-bg);
    color: var(--color-light-text);
    padding: 80px 100px;
}

.cta-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-dark-text);
    color: var(--color-light-text);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.cta-content{
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--color-light-text);
}

.cta-content h3{
    font-size: 24px;
    font-weight: bold;
}

.cta-content p{
    font-size: 16px;
    color: var(--color-soft-text);
}

.contact-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-links li a {
    text-decoration: none;
    color: var(--color-soft-text);
    font-size: 14px;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.contact-links li a i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

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

/* ============================================
   FOOTER
   ============================================ */

footer{
    background-color: var(--color-dark);
    color: var(--color-light-text);
    text-align: center;
    padding: 40px 100px 30px;
    font-size: 14px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-decoration: none;
    border: 1.5px solid rgba(232, 224, 213, 0.25);
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.footer-social a i {
    font-size: 18px;
    color: var(--color-light-text);
    transition: color 0.2s ease;
}

.footer-social a:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.footer-social a:hover i {
    color: #fff;
}

/* ============================================
   RESPONSIVE: Tablet
   ============================================ */

@media (max-width: 1024px) {
    header {
        padding: 18px 40px;
        gap: 4px;
    }

    #hero {
        padding: 60px 40px;
    }

    #about {
        padding: 60px 40px;
    }

    .about-content {
        flex-wrap: wrap;
        gap: 24px;
    }

    .about-card {
        flex: 1 1 calc(50% - 12px);
    }

    #skills {
        padding: 60px 40px;
    }

    #projects {
        padding: 60px 40px;
    }

    .quotes {
        padding: 60px 40px;
    }

    .cta {
        padding: 60px 40px;
    }

    footer {
        padding: 30px 40px;
    }
}

/* Responsive: Small tablet / large phone */
@media (max-width: 768px) {
    #hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-content {
        align-items: center;
    }

    .hero-content p {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-pills {
        justify-content: center;
    }

    .hero-image-section {
        gap: 44px;
    }

    .profile-pic {
        width: 200px;
        height: 200px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .scroll-cue {
        display: none;
    }

    .skills-grid {
        flex-direction: column;
    }

    #skills {
        padding: 50px 20px;
    }

    #projects {
        padding: 50px 20px;
    }

    .project-card {
        grid-template-columns: 1fr;
    }

    .project-card:nth-child(even) .project-image {
        order: 0;
    }

    .project-image {
        min-height: 200px;
    }

    .quotes blockquote {
        font-size: 20px;
    }

    .about-card {
        flex: 1 1 100%;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 30px;
    }

    .contact-right {
        align-items: center;
    }

    .contact-links {
        align-items: center;
    }

    header {
        flex-wrap: wrap;
        padding: 14px 20px;
        gap: 0;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    }

    nav {
        order: 3;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        border-top: 1px solid transparent;
        transition: max-height 0.32s ease, border-color 0.32s ease, padding 0.32s ease;
        padding: 0 4px;
    }

    nav.is-open {
        max-height: 320px;
        border-top-color: rgba(255, 255, 255, 0.08);
        padding: 10px 4px 14px;
    }

    nav ul {
        flex-direction: column;
        gap: 2px;
    }

    nav ul li a {
        display: block;
        padding: 12px 16px;
        font-size: 15px;
        border-radius: 8px;
    }

    nav ul li a::after {
        display: none;
    }

    nav ul li a:hover {
        background: rgba(232, 224, 213, 0.07);
        color: #fff;
    }

    #about {
        padding: 50px 20px;
    }

    .quotes {
        padding: 50px 20px;
    }

    .cta {
        padding: 50px 20px;
    }

    footer {
        padding: 30px 20px;
    }
}

/* Responsive: Phone */
@media (max-width: 480px) {

    .profile-pic {
        width: 150px;
        height: 150px;
    }

    .hero-greeting {
        display: none;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    #about h2 {
        font-size: 28px;
    }

    #skills h2 {
        font-size: 28px;
    }

    .skill-chip {
        font-size: 13px;
        padding: 6px 12px;
    }

    #projects h2 {
        font-size: 28px;
    }

    .project-info {
        padding: 20px;
    }

    .quotes blockquote {
        font-size: 18px;
    }

    .cta-content h3 {
        font-size: 20px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
