:root {
    /* Colors - from actual website */
    --primary-color: #d8aa6d;
    --secondary-color: #c99858;
    --accent-color: #1a1a1a;
    --text-color: #1a1a1a;
    --text-light: #4a4a4a;
    --bg-color: #ffffff;
    --bg-light: #F6F5F4;
    --bg-tan: #d8aa6d;
    --border-color: #e5e7eb;
    
    /* Typography - matching website */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-base: all 0.3s ease;
    
    /* Container Width */
    --container-max-width: 1320px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 400;
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

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

a:hover {
    color: var(--primary-color);
}

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

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

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

@media (min-width: 1024px) {
    .section-padding {
        padding: 5rem 0;
    }
}

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

.bg-tan {
    background-color: var(--bg-tan);
}

/* Header & Navigation */
.site-header {
    background-color: #ffffff;
    color: var(--text-color);
    position: sticky;
    top: 0;
    z-index: 2000;
    transition: all 0.3s ease;
    padding: 1.5rem 3rem;
    width: 100%;
}

.navbar {
    padding: 0;
}

.nav-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 100%;
    position: relative;
}

@media (min-width: 1024px) {
    .nav-wrapper {
        gap: 3rem;
    }
}

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

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

@media (max-width: 1023px) {
    .logo img {
        height: 47px;
    }
}

.nav-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.nav-menu {
    display: none;
    list-style: none;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-menu li {
    border-bottom: 2px solid transparent;
    transition: var(--transition-base);
    position: relative;
}

.nav-menu li.active {
    border-bottom-color: var(--text-color);
}

.nav-menu a {
    display: block;
    padding: 0.375rem 0;
    font-weight: 500;
    white-space: nowrap;
    color: var(--text-color);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu Styles */
.nav-menu li.has-dropdown {
    position: relative;
}

.nav-menu li.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease;
}

.nav-menu li.has-dropdown:hover > a {
    background-color: var(--bg-light);
}

.nav-menu li.has-dropdown > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.25rem;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.3s ease;
}

.nav-menu li.has-dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 0.75rem 0;
    margin-top: 0.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 1000;
}

.nav-menu li.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: none;
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.875rem 1.5rem;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* Navigation Right Side */
.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
}

/* Social Links in Header */
.nav-social {
    display: none;
    align-items: center;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 1024px) {
    .nav-social {
        display: flex;
    }
}

.nav-social li {
    list-style: none;
}

.nav-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    border-radius: 50%;
    color: #ffffff;
    transition: var(--transition-base);
    font-size: 1rem;
}

.nav-social a:hover {
    background-color: var(--primary-color);
    transform: scale(1.05);
}

/* Header CTA Button */
.nav-cta {
    display: none;
}

@media (min-width: 1024px) {
    .nav-cta {
        display: block;
    }
}

/* Mobile Navigation - Hidden on Desktop */
.mobile-nav {
    display: none;
}

/* Mobile Menu Toggle */
.hamburger {
    position: relative;
    width: 28px;
    height: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: inline-block;
    line-height: 0;
    margin-left: auto;
}

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
}

.hamburger .bar,
.hamburger .bar::before,
.hamburger .bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: var(--transition-base);
}

.hamburger .bar {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger .bar::before {
  top: -6px;
}

.hamburger .bar::after {
  top: 6px;
}

.hamburger.active .bar {
  background: transparent;
}

.hamburger.active .bar::before {
  top: 0;
  transform: rotate(45deg);
}

.hamburger.active .bar::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 3rem 0 5rem;
    background-color: var(--bg-tan);
}

@media (min-width: 1024px) {
    .hero-section {
        padding: 3.5rem 0 6rem;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--bg-tan);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/pages/home/hero-marae.jpg');
    background-size: cover;
    background-position: 100% 60%;
    opacity: 0.3;
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 10;
}

.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content-wrapper {
        flex-direction: row;
        gap: 3rem;
        align-items: center;
    }
}

.hero-content {
    flex: 1 1 50%;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .hero-content {
        flex: 1 1 50%;
        max-width: 50%;
        padding-right: 1rem;
    }
}

.hero-content h1 {
    font-size: 1.75rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
    font-family: var(--font-heading);
}

@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 2.25rem;
        line-height: 1.25;
        margin-bottom: 1.25rem;
    }
}

.hero-subtitle {
    color: var(--text-color);
    font-size: 0.8125rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 0.875rem;
        line-height: 1.65;
        margin-bottom: 1.75rem;
    }
}

.hero-image {
    flex: 1 1 50%;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .hero-image {
        flex: 1 1 50%;
        max-width: 50%;
    }
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    display: block;
}

@media (min-width: 1024px) {
    .hero-image img {
        border-radius: 12px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-base);
    border: 2px solid transparent;
    text-decoration: none;
    font-size: 1rem;
}

