@media (min-width: 1280px) and (max-width: 2560px) {

    .container {
        max-width: 1210px !important;
    }
}

body {
    font-family: 'Abigail', sans-serif;
    background-color: var(--secondary-color);
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Abigail', sans-serif;
    line-height: 1;
    color: var(--primary-color);
}

h1 {
    font-size: clamp(40px, 6vw, 90px);
}

h2 {
    font-size: clamp(30px, 5vw, 80px);
}

h3 {
    font-size: clamp(24px, 4vw, 48px);
}

h4 {
    font-size: clamp(20px, 3vw, 36px);
}

h5 {
    font-size: clamp(18px, 2vw, 24px);
}

h6 {
    font-size: clamp(16px, 1.5vw, 20px);
}

.sepration-section {
    padding: 100px 0;
}

.sepration-line {
    width: 35%;
    height: 1px;
    background-color: #000;
}

.sepration-section h2 {
    font-size: clamp(30px, 5vw, 90px);
}

/* font */
.eb-garamond-regular {
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

:root {
    --primary-color: #231f20;
    --secondary-color: #fcfbfa;
    --accent-color: #b27f67;
    --text-color: #231f20;
    --light-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --link-color: #b27f67;
    --border-line: #78472726;

    --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    transition: transform 0.05s;
    mix-blend-mode: difference;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    transition: width 0.3s var(--transition-smooth),
        height 0.3s var(--transition-smooth),
        border-color 0.3s var(--transition-smooth);
}

body.menu-open .cursor-dot {
    background: #1a1a1a;
    mix-blend-mode: normal;
}

body.menu-open .cursor-ring {
    border-color: rgba(0, 0, 0, 0.4);
}

/* ===== NAVIGATION OVERLAY ===== */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s var(--transition-smooth),
        visibility 0.6s;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-overlay-content {
    display: flex;
    width: 80%;
    max-width: 1200px;
    gap: 100px;
    align-items: center;
}

/* Nav Close Button */
.nav-close-btn {
    position: absolute;
    top: 30px;
    right: 5%;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.nav-close-btn:hover {
    border-color: var(--primary-color);
    transform: rotate(90deg);
}

.nav-close-btn span {
    position: absolute;
    width: 18px;
    height: 1.5px;
    background: #1a1a1a;
}

.nav-close-btn span:first-child {
    transform: rotate(45deg);
}

.nav-close-btn span:last-child {
    transform: rotate(-45deg);
}

.nav-overlay-left {
    flex: 1;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    padding: 25px 0;
}

@media (max-width: 768px) {
    .nav-overlay-left {
        display: none;
    }
}

.nav-overlay-top,
.nav-overlay-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-overlay-detail {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.nav-overlay-tagline {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary-color);
    margin-top: 30px;
    line-height: 1.6;
    max-width: 300px;
}

.nav-overlay-bio {
    font-size: 0.85rem;
    margin-top: 15px;
    max-width: 280px;
    line-height: 1.7;
}

.nav-overlay-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

@media (max-width: 768px) {
    .nav-overlay-links {
        width: 100%;
    }
}

.nav-link {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: padding-left 0.4s var(--transition-smooth);
    color: #1a1a1a;
}

.nav-link:hover {
    padding-left: 20px;
}

.nav-link-number {
    font-family: var(--link-color);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    opacity: 0.4;
}

.nav-link-text {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 4.5rem);
    font-weight: 300;
    line-height: 1.2;
    transition: color 0.4s ease, letter-spacing 0.4s ease;
}

.nav-link:hover .nav-link-text {
    color: var(--color-accent);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2% 5%;
    z-index: 1000;
    transition: background 0.4s, backdrop-filter 0.4s, height 0.4s;
}

.header.scrolled {
    height: 70px;
    background: rgba(245, 242, 237, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

/* Menu Toggle */
.menu-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 1001;
    border-radius: 50%;
    border: 1px solid var(--border-line);
    transition: border-color 0.3s;
}

.menu-toggle:hover {
    border-color: var(--color-text);
}

.menu-line {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--primary-color);
    transition: transform 0.4s var(--transition-smooth),
        opacity 0.3s;
}

.menu-toggle.active .menu-line:first-child {
    transform: rotate(45deg) translate(2.5px, 2.5px);
    background: #1a1a1a;
}

.menu-toggle.active .menu-line:last-child {
    transform: rotate(-45deg) translate(2.5px, -2.5px);
    background: #1a1a1a;
}

.menu-toggle.active {
    border-color: rgba(0, 0, 0, 0.2);
}

/* Logo */
.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--color-text);
    position: relative;
}

