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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #354F52;
    background: linear-gradient(135deg, #CAD2C5 0%, #b8c4b4 50%, #adbba6 100%);
    min-height: 100vh;
}

a {
    color: #52796F;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #8E5572;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(132, 169, 140, 0.35);
    border-radius: 6px;
}

::selection {
    background: rgba(132, 169, 140, 0.3);
    color: #354F52;
}

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

ul, ol {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: #52796F;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    z-index: 1000;
    font-size: 0.875rem;
}

.skip-link:focus {
    top: 8px;
    color: #fff;
}

/* ─── NAV ─── */

.site-nav {
    background: rgba(242, 244, 240, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(53, 79, 82, 0.12);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(53, 79, 82, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #52796F, #84A98C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 1001;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    color: #354F52;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: block;
}

.nav-link:hover {
    color: #52796F;
    background: rgba(82, 121, 111, 0.1);
    transform: translateY(-1px);
}

.nav-link--active {
    color: #52796F;
    background: rgba(82, 121, 111, 0.12);
    font-weight: 600;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-icon {
    color: #354F52;
    font-size: 1.25rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
    color: #E09F3E;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #354F52;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ─── MAIN CONTENT ─── */

.main-content {
    margin-top: 80px;
    padding: 2rem 0;
}

/* ─── SECTION (floating card) ─── */

.section {
    background: rgba(242, 244, 240, 0.95);
    margin: 2rem 0;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(53, 79, 82, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.section h1, .section h2 {
    color: #354F52;
    margin-bottom: 1.5rem;
    padding: 0rem;
}

.section p {
    font-size: 1.1rem;
    color: #354F52;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    margin: 0;
}

.section-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ─── FEATURED SECTION (floating card) ─── */

.feature-section {
    background: transparent;
    margin: 2rem 0;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(53, 79, 82, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-section h1, .feature-section h2 {
    color: #354F52;
    margin-bottom: 1.5rem;
}

.feature-section p {
    font-size: 1.1rem;
    color: #354F52;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.feature-section-header h2 {
    font-size: 2rem;
    margin: 0;
}

.feature-section-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ─── PAGE TITLES ─── */

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 1.15rem;
    color: #879791;
    text-align: center;
    margin-bottom: 2rem;
}

.error-code {
    font-size: 5rem;
    font-weight: 800;
    color: #879791;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}

/* ─── BUTTONS ─── */

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #52796F, #486A62);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(82, 121, 111, 0.3);
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    font-family: inherit;
}

.btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #486A62, #52796F);
    box-shadow: 0 8px 25px rgba(82, 121, 111, 0.4);
    color: white;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #52796F;
    color: #52796F;
    box-shadow: 0 4px 15px rgba(82, 121, 111, 0.15);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #52796F, #486A62);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(82, 121, 111, 0.4);
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.8rem;
    border-radius: 20px;
}

/* ─── FEATURE TAGS ─── */

.feature-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(132, 169, 140, 0.1);
    border: 1px solid #84A98C;
    color: #354F52;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.feature-tag:hover {
    background: rgba(132, 169, 140, 0.25);
    transform: translateY(-1px);
}

.feature-tag--btn {
    cursor: pointer;
    font-family: inherit;
}

.feature-tag--btn.feature-tag--active {
    background: #52796F;
    color: #fff;
    border-color: #52796F;
}

/* ─── HERO ─── */

.hero-section {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(242, 244, 240, 0.95);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    padding: 3rem 1.5rem;
    box-shadow: 0 10px 30px rgba(53, 79, 82, 0.1);
    margin-bottom: 2rem;
    line-height: 2; /* Increases size of buttons on home page */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(82, 121, 111, 0.06) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(142, 85, 114, 0.05) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite reverse;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

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

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #8E5572;
    margin-bottom: 1rem;
    padding: 4px 14px;
    background: rgba(142, 85, 114, 0.08);
    border: 1px solid rgba(142, 85, 114, 0.15);
    border-radius: 100px;
}

.hero-section h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #52796F 0%, #84A98C 50%, #E09F3E 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
    animation: gradientShift 4s ease-in-out infinite;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-title {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #879791;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── SERVICES ─── */

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

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(53, 79, 82, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(53, 79, 82, 0.15);
}

.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #354F52, #52796F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(53, 79, 82, 0.2);
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    color: #354F52;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.service-card p {
    color: #879791;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.service-card .card-features {
    justify-content: center;
}

/* ─── PROJECT GRID ─── */

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

/* ─── PROJECT CARD ─── */

.project-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(53, 79, 82, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(53, 79, 82, 0.15);
}

.project-card h3 {
    color: #354F52;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.project-card h3 a {
    color: #354F52;
}

.project-card h3 a:hover {
    color: #52796F;
}

.card-subtitle {
    font-size: 0.95rem;
    color: #879791;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    justify-content: center;
}

.card-timeframe {
    font-size: 0.8rem;
    color: #879791;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.card-highlights {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
    color: #354F52;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-highlights li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 4px;
}

.card-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #84A98C;
}

.card-actions {
    margin-top: auto;
    padding-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.project-type {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    background: rgba(224, 159, 62, 0.1);
    border: 1px solid #E09F3E;
    color: #354F52;
    border-radius: 15px;
    font-size: 0.78rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.project-type--featured {
    background: rgba(224, 159, 62, 0.15);
}

/* ─── FEATURED PROJECT GRID ─── */

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 960px;
    margin: 0 auto;
    background: transparent;
}

/* ─── FEATURED PROJECT CARD ─── */
.featured-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(53, 79, 82, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(53, 79, 82, 0.15);
}

.featured-card h3 {
    color: #354F52;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.featured-card h3 a {
    color: #354F52;
}

.featured-card h3 a:hover {
    color: #52796F;
}
/* ─── FILTER BAR ─── */

.filter-bar {
    margin-bottom: 2rem;
}

.filter-search {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    border: 1px solid rgba(53, 79, 82, 0.18);
    border-radius: 12px;
    background: white;
    color: #354F52;
    margin-bottom: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.filter-search:focus {
    border-color: #52796F;
    box-shadow: 0 0 0 3px rgba(132, 169, 140, 0.35);
}

.filter-search::placeholder {
    color: #879791;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ─── PROJECT DETAIL ─── */

.detail-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(53, 79, 82, 0.1);
    position: relative;
    text-align: center;
}

.detail-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(135deg, #ffffff, #E09F3E);
    border-radius: 2px;
}

.detail-header h1 {
    font-size: 2.2rem;
    letter-spacing: -0.02em;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.content-block {
    margin-bottom: 2rem;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #E09F3E;
    display: inline-block;
}

.content-block p {
    line-height: 1.8;
}

.sidebar-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(53, 79, 82, 0.08);
}

.sidebar-card__heading {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #879791;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(53, 79, 82, 0.1);
}

.sidebar-row {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.sidebar-row:last-child {
    margin-bottom: 0;
}

.sidebar-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #879791;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.sidebar-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.detail-back {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(53, 79, 82, 0.1);
}

@media (min-width: 900px) {
    .detail-layout {
        grid-template-columns: 1fr 280px;
        gap: 3rem;
    }

    .detail-header h1 {
        font-size: 2.5rem;
    }

    .sidebar-card {
        position: sticky;
        top: 100px;
    }
}
/* ─── ARTIFACTS ─── */
.artifacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
    background-color: transparent;
}

.artifact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}
.artifact-image {
    background: #e8ece5;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}
.artifact-image img {
    max-width: 100%;
    max-height: 240px;
    border-radius: 6px;
    object-fit: contain;
}
.artifact-info {
    padding: 1.25rem;
}
.artifact-type {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(142, 85, 114, 0.1);
    border: 1px solid rgba(142, 85, 114, 0.2);
    color: #8E5572;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}
.artifact-info h4 {
    font-size: 1rem;
    color: #354F52;
    margin-bottom: 0.4rem;
}
.artifact-info p {
    font-size: 0.88rem;
    color: #879791;
    line-height: 1.5;
    margin: 0;
}

/* PDF viewer container */
.artifact-card__body {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(53, 79, 82, 0.12);
}

.artifact-card__body--link {
  border: none;
  display: flex;
  justify-content: center;
  padding: 0.5rem 0;
}

/* Give it a page-ish height on desktop */
.pdf-frame {
  display: block;
  width: 100%;
  height: 80vh;          /* feels like a document viewer */
  min-height: 520px;     /* approximate page feel */
  border: 0;
}

/* Give it a page-ish height on desktop */
.embed-frame {
  display: block;
  width: 100%;
  height: 50vh;          /* feels like a document viewer */
  min-height: 520px;     /* approximate page feel */
  border: 0;
}

.webpage-frame {
  display: block;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  border: 0;
}

/* Mobile: shorter viewer so it doesn’t dominate the screen */
@media (max-width: 768px) {
  .pdf-embed {
    height: 60vh;
    min-height: 420px;
  }
}

@media (max-width: 480px) {
  .pdf-embed {
    height: 55vh;
    min-height: 360px;
  }
}
/* ─── PUBLICATIONS ─── */

.pub-list {
    display: flex;
    flex-direction: column;
}

.pub-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    margin: 0 -0.75rem;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    justify-content: space-between;
}

.pub-item:hover {
    background: rgba(255, 255, 255, 0.6);
}

.pub-item + .pub-item {
    border-top: 1px solid rgba(53, 79, 82, 0.08);
}

.pub-item__content {
    flex: 1;
    min-width: 0;
}

.pub-item__title {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    display: block;
}

.pub-item__meta {
    font-size: 0.9rem;
    color: #879791;
    display: block;
    margin-top: 2px;
}

.pub-item__link {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.pub-item__link:hover {
    background: rgba(132, 169, 140, 0.15);
}

.pub-group {
    margin-bottom: 2.5rem;
}

.pub-group:last-child {
    margin-bottom: 0;
}

.pub-group__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #9DABA2;
}

/* ─── ABOUT ─── */

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

.about-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(53, 79, 82, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(53, 79, 82, 0.15);
}

.about-card h3 {
    color: #52796F;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.about-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #354F52;
    margin: 0;
}

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ─── FOOTER ─── */

.site-footer {
    padding: 2rem 0;
    margin-top: 1rem;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer__text {
    font-size: 0.9rem;
    color: #879791;
}

.footer__links {
    display: flex;
    gap: 1.5rem;
}

.footer__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #52796F;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer__link:hover {
    background: rgba(242, 244, 240, 0.6);
    color: #8E5572;
}

@media (min-width: 640px) {
    .footer__inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ─── RESPONSIVE ─── */

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
        flex-wrap: wrap;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        flex: 0 0 100%;
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        background: rgba(242, 244, 240, 0.98);
        width: 100%;
        text-align: center;
        transition: max-height 0.3s ease, padding 0.3s ease;
        box-shadow: 0 10px 27px rgba(53, 79, 82, 0.08);
        padding: 0;
        gap: 0;
    }

    .nav-menu.active {
        max-height: 400px;
        padding: 1rem 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 1rem;
        width: 100%;
    }

    .social-icons {
        justify-content: center;
        padding: 1rem 0;
    }
    .section {
        padding: 2rem 1.5rem;
        margin: 1.5rem 0;
    }

    .main-content {
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }

    .page-title {
        font-size: 2rem;
    }

    .hero-section {
        border-radius: 15px;
        padding: 2rem 1rem;
        min-height: 50vh;
    }
}

/* ─── ABOUT ME ─── */
    .about-hero {
        text-align: center;
        padding: 3rem 2rem 2rem;
    }

    .about-hero h1 {
        font-size: clamp(2.2rem, 5vw, 3.2rem);
        font-weight: 800;
        background: linear-gradient(135deg, #52796F 0%, #84A98C 50%, #E09F3E 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        background-size: 200% 200%;
        animation: gradientShift 6s ease-in-out infinite;
        line-height: 1.2;
    }

    .about-intro-grid {
        display: grid;
        grid-template-columns: 260px 1fr;
        gap: 2.5rem;
        align-items: start;
        margin-bottom: 2rem;
    }

    .profile-image-wrapper {
        width: 230px;
        height: auto;
        border-radius: 14px;
        box-sizing:border-box;
        overflow: hidden;
        background: linear-gradient(135deg, #52796F, #E09F3E);
        padding: 4px;
    }

    .profile-image-wrapper img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 11px;
    }

    .about-intro-text .lead-text {
        font-size: 1.1rem;
        font-weight: 600;
        color: #354F52;
        line-height: 1.7;
        margin-bottom: 1rem;
    }

    .about-intro-text p {
        color: #52796F;
        line-height: 1.7;
        margin-bottom: 1rem;
    }

    .contact-row {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
        margin-bottom: 2rem;
    }

    .contact-chip {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1.2rem;
        background: rgba(82,121,111,0.06);
        border: 1px solid rgba(82,121,111,0.12);
        border-radius: 100px;
        font-size: 0.9rem;
        color: #354F52;
    }

    .contact-chip i {
        color: #8E5572;
        font-size: 0.85rem;
    }

    .skills-heading,
    .journey-heading {
        font-size: 1.5rem;
        font-weight: 700;
        color: #354F52;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }

    .skills-heading i,
    .journey-heading i {
        color: #354F52;
    }

    .skills-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .skill-card {
        background: rgba(82,121,111,0.04);
        border: 1px solid rgba(82,121,111,0.1);
        border-radius: 14px;
        padding: 1.5rem;
    }

    .skill-card-header {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .skill-card-header i {
        color: #486A62;
        font-size: 1rem;
    }

    .skill-card-header h3 {
        font-size: 1rem;
        font-weight: 700;
        color: #354F52;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .skill-item {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0.4rem 0;
        font-size: 0.92rem;
        color: #52796F;
    }

    .skill-item i {
        color: #84A98C;
        font-size: 0.8rem;
        width: 16px;
        text-align: center;
    }

    .journey-grid {
        display: grid;
        gap: 1.5rem;
    }

    .journey-card {
        display: flex;
        gap: 1.5rem;
        align-items: flex-start;
        background: rgba(82,121,111,0.04);
        border: 1px solid rgba(82,121,111,0.1);
        border-radius: 14px;
        padding: 1.5rem;
    }

    .journey-icon {
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: linear-gradient(135deg, #52796F, #84A98C);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 1.1rem;
    }

    .journey-card h3 {
        font-size: 1.05rem;
        font-weight: 700;
        color: #354F52;
        margin-bottom: 0.5rem;
    }

    .journey-card p {
        color: #52796F;
        line-height: 1.7;
        font-size: 0.95rem;
    }

    @media (max-width: 900px) {
        .skills-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 640px) {
        .about-intro-grid {
            grid-template-columns: 1fr;
            justify-items: center;
            text-align: center;
        }

        .about-intro-text .lead-text,
        .about-intro-text p {
            text-align: left;
        }

        .journey-card {
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
    }
