:root {
    --bg-color: #F9F8F6;
    /* Warm cream / off-white */
    --text-color: #3B3B3B;
    /* Soft charcoal */
    --accent-color: #9CAF88;
    /* Sage green */
    --accent-secondary: #DCAE96;
    /* Dusty rose */
    --lightbox-bg: rgba(25, 25, 25, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* Custom sketch-pen cursor */
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cg transform='rotate(-45 14 14)'%3E%3Crect x='11' y='2' width='6' height='18' rx='1' fill='%234a4a4a'/%3E%3Cpolygon points='11,20 17,20 14,26' fill='%239CAF88'/%3E%3Crect x='11' y='2' width='6' height='4' rx='1' fill='%23DCAE96'/%3E%3C/g%3E%3C/svg%3E") 2 26, auto;
}

/* Keep sketch-pen cursor on all interactive elements */
a,
button,
input,
textarea,
select,
[role="button"],
.gallery-item,
.service-card,
.contact-card,
.client-card {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cg transform='rotate(-45 14 14)'%3E%3Crect x='11' y='2' width='6' height='18' rx='1' fill='%234a4a4a'/%3E%3Cpolygon points='11,20 17,20 14,26' fill='%239CAF88'/%3E%3Crect x='11' y='2' width='6' height='4' rx='1' fill='%23DCAE96'/%3E%3C/g%3E%3C/svg%3E") 2 26, auto !important;
}

/* Click splash mark */
.click-mark {
    position: fixed;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(156, 175, 136, 1) 0%, rgba(156, 175, 136, 0.7) 35%, rgba(156, 175, 136, 0.3) 60%, rgba(156, 175, 136, 0) 80%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(0.3);
    animation: ink-splash 0.6s ease-out forwards;
}

@keyframes ink-splash {
    0% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 1;
    }

    40% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.9;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

/* ========================
   Interactive Splash Screen
   ======================== */
.splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: splash-intro 0.8s ease-out forwards;
}

@keyframes splash-intro {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.splash-logo-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--accent-color);
    background-color: #E8845A;
    /* Matches the orange background of the mascot image */
}

.splash-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 80%;
    /* Penguin is in the bottom of the tall image — zoom into that area */
}

.splash-buttons {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 768px) {
    .splash-logo-wrapper {
        width: 200px;
        height: 200px;
        margin-bottom: 30px;
    }

    .splash-buttons {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        padding: 0 20px;
    }

    .splash-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

.splash-btn {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 16px 36px;
    border: none;
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.splash-btn.btn-dusty {
    background-color: var(--accent-secondary);
    box-shadow: 0 8px 20px rgba(220, 174, 150, 0.4);
}

.splash-btn.btn-dusty:hover {
    background-color: #c99c85;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(220, 174, 150, 0.5);
}

.splash-btn.btn-sage {
    background-color: var(--accent-color);
    box-shadow: 0 8px 20px rgba(156, 175, 136, 0.4);
}

.splash-btn.btn-sage:hover {
    background-color: #8A9D78;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(156, 175, 136, 0.5);
}

/* ========================
   Top Navigation
   ======================== */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(249, 248, 246, 0.85);
    /* var(--bg-color) with opacity */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links li a {
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    padding: 6px 0;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links li a:hover {
    color: var(--accent-color);
}

.nav-links li a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }

    .nav-links {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 6px;
        justify-content: flex-start;
        gap: 20px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }
}

/* ========================
   Hero Section
   ======================== */
.hero {
    height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background: linear-gradient(to bottom, transparent, var(--bg-color)),
        radial-gradient(circle at center, rgba(156, 175, 136, 0.1) 0%, transparent 70%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    color: var(--text-color);
}

.bio {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    color: #555;
    font-weight: 300;
}

/* ========================
   Portfolio Category Grid
   ======================== */
.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.portfolio-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.portfolio-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-color), var(--accent-secondary));
    margin: 12px auto 0;
    border-radius: 2px;
}

.portfolio-intro {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #777;
    font-weight: 300;
    text-align: center;
    margin-bottom: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 700px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

/* Individual Category Card */
.category-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    aspect-ratio: 4 / 3;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s ease;
}

.category-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    z-index: 5;
}

/* Slideshow layer inside each card */
.category-slideshow {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.category-slideshow .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.category-slideshow .slide.active {
    opacity: 1;
}

.category-slideshow .slide img,
.category-slideshow .slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Default placeholder when no files are present */
.category-placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: #aaa;
    background: linear-gradient(135deg, #f5f3f0, #ece8e3);
}

/* Overlay label at bottom of card */
.category-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 28px 24px 20px;
    background: linear-gradient(to top, rgba(25, 25, 25, 0.75) 0%, transparent 100%);
    color: #fff;
    pointer-events: none;
}