.logo-text::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -6px;
    width: 8px;
    height: 8px;
    border-top: 1.5px solid var(--color-text);
    border-left: 1.5px solid var(--color-text);
    border-radius: 1px;
}

.logo a img {
    height: 55px;
}

/* Book Button */
.btn-book {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 12px 24px;
    border: 1px solid var(--color-text);
    border-radius: 100px;
    transition: background 0.4s var(--transition-smooth),
        color 0.4s var(--transition-smooth),
        transform 0.3s;
}

.btn-book:hover {
    background: var(--color-text);
    color: var(--color-bg);
    transform: scale(1.02);
}


/* //button animation */
.swipe-btn {
    position: relative;
    display: inline-block;
    padding: 6px 30px;
    color: var(--link-color);
    font-size: 16px;
    text-decoration: none;
    border: 1px solid var(--link-color);
    overflow: hidden;
    font-family: 'QuicheSans-Regular';
    border-radius: 200px;
    transition: color 0.4s ease;
}

/* Sliding background */
.swipe-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--link-color);
    transition: left 0.4s ease;
    z-index: -1;
}

.swipe-btn:hover::before {
    left: 0;
}

.swipe-btn:hover {
    color: #fff;
}

/* //button animation */

.action-section {
    padding: 50px 0;
}

.action-section>.container {
    border: 1px solid var(--border-line);
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-section .content-container {
    color: var(--primary-color);
    text-align: center;
}

.action-section span {
    font-family: 'QuicheSans-Regular';
}

.action-section h2 {
    font-size: clamp(40px, 5vw, 80px);
    padding: 30px 0;
}

.action-section span {
    color: var(--link-color);
    font-size: clamp(16px, 2vw, 16px);
    text-transform: uppercase;
}

.header-line-section {
    padding: 50px 0;
}

.header-line-section h2 {
    font-size: clamp(45px, 5vw, 90px);
    line-height: 1;
    padding-bottom: 20px;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.header-content h2 {
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .header-content h2 {
        white-space: break-spaces;
    }
}

.header-content .sepration-line {
    flex-grow: 1;
    margin: 0;
    border: none;
    height: 1px;
    background-color: var(--border-line);
    opacity: 1;
}



.horizontal-line-section hr {
    height: 25vh;
    background-color: var(--border-line);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1px;
    opacity: 1;
}

@media (max-width: 768px) {
    .horizontal-line-section hr {
        height: 10vh;
    }
}

.list-section {
    padding-bottom: 100px;
    border-bottom: 1px solid var(--border-line);
}

.list-section ul li {
    list-style: none;
    font-size: clamp(24px, 2.5vw, 24px);
    font-family: 'EB Garamond';
    color: #707070;
}


.mission-section h2 {
    font-size: clamp(40px, 5vw, 80px);
    text-align: center;
}

.mission-section p {
    font-size: clamp(16px, 2vw, 16px);
    color: #707070;
    font-family: 'EB Garamond';
}

.service-section {
    border-top: 1px solid var(--border-line);
    border-bottom: 1px solid var(--border-line);
}

@media (max-width: 768px) {
    .service-section {
        padding: 100px 0;
    }
}



.horizontal-line {
    display: flex;
    justify-content: center;
    height: 35vh;
}

@media (max-width: 992px) {
    .horizontal-line {
        height: 15vh;
    }
}

.horizontal-line .sepration-line {
    width: 1px;
    height: 100%;
    background-color: var(--border-line);
    opacity: 1;
}

footer {
    padding: 0px 0 100px 0;
}

.insta-account {
    padding-top: 100px;
}

.insta-account p {
    font-family: "EB Garamond", serif;
}

@media (max-width: 768px) {
    .insta-account p {
        text-align: center;
    }
}

.insta-account p span {
    font-family: 'QuicheSans-Regular';
}

.instaid {
    color: #000;
    font-size: calc(100% + 2px);
}

.instaid a {
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 5px;
}

.quick-links {
    text-align: center;
    list-style: none;
    padding-left: 0;
}

.quick-links li {
    display: inline-block;
    padding: 0 10px;
}

.quick-links li a {
    color: var(--primary-color);
    font-size: clamp(30px, 2vw, 30px);
    font-family: 'QuicheSans-Regular';
    text-decoration: none;
    position: relative;
}

.quick-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.quick-links li a:hover::after {
    width: 100%;
}

.social-media {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    gap: 15px;
    margin-top: 30px;
}

.social-media li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-line);
    border-radius: 50%;
    color: inherit;
    transition: all 0.3s ease;
    text-decoration: none;
    padding-top: 3.5px;
}