.btn-lg {
    padding: 0.875rem 2.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #ffffff; /* ensure clear contrast on hover */
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-black {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

.btn-black:hover {
    background-color: #333333;
    color: #ffffff; /* keep text white on hover */
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: white;
    color: var(--text-color);
    border-color: white;
}

.btn-secondary:hover {
    background-color: transparent;
    color: white;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 50rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .section-header {
        margin-bottom: 5rem;
    }
}

.section-header h2 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
}

@media (min-width: 1024px) {
    .section-header h2 {
        font-size: 2.25rem;
    }
}

.section-header p {
    font-size: 0.875rem;
    color: var(--text-color);
    line-height: 1.7;
}

@media (min-width: 1024px) {
    .section-header p {
        font-size: 1rem;
    }
}

/* Services Section */
.services-section {
    position: relative;
    background-color: #ffffff;
    padding-top: 5rem;
    padding-bottom: 6rem;
    margin-top: -5rem;
    scroll-margin-top: 150px;
}

@media (min-width: 1024px) {
    .services-section {
        padding-top: 6rem;
        padding-bottom: 7rem;
    }
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}

.service-card {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-base);
    flex: 0 0 calc(33.3333% - 1.667rem);
    min-width: 280px;
}

@media (min-width: 1024px) {
    .service-card {
        border-radius: var(--radius-2xl);
    }
}

@media (max-width: 1023px) {
    .service-card {
        flex: 0 0 100%;
    }
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon-wrapper {
    position: absolute;
    left: 50%;
    top: -2.5rem;
    transform: translateX(-50%);
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(0deg, #ffffff, #ffffff);
    border-radius: var(--radius-lg);
    z-index: 10;
    padding: 0.875rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@media (min-width: 1024px) {
    .service-icon-wrapper {
        border-radius: var(--radius-2xl);
        width: 5.5rem;
        height: 5.5rem;
        padding: 1rem;
    }
}

.service-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    color: #000000;
    display: block;
}

/* Scale up the New Zealand icon for better visibility */
img[src*="relational-engagement"],
img[src*="service-relational-1"] {
    transform: scale(1.4);
}

.service-card-content {
    padding-top: 2.5rem;
    text-align: center;
}

.service-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.875rem;
    color: var(--text-color);
    font-weight: 600;
}

@media (min-width: 1024px) {
    .service-card h3 {
        font-size: 1.25rem;
    }
}

.service-card p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 0.875rem;
}

@media (min-width: 1024px) {
    .service-card p {
        font-size: 0.9375rem;
    }
}

/* Wave Dividers */
.wave-divider {
    position: absolute;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: visible;
    z-index: 50;
    pointer-events: none;
}

/* Default wave at bottom of section */
.wave-divider {
    bottom: 0;
}

/* Wave at top of section */
.wave-top {
    top: 0;
    bottom: auto;
}

/* Client Carousel */
.client-carousel {
    position: relative;
    background-color: var(--bg-tan);
    padding-top: 5rem;
    padding-bottom: 6rem;
    margin-top: -5rem;
}

.client-carousel .section-header {
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .client-carousel {
        padding-top: 6rem;
        padding-bottom: 7rem;
    }
}

.carousel-container {
    padding: 0 1.5rem;
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, white 5% 95%, transparent);
    mask: linear-gradient(90deg, transparent, white 5% 95%, transparent);
    display: flex;
}

.carousel-track {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5rem;
    min-width: max-content;
    animation: scroll-left 40s linear infinite;
    will-change: transform;
}

/* Pause animation on hover */
.carousel-container:hover .carousel-track {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - 5rem));
    }
}

.client-logo {
    height: 3rem;
    width: auto;
    flex-shrink: 0;
    transition: var(--transition-base);
}

@media (min-width: 768px) {
    .client-logo {
        height: 4rem;
    }
}

.client-logo:hover {
    transform: scale(1.05);
}

/* Team Section */
.team-section {
    position: relative;
    background-color: #ffffff;
    padding-top: 5rem;
    padding-bottom: 6rem;
    margin-top: -5rem;
}

@media (min-width: 1024px) {
    .team-section {
        padding-top: 6rem;
        padding-bottom: 7rem;
    }
}

.team-wrapper {
    display: flex;
    flex-direction: column-reverse;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .team-wrapper {
        flex-direction: row-reverse;
        gap: 5rem;
    }
}

.team-content {
    flex: 1;
    max-width: 48rem;
}

.team-content h2 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
}

@media (min-width: 1024px) {
    .team-content h2 {
        font-size: 2.25rem;
    }
}

.team-content p {
    color: var(--text-color);
    line-height: 1.6;
    white-space: pre-wrap;
    margin-bottom: 1rem;
}

.team-images {
    flex: 1;
    width: 100%;
}

