/* ==========================================================================
   ALFIYA — PERSONAL PORTFOLIO STYLESHEET
   Technology: Pure Vanilla CSS (No Frameworks)
   Design Vibe: Editorial, Minimalist, Elegant, Calm, Sophisticated
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. COLOR PALETTE & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Primary Theme Colors (As Requested) */
  --color-cream: #F3EEEA;       /* Warm Cream — Main background */
  --color-mauve: #A99B9B;       /* Mauve/Taupe — Accent & muted borders */
  --color-dusty: #D8D0D0;       /* Dusty Grey — Subtle lines & borders */
  --color-charcoal: #292526;    /* Deep Charcoal — Primary headlines & text */
  --color-dark-mauve: #514547; /* Dark Mauve/Brown — Subtitles & body text */

  /* Derived Surface & UI Colors */
  --color-surface-white: #FAF7F5; /* Slightly lighter cream for cards */
  --color-surface-hover: #EFE8E3; /* Hover tint for cards */
  --color-charcoal-hover: #403B3C;
  
  /* Typography Families */
  --font-editorial: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing & Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --border-subtle: 1px solid var(--color-dusty);
  --border-mauve: 1px solid var(--color-mauve);

  /* Container Width */
  --max-width: 1140px;
}

/* --------------------------------------------------------------------------
   2. GLOBAL CSS RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-cream);
  color: var(--color-charcoal);
}

body {
  font-family: var(--font-sans);
  line-height: 1.65;
  background-color: var(--color-cream);
  color: var(--color-dark-mauve);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* Prevents horizontal scroll on small devices */
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-editorial);
  color: var(--color-charcoal);
  font-weight: 600;
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Accessible Focus States */
:focus-visible {
  outline: 2px solid var(--color-dark-mauve);
  outline-offset: 4px;
}

/* --------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 5rem 0;
}

/* Editorial Section Header */
.section-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.section-number {
  font-family: var(--font-editorial);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-mauve);
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  position: relative;
}

.section-line {
  flex: 1;
  height: 1px;
  background-color: var(--color-dusty);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--color-dark-mauve);
  max-width: 650px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* Decorative Divider */
.editorial-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  margin: 1rem auto;
}

.divider-line {
  flex: 1;
  height: 1px;
  background-color: var(--color-dusty);
}

.divider-symbol {
  color: var(--color-mauve);
  font-size: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--color-charcoal);
  color: var(--color-cream);
  border: 1px solid var(--color-charcoal);
}

.btn-primary:hover {
  background-color: var(--color-dark-mauve);
  border-color: var(--color-dark-mauve);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-charcoal);
  border: 1px solid var(--color-charcoal);
}

.btn-secondary:hover {
  background-color: var(--color-charcoal);
  color: var(--color-cream);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. NAVIGATION BAR
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(243, 238, 234, 0.92); /* Cream with subtle blur */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(216, 208, 208, 0.6);
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text {
  font-family: var(--font-editorial);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-charcoal);
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--color-mauve);
  margin-top: 2px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-dark-mauve);
  letter-spacing: 0.03em;
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--color-charcoal);
  transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-charcoal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Hamburger Button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  z-index: 1001;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-charcoal);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* --------------------------------------------------------------------------
   5. HOME / HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 4rem 0 5rem 0;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 80px);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.editorial-tag {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-mauve);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--color-charcoal);
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-dark-mauve);
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}

.hero-quote {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--color-charcoal);
  border-left: 2px solid var(--color-mauve);
  padding-left: 1.25rem;
  margin-bottom: 1.75rem;
  line-height: 1.4;
}

.hero-intro-text {
  font-size: 1.05rem;
  color: var(--color-dark-mauve);
  max-width: 480px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Editorial Frame for Profile Photo */
.hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  background-color: var(--color-surface-white);
  padding: 14px;
  border: var(--border-subtle);
  box-shadow: 0 10px 30px rgba(41, 37, 38, 0.04);
  transition: var(--transition-smooth);
}

.photo-frame:hover {
  transform: translateY(-4px);
  border-color: var(--color-mauve);
}

.profile-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  border-radius: 2px;
  filter: contrast(1.02) brightness(0.99);
}

.photo-caption {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--color-dusty);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.caption-title {
  font-family: var(--font-editorial);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-charcoal);
}