.social-media li a:hover {
    background-color: var(--link-color);
    color: #fff;
    border-color: var(--link-color);
}

.copyright {
    text-align: center;
    font-size: clamp(16px, 2vw, 16px);
    color: var(--link-color);
    font-family: 'QuicheSans-Regular';
    margin-top: 25px;
}

/* ===== Instagram Auto-Scroll Slider ===== */
.insta-slider-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.insta-slider-track {
    display: flex;
    gap: 30px;
    animation: instaScroll 25s linear infinite;
    will-change: transform;
    width: max-content;
}

/* Pause on hover */
.insta-slider-wrapper:hover .insta-slider-track {
    animation-play-state: paused;
}

.insta-slide {
    flex-shrink: 0;
    width: 200px;
    aspect-ratio: 1 / 1;

    overflow: hidden;
}

.insta-slide:nth-child(odd) {
    padding-top: 25px;
}

.insta-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.insta-slide:hover img {
    transform: scale(1.08);
}

@keyframes instaScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Scrolls exactly half (5 slides + gaps), then loops seamlessly */
        transform: translateX(calc(-50%));
    }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .insta-slide {
        width: 220px;
    }

    .insta-slider-track {
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .insta-slide {
        width: 160px;
        border-radius: 8px;
    }

    .insta-slider-track {
        gap: 10px;
        animation-duration: 18s;
    }

    .insta-slider-wrapper::before,
    .insta-slider-wrapper::after {
        width: 30px;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-center {
    text-align: center;
    position: relative;
}

.hero-title {
    font-family: 'Abigail', serif;
    line-height: 1.1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-line-1 {
    font-size: clamp(60px, 10vw, 90px);
    font-weight: 400;
    display: block;
    text-align: right;
    padding-right: 10%;
}

.hero-line-2 {
    font-size: clamp(60px, 10vw, 90px);
    font-weight: 400;
    display: block;
    text-align: left;
    padding-left: 20%;
}

.hero-dot {
    width: 12px;
    height: 12px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: inline-block;
    margin: 10px 0;
    align-self: flex-end;
    margin-right: 30%;
}

.hero-caption-wrap {
    max-width: 400px;
    margin: 30px auto 0;
    text-align: center;
}

.hero-caption {
    font-family: 'EB Garamond', serif;
    font-size: clamp(14px, 1.5vw, 16px);
    color: #707070;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Side Images */
.hero-side-images {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%;
}

.hero-img-top {
    width: 100%;
    overflow: hidden;
}

.hero-img-top img {
    width: 80%;
    height: 250px;
    object-fit: cover;
}

.hero-img-bottom {
    width: 100%;
    overflow: hidden;
}

.hero-img-bottom img {
    width: 60%;
    height: 200px;
    object-fit: cover;
    float: right;
}

.hero-img-right {
    overflow: hidden;
    height: 100%;
}

.hero-img-right img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        padding: 120px 0 60px;
    }

    .hero-line-1,
    .hero-line-2 {
        text-align: center;
        padding: 0;
    }

    .hero-dot {
        align-self: center;
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0 40px;
    }
}

.about-section span {
    font-size: clamp(16px, 2vw, 16px);
    color: var(--accent-color);
    font-family: 'QuicheSans-Regular';
    text-align: center;
    display: block;
    padding-bottom: 10px;
    text-transform: uppercase;
}

.about-section p {
    font-size: clamp(16px, 2vw, 16px);
    color: #707070;
    font-family: 'EB Garamond';
    text-align: center;
}

/* ===== SVG Line Separator ===== */
.svg-line-section {
    overflow: hidden;
    padding: 40px 0;
    display: flex;
    justify-content: center;
}

.scroll-line {
    width: 1px;
    height: 200px;
    display: block;
}

.scroll-line-path {
    stroke: var(--border-line);
    stroke-width: 1px;
    transition: stroke-dashoffset 0.1s linear;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
}

/* Animation */
.svg-line-section.scrolled .scroll-line-path {
    stroke: var(--accent-color);
    stroke-dashoffset: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .scroll-line {
        height: 150px;
    }
}

/* ===== Image Reveal Animation ===== */
.img-reveal {
    position: relative;
    overflow: hidden;
}

.img-reveal img {
    display: block;
    width: 100%;
    height: auto;
    transform: scale(1.3);
    transition: transform 1.2s ease-out;
    float: right;
}

.img-reveal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    transform: scaleX(1);
    transform-origin: left;
    z-index: 2;
}

.img-reveal.revealed img {
    transform: scale(1);
}


.about-section-label {
    font-size: clamp(16px, 2vw, 16px);
    color: var(--accent-color);
    font-family: 'QuicheSans-Regular';
    text-align: center;
    display: block;
    padding-bottom: 10px;
    text-transform: uppercase;
}

.about-section-text {
    font-size: clamp(16px, 2vw, 16px);
    color: #707070;
    font-family: 'EB Garamond';
    text-align: center;
}

/* Hero Text Reveal */
.hero-line-1,
.hero-line-2 {
    display: inline-block;
    overflow: hidden;
}

.hero-title {
    overflow: hidden;
}

.hero-title span {
    display: inline-block;
}

/* reset list */
.service-box .list-style-arrow,
.list-style-arrow {
    list-style: none;
    padding: 0;
}

/* list item */
.service-box .list-style-arrow li,
.list-style-arrow li {
    transition: transform 0.3s ease;
}

/* move item slightly on hover */
.service-box .list-style-arrow li:hover,
.list-style-arrow li:hover {
    transform: translateX(15px);
}

/* link */
.list-style-arrow li a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.service-box .list-style-arrow li a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

/* text span (important for strike width control) */
.service-box .list-style-arrow li a span,
.list-style-arrow li a span {
    display: inline-block;
    position: relative;
    line-height: 2;
    color: #707070;
    text-align: center;
    text-transform: capitalize;
}

/* ================= STRIKE EFFECT ================= */

/* hidden by default */
.service-box .list-style-arrow li a span::after,
.list-style-arrow li a span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 0%;
    height: 1px;

    transform: translateY(-50%);
    transition: width 0.35s ease;
}