.team-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.team-images-grid .team-image {
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

@media (min-width: 1024px) {
    .team-images-grid .team-image {
        border-radius: var(--radius-2xl);
    }
}

.team-images-full {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

@media (min-width: 1024px) {
    .team-images-full {
        border-radius: var(--radius-2xl);
    }
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* CTA Section */
.cta-section {
    position: relative;
    background-color: var(--bg-tan);
    padding-top: 5rem;
    padding-bottom: 6rem;
    margin-top: -5rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .cta-section {
        padding-top: 6rem;
        padding-bottom: 7rem;
    }
}

.cta-content {
    max-width: 48rem;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 1.875rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

@media (min-width: 1024px) {
    .cta-content h2 {
        font-size: 2.25rem;
    }
}

.cta-content p {
    color: var(--text-color);
    line-height: 1.6;
    white-space: pre-wrap;
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    background-color: #ffffff;
    padding-top: 5rem;
    padding-bottom: 3rem;
    margin-top: -5rem;
}

@media (min-width: 1024px) {
    .faq-section {
        padding-top: 6rem;
        padding-bottom: 5rem;
    }
}

.faq-wrapper {
    max-width: 64rem;
    margin: 0 auto;
}

/* Override components.css accordion styles for FAQ section */
.faq-section .accordion-item {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid #e5e7eb !important;
    border-radius: 0 !important;
    padding: 1.75rem 0 !important;
    cursor: pointer;
    transition: var(--transition-base);
    margin-bottom: 0 !important;
    overflow: visible !important;
}

.faq-section .accordion-item:last-child {
    border-bottom: none !important;
}

.faq-section .accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background-color: transparent !important;
    padding: 0 !important;
}

.faq-section .accordion-header:hover {
    background-color: transparent !important;
}

.faq-section .accordion-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    text-align: left;
    line-height: 1.5;
}

@media (min-width: 1024px) {
    .faq-section .accordion-header h3 {
        font-size: 1.125rem;
    }
}

.faq-section .accordion-icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
    color: var(--text-color);
}

.faq-section .accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.faq-section .accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
    overflow: hidden;
    max-height: none !important;
}

.faq-section .accordion-item.active .accordion-content {
    grid-template-rows: 1fr;
    margin-top: 1rem;
    max-height: none !important;
}

.faq-section .accordion-body {
    overflow: hidden;
    padding: 0 !important;
}

.faq-section .accordion-body p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.faq-section .accordion-body p:last-child {
    margin-bottom: 0;
}

.faq-section .accordion-body a {
    color: var(--text-color);
    text-decoration: underline;
}

.faq-section .accordion-body a:hover {
    color: var(--primary-color);
}

/* Footer */
.site-footer {
    background-color: var(--bg-tan);
    color: var(--text-color);
    padding: 2.5rem 0 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 1024px) {
    .site-footer {
        padding: 3rem 0 2rem;
    }
}

/* White Footer Variant (after gold sections) */
.site-footer-white {
    background-color: #ffffff;
    color: #000000;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.site-footer-white .footer-tagline {
    color: var(--primary-color);
}

.site-footer-white .footer-contact a,
.site-footer-white .footer-menu a {
    color: #000000;
}

.site-footer-white .footer-contact a:hover,
.site-footer-white .footer-menu a:hover {
    color: var(--primary-color);
}

.site-footer-white .footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Gold Footer Variant (after white sections) */
.site-footer-gold {
    background-color: var(--primary-color);
    color: #000000;
    border-top: none;
}

.site-footer-gold .footer-tagline {
    color: #000000;
}

.site-footer-gold .footer-contact a,
.site-footer-gold .footer-menu a {
    color: #000000;
}

.site-footer-gold .footer-contact a:hover,
.site-footer-gold .footer-menu a:hover {
    color: #ffffff;
}

.site-footer-gold .footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-info {
    text-align: center;
}

.footer-tagline {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.footer-contact {
    margin: 0;
    font-size: 0.95rem;
}

.footer-contact a {
    color: var(--text-color);
    transition: var(--transition-base);
    opacity: 0.85;
}

.footer-contact a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.footer-nav {
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    .footer-menu {
        gap: 1rem 2.5rem;
    }
}

.footer-menu li {
    position: relative;
}

.footer-menu a {
    color: var(--text-color);
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition-base);
    display: inline-block;
    opacity: 0.85;
}

.footer-menu a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.65;
}

/* Credits Page Styles */
.credits-category {
    margin-bottom: 4rem;
}

.credits-category:last-child {
    margin-bottom: 0;
}

.credits-category h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

@media (min-width: 1024px) {
    .credits-category h2 {
        font-size: 2rem;
    }
}

.credits-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.credit-item {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

@media (min-width: 1024px) {
    .credit-item {
        padding: 2rem;
        border-radius: var(--radius-xl);
    }
}

.credit-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

@media (min-width: 1024px) {
    .credit-item h3 {
        font-size: 1.375rem;
    }
}

.credit-description {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.credit-description a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition-base);
}

.credit-description a:hover {
    color: #000000;
}

.credit-details {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0 0 0;
}

.credit-details li {
    padding: 0.5rem 0;
    color: var(--text-color);
    line-height: 1.6;
}

.credit-details li strong {
    font-weight: 600;
    color: #000000;
}

.credit-source {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.85;
}

.credit-source a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition-base);
}

.credit-source a:hover {
    color: #000000;
}