.category-label h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 4px;
    color: #fff;
}

.category-label p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    opacity: 0.85;
    line-height: 1.4;
}

.category-count {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 20px;
    pointer-events: none;
}

/* Empty state card */
.category-card.is-empty {
    opacity: 0.6;
}

.category-card.is-empty:hover {
    transform: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* ========================
   Lightbox
   ======================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--lightbox-bg);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lightbox.show .lightbox-content {
    transform: scale(1);
}

.lightbox-video {
    display: none;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 4px;
    outline: none;
}

.lightbox.show-video .lightbox-video {
    display: block;
}

.lightbox.show-video #lightbox-img {
    display: none;
}

.nav-lightbox {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    user-select: none;
    z-index: 1000;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 20px;
    display: none;
}
.nav-lightbox:hover {
    color: white;
    transform: translateY(-50%) scale(1.1);
}
.prev-lightbox { left: 10px; }
.next-lightbox { right: 10px; }
@media (max-width: 768px) {
    .nav-lightbox { font-size: 2rem; padding: 10px; }
    .prev-lightbox { left: 0px; }
    .next-lightbox { right: 0px; }
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 1001;
}

.close-lightbox:hover {
    color: var(--accent-secondary);
    transform: rotate(90deg);
}

/* ========================
   Footer
   ======================== */
footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 0;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.copyright {
    font-size: 0.85rem;
    color: #888;
}

/* ========================
   Client Love Section
   ======================== */
.clients-section {
    padding: 60px 0 20px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.clients-title {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 36px;
    position: relative;
    display: inline-block;
}

.clients-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-color), var(--accent-secondary));
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Review Stats Elements */
.review-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
}

.average-rating {
    font-size: 1.5rem;
    font-weight: 600;
}

.star-icon {
    font-size: 1.5rem;
    color: #FFD700;
}

.marquee-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.review-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--accent-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.review-scroll-btn:hover {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 6px 16px rgba(156, 175, 136, 0.3);
}

.review-scroll-btn.prev-btn {
    left: 20px;
}

.review-scroll-btn.next-btn {
    right: 20px;
}

@media (max-width: 1250px) {
    .review-scroll-btn.prev-btn { left: 10px; }
    .review-scroll-btn.next-btn { right: 10px; }
}

.total-reviews {
    font-size: 1rem;
    color: #777;
    margin-left: 4px;
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow-x: auto;
    padding: 10px 0;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.marquee-wrapper::-webkit-scrollbar {
    display: none;
}

/* Soft fade edges */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color), transparent);
}

.marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    padding: 10px 20px;
}

/* Review Cards */
.review-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex-shrink: 0;
    width: 320px;
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: normal;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.review-stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.review-comment {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    font-weight: 300;
    margin-bottom: 24px;
    flex-grow: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.client-pfp {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #eee;
    border: 2px solid rgba(156, 175, 136, 0.2);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
}

.client-handle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: #777;
    text-decoration: none;
    transition: color 0.3s ease;
}

.client-handle:hover {
    color: var(--accent-color);
}

/* ========================
   Review Submission Form
   ======================== */
.review-submission-section {
    padding: 40px 20px 80px;
    display: flex;
    justify-content: center;
}

.form-container {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 8px;
    text-align: center;
}

.form-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #777;
    text-align: center;
    margin-bottom: 30px;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-group label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: var(--bg-color);
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(156, 175, 136, 0.2);
}

.star-rating {
    display: flex;
    gap: 4px;
    font-size: 1.8rem;
    color: #ddd;
    cursor: pointer;
}

.star-rating .star {
    transition: color 0.2s ease, transform 0.2s ease;
}

.star-rating .star:hover,
.star-rating .star.hovered,
.star-rating .star.selected {
    color: #FFD700;
}

.star-rating .star:hover {
    transform: scale(1.1);
}

.submit-review-btn {
    margin-top: 10px;
    background: var(--accent-color);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 14px;
    border: none;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-review-btn:hover {
    background: #8A9D78;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(156, 175, 136, 0.3);
}

@media (max-width: 600px) {
    .form-container {
        padding: 24px;
    }
}

/* ========================
   About Me Page
   ======================== */
.about-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 40px;
    background: linear-gradient(to bottom, transparent, var(--bg-color)),
        radial-gradient(ellipse at 30% 40%, rgba(156, 175, 136, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(220, 174, 150, 0.1) 0%, transparent 60%);
}

.about-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 700px;
}

.back-link {
    align-self: flex-start;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--accent-color);
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.back-link:hover {
    color: var(--accent-secondary);
    transform: translateX(-4px);
}