.caption-desc {
  font-size: 0.75rem;
  color: var(--color-mauve);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   6. ABOUT ME SECTION
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: start;
}

.about-heading {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  line-height: 1.35;
  color: var(--color-charcoal);
}

.about-paragraph {
  font-size: 1.05rem;
  color: var(--color-dark-mauve);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.about-highlights-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--color-charcoal);
}

.highlight-icon {
  color: var(--color-mauve);
  font-weight: bold;
}

/* CGPA Statistic Highlight Card */
.about-stat-card {
  background-color: var(--color-surface-white);
  border: var(--border-mauve);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
}

.about-stat-card::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px solid var(--color-dusty);
  pointer-events: none;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-mauve);
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.stat-value {
  font-family: var(--font-editorial);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-charcoal);
  margin-bottom: 0.25rem;
}

.stat-unit {
  font-family: var(--font-editorial);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-dark-mauve);
  display: block;
  margin-bottom: 1.5rem;
}

.stat-desc {
  font-size: 0.9rem;
  color: var(--color-dark-mauve);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   7. WHAT I'M GOOD AT (STRENGTHS)
   -------------------------------------------------------------------------- */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.strength-card {
  background-color: var(--color-surface-white);
  border: var(--border-subtle);
  padding: 2.25rem 2rem;
  position: relative;
  transition: var(--transition-smooth);
}

.strength-card:hover {
  background-color: var(--color-surface-hover);
  border-color: var(--color-mauve);
  transform: translateY(-3px);
}

.strength-num {
  font-family: var(--font-editorial);
  font-size: 1rem;
  font-style: italic;
  color: var(--color-mauve);
  display: block;
  margin-bottom: 1rem;
}

.strength-title {
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  color: var(--color-charcoal);
  text-transform: uppercase;
}

.strength-desc {
  font-size: 0.95rem;
  color: var(--color-dark-mauve);
  line-height: 1.65;
}

.strength-card-wide {
  grid-column: span 2;
}

/* --------------------------------------------------------------------------
   8. WHAT I'VE WORKED ON (PROJECTS)
   -------------------------------------------------------------------------- */
.project-featured-card {
  background-color: var(--color-surface-white);
  border: var(--border-subtle);
  padding: 3rem;
  transition: var(--transition-smooth);
}

.project-featured-card:hover {
  border-color: var(--color-mauve);
}

.project-content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.project-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-mauve);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.badge-dot {
  font-size: 0.6rem;
}

.project-title {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
  color: var(--color-charcoal);
  line-height: 1.25;
}

.project-description {
  font-size: 1.05rem;
  color: var(--color-dark-mauve);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.project-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--color-dusty);
  padding-top: 1.5rem;
}

.p-highlight {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.p-h-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-mauve);
  font-weight: 600;
}

.p-h-text {
  font-size: 0.95rem;
  color: var(--color-charcoal);
}

/* Labeled Project Image Placeholder Area */
.project-image-container {
  width: 100%;
}