/* when hovering list → strike all */
.service-box .list-style-arrow:hover li a span::after,
.list-style-arrow:hover li a span::after {
    width: 100%;
}

/* remove strike for hovered item */
.service-box .list-style-arrow li a:hover span::after,
.list-style-arrow li a:hover span::after {
    width: 0%;
}

/* ================= ARROW EFFECT ================= */

/* hidden arrow (no space) */
.service-box .list-style-arrow li a::after,
.list-style-arrow li a::after {
    content: "\2192";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    rotate: -45deg;

    width: 0;
    height: 0;
    margin-right: 0;

    border: 0;
    opacity: 0;

    overflow: hidden;
    transform: scale(0);

    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* show arrow on hover */
.service-box .list-style-arrow li a:hover::after,
.list-style-arrow li a:hover::after {
    width: 45px;
    height: 45px;
    margin-right: 20px;

    border: 1px solid currentColor;
    border-radius: 50%;

    opacity: 1;
    transform: scale(1);
    margin-left: 5px;
}

@media (max-width: 768px) {

    .service-box .list-style-arrow,
    .list-style-arrow {
        margin-top: 35px;
    }
}

.service-box {
    padding: 0px 0;
    margin-top: 50px;
}

.service-box ul {
    padding-left: 0;
    margin-bottom: 0;
}

.service-box ul li {
    list-style: none;
    font-size: clamp(24px, 2.5vw, 24px);
    text-align: center;
}

.service-box ul li a {
    color: var(--primary-color);
    font-size: 50px;
}

.service-box span {
    font-size: clamp(16px, 2vw, 16px);
    text-transform: uppercase;
    color: var(--link-color);
    display: block;
    text-align: center;
    font-family: 'QuicheSans-Regular';
    text-align: center;
}


.service-box ul span {
    font-size: clamp(36px, 2vw, 36px);
    text-transform: uppercase;
    color: var(--link-color);
    display: block;
    text-align: center;
    font-family: 'Abigail', serif;
    text-align: center;
}


/*banner section */

.banner-section {
    padding: 170px 0 120px 0;
    border-bottom: 1px solid var(--border-line);
}

.contact-sepration-line {
    height: 25vh;
    width: 1px;
    background: var(--border-line);
    margin: 0 auto;
    border: none;
}

.contact-info {
    text-align: center;
    padding: 20px;
}

.contact-info h3 {
    font-size: clamp(36px, 2vw, 36px);
    margin-bottom: 25px;
}


.contact-info p {
    font-size: clamp(16px, 2vw, 16px);
    color: #707070;
    font-family: 'EB Garamond';
    text-align: center;
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-info a:hover {
    color: var(--primary-color);
}

.contact-info-section {
    border-bottom: 1px solid var(--border-line);
}

.contact-form-section {
    padding: 100px 0 0 0;
}

.contact-form-section .btn-primary {
    width: 100%;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    font-size: clamp(16px, 2vw, 16px);
    font-family: 'QuicheSans-Regular';
    padding: 10px;
}

.form-control {
    margin-bottom: 25px;
    font-family: 'QuicheSans-Regular';
    font-size: clamp(14px, 2vw, 14px);
}

/* ========================
   Portfolio Filter Gallery
   ======================== */

.portfolio-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-line);
}