.about-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 3px solid rgba(156, 175, 136, 0.2);
}

.about-headline {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 2.4rem;
    line-height: 1.3;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

/* About Body */
.about-body {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

.about-text p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    line-height: 1.85;
    color: #4a4a4a;
    margin-bottom: 24px;
    font-weight: 300;
}

.about-text .greeting {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-color);
}

.about-text .greeting strong {
    font-weight: 600;
    color: var(--accent-color);
}

/* Decorative accent strip */
.about-accent-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.accent-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
    opacity: 0.5;
}

.accent-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--accent-color), var(--accent-secondary));
    border-radius: 1px;
    opacity: 0.4;
}

/* Active sidebar link */
.sidebar-links li a.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Responsive about page */
@media (max-width: 600px) {
    .about-headline {
        font-size: 1.7rem;
    }

    .about-text p {
        font-size: 1rem;
    }
}

/* ========================
   Services Page
   ======================== */
.services-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 20px;
    background: linear-gradient(to bottom, transparent, var(--bg-color)),
        radial-gradient(ellipse at 50% 50%, rgba(156, 175, 136, 0.1) 0%, transparent 65%);
}

.services-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 700px;
}

.services-headline {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.services-intro {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-weight: 300;
    max-width: 600px;
}

/* Service Cards Grid */
.services-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-headline {
        font-size: 2.2rem;
    }
}

.service-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 14px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--accent-color), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 1.8rem;
    margin-bottom: 16px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(156, 175, 136, 0.1);
    border-radius: 12px;
    color: var(--accent-color);
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.service-card p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    font-weight: 300;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-cta {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.05rem;
    margin-top: auto;
    transition: color 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-cta {
    color: var(--accent-secondary);
    transform: translateX(4px);
}

/* ========================
   Contact Us Page
   ======================== */
.contact-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 20px;
    background: linear-gradient(to bottom, transparent, var(--bg-color)),
        radial-gradient(ellipse at 40% 50%, rgba(220, 174, 150, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 60% 50%, rgba(156, 175, 136, 0.1) 0%, transparent 60%);
}

.contact-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 700px;
}

.contact-headline {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.contact-intro {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-weight: 300;
    max-width: 560px;
}

/* Contact Cards Grid */
.contact-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-headline {
        font-size: 2.2rem;
    }
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 44px 28px 36px;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--accent-color), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(156, 175, 136, 0.12), rgba(220, 174, 150, 0.12));
    border-radius: 16px;
    color: var(--accent-color);
    margin-bottom: 20px;
    transition: transform 0.35s ease, background 0.35s ease;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(-4deg);
    background: linear-gradient(135deg, rgba(156, 175, 136, 0.2), rgba(220, 174, 150, 0.2));
}

.contact-card h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 6px;
}

.contact-handle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #777;
    font-weight: 300;
    margin-bottom: 16px;
}

.contact-cta {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.contact-card:hover .contact-cta {
    color: var(--accent-secondary);
    letter-spacing: 2.5px;
}

/* ========================
   Terms Modal
   ======================== */
.modal-overlay {
    display: flex;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 25, 25, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-color);
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.show .modal-content {
    transform: translateY(0) scale(1);
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(156, 175, 136, 0.3);
    padding-bottom: 12px;
}

.modal-body {
    overflow-y: auto;
    padding-right: 12px;
    margin-bottom: 30px;
    font-size: 1rem;
    color: #4a4a4a;
}

/* Custom Scrollbar for Modal Body */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--accent-secondary);
    border-radius: 10px;
}

.modal-body h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-top: 24px;
    margin-bottom: 10px;
}

.modal-body p {
    margin-bottom: 16px;
    line-height: 1.7;
}

.modal-body ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: auto;
}

.modal-actions button {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cg transform='rotate(-45 14 14)'%3E%3Crect x='11' y='2' width='6' height='18' rx='1' fill='%234a4a4a'/%3E%3Cpolygon points='11,20 17,20 14,26' fill='%239CAF88'/%3E%3Crect x='11' y='2' width='6' height='4' rx='1' fill='%23DCAE96'/%3E%3C/g%3E%3C/svg%3E") 2 26, auto !important;
    transition: all 0.3s ease;
}

.btn-reject {
    background-color: transparent;
    color: #777;
    border: 1px solid #ccc !important;
}

.btn-reject:hover {
    background-color: #f0f0f0;
    color: var(--text-color);
}

.btn-accept {
    background-color: var(--accent-color);
    color: white;
}

.btn-accept:hover {
    background-color: #8A9D78;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(156, 175, 136, 0.3);
}

@media (max-width: 600px) {
    .modal-content {
        padding: 24px;
        width: 95%;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-actions button {
        width: 100%;
    }
}