.project-image-placeholder {
  width: 100%;
  height: 340px;
  background-color: var(--color-cream);
  border: 2px dashed var(--color-mauve);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.project-image-placeholder:hover {
  background-color: #EFE8E3;
}

.placeholder-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

.placeholder-title {
  font-family: var(--font-editorial);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 0.35rem;
}

.placeholder-subtitle {
  font-size: 0.85rem;
  color: var(--color-mauve);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   9. CURRENTLY LEARNING SECTION
   -------------------------------------------------------------------------- */
.learning-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.learning-card {
  background-color: var(--color-surface-white);
  border: var(--border-subtle);
  padding: 1.85rem 1.5rem;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.learning-card:hover {
  background-color: var(--color-surface-hover);
  border-color: var(--color-mauve);
  transform: translateY(-3px);
}

.learning-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.learning-name {
  font-family: var(--font-editorial);
  font-size: 1.4rem;
  color: var(--color-charcoal);
  margin-bottom: 0.25rem;
}

.learning-status {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-mauve);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.learning-desc {
  font-size: 0.88rem;
  color: var(--color-dark-mauve);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   10. EDUCATION SECTION
   -------------------------------------------------------------------------- */
.education-card {
  background-color: var(--color-surface-white);
  border: var(--border-subtle);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.edu-badge {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-mauve);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.edu-degree {
  font-size: 2.2rem;
  color: var(--color-charcoal);
  margin-bottom: 0.5rem;
}

.edu-year {
  display: block;
  font-size: 1.1rem;
  color: var(--color-dark-mauve);
  margin-bottom: 1.75rem;
}

.edu-college {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  border-top: 1px solid var(--color-dusty);
  padding-top: 1.25rem;
}

.college-label {
  color: var(--color-mauve);
  font-weight: 500;
}

.college-name {
  color: var(--color-charcoal);
  font-weight: 600;
  background-color: var(--color-cream);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  border: 1px dashed var(--color-mauve);
}

.edu-cgpa-box {
  background-color: var(--color-cream);
  border: var(--border-mauve);
  padding: 2.25rem 2rem;
  text-align: center;
  border-radius: 4px;
}

.cgpa-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-mauve);
  font-weight: 600;
  display: block;
  margin-bottom: 0.75rem;
}

.cgpa-number {
  font-family: var(--font-editorial);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-charcoal);
  line-height: 1;
}

.cgpa-max {
  font-size: 1.3rem;
  color: var(--color-mauve);
  font-weight: 400;
}

.cgpa-subtitle {
  font-size: 0.82rem;
  color: var(--color-dark-mauve);
  display: block;
  margin-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   11. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-main-heading {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  color: var(--color-charcoal);
  line-height: 1.15;
}

.contact-lead-text {
  font-size: 1.05rem;
  color: var(--color-dark-mauve);
  line-height: 1.7;
}

.contact-links-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  background-color: var(--color-surface-white);
  border: var(--border-subtle);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.contact-card:hover {
  background-color: var(--color-surface-hover);
  border-color: var(--color-mauve);
  transform: translateX(4px);
}

.contact-card-icon {
  font-size: 1.6rem;
  color: var(--color-charcoal);
}

.contact-card-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contact-type {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-mauve);
  font-weight: 600;
}

.contact-value {
  font-size: 1rem;
  color: var(--color-charcoal);
  font-weight: 500;
}

.contact-arrow {
  font-size: 1.25rem;
  color: var(--color-mauve);
  transition: var(--transition-smooth);
}

.contact-card:hover .contact-arrow {
  color: var(--color-charcoal);
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--color-dusty);
  padding: 3rem 0;
  background-color: var(--color-cream);
  margin-top: 3rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  font-family: var(--font-editorial);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-charcoal);
}

.footer-role {
  font-size: 0.8rem;
  color: var(--color-mauve);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.85rem;
  color: var(--color-dark-mauve);
}

.back-to-top {
  font-weight: 600;
  color: var(--color-charcoal);
  border-bottom: 1px solid var(--color-charcoal);
  padding-bottom: 2px;
}

.back-to-top:hover {
  color: var(--color-dark-mauve);
  border-color: var(--color-dark-mauve);
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */

/* Tablet & Smaller Laptops (<= 992px) */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-quote {
    border-left: none;
    border-top: 2px solid var(--color-mauve);
    padding-left: 0;
    padding-top: 1rem;
    margin: 0 auto 1.75rem auto;
    max-width: 500px;
  }

  .hero-intro-text {
    margin-left: auto;
    margin-right: auto;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .project-content-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .section-padding {
    padding: 3.5rem 0;
  }

  /* Navigation Bar Mobile Layout */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--color-cream);
    border-bottom: 1px solid var(--color-dusty);
    padding: 2rem 0;
    clip-path: circle(0% at 100% 0);
    transition: clip-path 0.4s ease-in-out;
  }

  .nav-menu.active {
    clip-path: circle(140% at 100% 0);
  }

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  /* Hamburger Animation when Active */
  .hamburger.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

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

  .hamburger.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Strengths Mobile Grid */
  .strengths-grid {
    grid-template-columns: 1fr;
  }

  .strength-card-wide {
    grid-column: span 1;
  }

  /* Project Card Mobile Padding */
  .project-featured-card {
    padding: 1.75rem;
  }

  .project-title {
    font-size: 1.75rem;
  }

  .education-card {
    padding: 2rem 1.5rem;
  }

  .contact-main-heading {
    font-size: 2.25rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-right {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Extra Small Screens (<= 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 3.2rem;
  }

  .learning-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .photo-frame {
    padding: 10px;
  }

  .profile-photo {
    height: 380px;
  }

  .stat-value {
    font-size: 3.5rem;
  }
}