/* Filter Buttons */
.portfolio-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    font-family: 'QuicheSans-Regular';
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color));
    transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 0;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Portfolio Grid */
.portfolio-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Portfolio Item */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transform: scale(1);
    opacity: 1;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
        opacity 0.5s ease;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hover Scale on Image */
.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Overlay */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Overlay Text */
.portfolio-title {
    color: #fff;
    font-size: 20px;
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.5px;
}

.portfolio-category {
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s;
}

.portfolio-item:hover .portfolio-title,
.portfolio-item:hover .portfolio-category {
    transform: translateY(0);
}

/* Filter Animation - Hide/Show */
.portfolio-item.hide {
    display: none;
}

.portfolio-item.show {
    animation: scaleIn 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes scaleIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .portfolio-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .portfolio-wrapper {
        grid-template-columns: 1fr;
    }

    .filter-btn {
        padding: 8px 20px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .banner-section {
        padding: 100px 0 60px 0;
    }

    .header-content {
        gap: 20px;
    }

    .service-box ul li a {
        font-size: 30px;
    }

    .hero-img-top img {
        height: 180px;
    }

    .hero-img-bottom img {
        height: 150px;
    }

    .hero-img-right img {
        height: 250px;
    }

    .action-section>.container {
        padding: 60px 20px;
    }

    .contact-form-section {
        padding: 60px 0 0 0;
    }

    .nav-overlay-content {
        gap: 40px;
    }

    .portfolio-title {
        font-size: 16px;
    }

    .portfolio-overlay {
        padding: 15px;
    }
}