@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;1,6..72,400&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
    --primary: #2d3748;
    --secondary: #4a5568;
    --accent: #727272;
    --light: #f7fafc;
    --dark: #1a202c;
    --text: #2d3748;
    --text-light: #718096;
    --gold: #d4af37;
    --gold-dark: #b8860b;
    --marble-bg: #f5f5f5;
    --marble-light: #f0f0f0;
    --marble-dark: #e5e5e5;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--marble-bg);
    overflow-x: hidden;
    padding-top: 80px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* ========== PROJECTS HERO SLIDESHOW ========== */
.ph-hero {
    position: relative;
    width: 100%;
    height: 88vh;
    min-height: 480px;
    max-height: 820px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* ── Slides ── */
.ph-slides {
    position: absolute;
    inset: 0;
}

.ph-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.ph-slide.ph-active {
    opacity: 1;
    pointer-events: auto;
}

/* The actual image div with Ken Burns */
.ph-slide-img {
    position: absolute;
    inset: -6%;
    /* slightly oversized so zoom doesn't reveal edges */
    background-size: cover;
    background-position: center;
    animation: none;
}

/* Trigger Ken Burns when slide becomes active */
.ph-slide.ph-active .ph-slide-img {
    animation: phKenBurns 5.5s ease-out forwards;
}

@keyframes phKenBurns {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1.0);
    }
}

/* Alternate slides zoom in different directions for variety */
.ph-slide:nth-child(odd).ph-active .ph-slide-img {
    transform-origin: 30% 60%;
    animation: phKenBurnsL 5.5s ease-out forwards;
}

.ph-slide:nth-child(even).ph-active .ph-slide-img {
    transform-origin: 70% 40%;
    animation: phKenBurnsR 5.5s ease-out forwards;
}

@keyframes phKenBurnsL {
    from {
        transform: scale(1.1) translate(1%, -1%);
    }

    to {
        transform: scale(1.0) translate(0%, 0%);
    }
}

@keyframes phKenBurnsR {
    from {
        transform: scale(1.1) translate(-1%, 1%);
    }

    to {
        transform: scale(1.0) translate(0%, 0%);
    }
}

/* ── Overlay ── */
.ph-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(to bottom,
            rgba(8, 8, 6, 0.28) 0%,
            rgba(8, 8, 6, 0.05) 35%,
            rgba(8, 8, 6, 0.5) 75%,
            rgba(8, 8, 6, 0.82) 100%);
}

/* ── Text content ── */
.ph-info {
    position: relative;
    z-index: 4;
    padding: 0 64px 28px;
    max-width: 820px;
}

.ph-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.ph-eyebrow-line {
    display: block;
    width: 32px;
    height: 1px;
    background: rgba(168, 135, 79, 0.7);
    flex-shrink: 0;
}

.ph-eyebrow-txt {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(168, 135, 79, 0.9);
    font-weight: 500;
}

.ph-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: clamp(3.4rem, 6.5vw, 6rem);
    font-weight: 400;
    color: #F7F4EE;
    line-height: 0.98;
    margin: 0 0 18px;
    letter-spacing: -0.025em;
}

.ph-title em {
    font-style: italic;
    color: #d4af37;
}

/* Animated slide caption */
.ph-slide-caption {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    color: rgba(247, 244, 238, 0.65);
}

.ph-caption-name {
    color: rgba(247, 244, 238, 0.9);
    font-weight: 500;
}

.ph-caption-sep {
    color: rgba(168, 135, 79, 0.6);
}

/* ── Controls Container & Navigation ── */
.ph-controls {
    position: absolute;
    z-index: 5;
    right: 64px;
    bottom: 100px;
    /* sits above the stats bar */
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(15, 14, 12, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid rgba(168, 135, 79, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.ph-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(247, 244, 238, 0.1);
    border: 1px solid rgba(168, 135, 79, 0.4);
    color: #F7F4EE;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.ph-nav-btn:hover {
    background: #d4af37;
    border-color: #d4af37;
    color: #0A0907;
    transform: scale(1.1);
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.5);
}

.ph-nav-btn:active {
    transform: scale(0.95);
}

/* Horizontal dot navigation */
.ph-dots {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.ph-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(247, 244, 238, 0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.35s ease, transform 0.35s ease, width 0.35s ease, border-radius 0.35s ease;
}

.ph-dot:hover {
    background: rgba(212, 175, 55, 0.7);
}

.ph-dot.ph-dot-active {
    background: #d4af37;
    width: 26px;
    height: 8px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* ── Progress bar ── */
.ph-progress {
    position: absolute;
    z-index: 5;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
}

.ph-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(168, 135, 79, 0.5), #d4af37);
}

/* ── Stats strip ── */
.ph-stats {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    padding: 16px 64px;
    background: rgba(10, 9, 7, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(168, 135, 79, 0.2);
    gap: 0;
}

.ph-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    padding-right: 44px;
}

.ph-stat-num {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 1.85rem;
    font-weight: 400;
    color: #d4af37;
    line-height: 1;
}

.ph-stat-num sup {
    font-size: 0.85rem;
    vertical-align: super;
    opacity: 0.7;
}

.ph-stat-lbl {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(247, 244, 238, 0.45);
    white-space: nowrap;
}

.ph-stat-sep {
    width: 1px;
    height: 32px;
    background: rgba(168, 135, 79, 0.25);
    flex-shrink: 0;
    margin-right: 44px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .ph-info {
        padding: 0 32px 24px;
    }

    .ph-stats {
        padding: 14px 32px;
    }

    .ph-controls,
    .ph-dots {
        display: none !important;
    }

    .ph-stat {
        padding-right: 28px;
    }

    .ph-stat-sep {
        margin-right: 28px;
    }
}

@media (max-width: 600px) {
    .ph-hero {
        height: 75vh;
        max-height: 600px;
    }

    .ph-info {
        padding: 0 20px 20px;
    }

    .ph-title {
        font-size: 2.8rem;
    }

    .ph-stats {
        padding: 12px 20px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .ph-stat {
        padding-right: 0;
    }

    .ph-stat-sep {
        display: none;
    }
}

/* ========== LUXURY HEADER (legacy, unused) ========== */
.luxury-header-2 {
    background: linear-gradient(135deg, var(--marble-bg) 0%, var(--marble-light) 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.marble-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" opacity="0.05"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="none" stroke="%23000" stroke-width="2"/></svg>'),
        linear-gradient(45deg, transparent 45%, rgba(212, 175, 55, 0.05) 50%, transparent 55%);
    background-size: 100px 100px, 200px 200px;
    pointer-events: none;
}

.header-wrapper {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.luxury-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding-top: 40px;
}

.luxury-number {
    font-size: 2rem;
    font-weight: 300;
    color: #d4af37;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: 5px;
}

.sidebar-line {
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #000, transparent);
}

.luxury-text {
    writing-mode: vertical-rl;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #666;
}

.page-title {
    font-size: 5.5rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 60px;
    color: #111;
    font-family: 'Cormorant Garamond', serif;
}

.highlight {
    color: #d4af37;
    font-weight: 400;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #d4af37;
    opacity: 0.5;
}

.luxury-quote {
    max-width: 600px;
    margin: 0 0 60px 0;
    position: relative;
    padding-left: 60px;
}

.quote-mark {
    position: absolute;
    left: 0;
    top: -20px;
    font-size: 5rem;
    color: #d4af37;
    font-family: serif;
    opacity: 0.3;
}

.quote-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #444;
    font-weight: 300;
    margin-bottom: 20px;
    font-style: italic;
}

.quote-author {
    font-size: 0.9rem;
    color: #888;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.luxury-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 300;
    color: #d4af37;
    margin-bottom: 5px;
    font-family: 'Cormorant Garamond', serif;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
}

/* ========== LUXURY NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: top 0.3s ease, all 0.3s ease;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.05);
    font-size: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 13px 0;
    font-size: 17px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98) !important;
}

.logo-nav {
    height: 44px;
    width: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(168, 135, 79, 0.55);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-nav:hover {
    transform: scale(1.06);
    box-shadow: 0 0 14px rgba(168, 135, 79, 0.4);
}

.footer-logo {
    height: 44px;
    width: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(168, 135, 79, 0.55);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text);
    margin: 0 10px;
    padding: 10px 20px !important;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}


/* ========== LUXURY PROJECTS SECTION ========== */
.projects-section {
    padding: 120px 0;
    position: relative;
    background: var(--marble-light);
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.section-title {
    margin-bottom: 70px;
    position: relative;
    padding-bottom: 20px;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 300;
    color: #111;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Luxury Filters */
.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}

.filter-btn {
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    font-weight: 500;
    color: #555;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}

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

.filter-btn.active {
    background: var(--gold);
    color: white;
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

/* Luxury Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    content-visibility: auto;
    contain-intrinsic-size: 350px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.project-card:hover::before {
    opacity: 1;
}

.project-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-image::after {
    opacity: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-category {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark);
    padding: 8px 22px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Specific Category Styles */
.project-category.cat-completed-projects {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 10px rgba(212, 175, 55, 0.1);
    font-weight: 800;
}

.project-category.cat-on-going-projects {
    background: linear-gradient(135deg, #3182ce, #2c5282);
    color: white;
    box-shadow: 0 8px 20px rgba(49, 130, 206, 0.3);
}

.project-category.cat-2d-projects {
    background: linear-gradient(135deg, #00b5ad, #008080);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 181, 173, 0.3);
}

.project-category.cat-3d-projects {
    background: linear-gradient(135deg, #9f7aea, #6b46c1);
    color: white;
    box-shadow: 0 8px 20px rgba(159, 122, 234, 0.3);
}

.project-card:hover .project-category {
    transform: translateY(-5px) scale(1.05);
}

.project-card:hover .project-category.cat-completed-projects {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, #000, #1a202c);
}

.project-card:hover .project-category.cat-on-going-projects {
    box-shadow: 0 12px 30px rgba(49, 130, 206, 0.5);
}

.project-card:hover .project-category.cat-2d-projects {
    box-shadow: 0 12px 30px rgba(0, 181, 173, 0.5);
}

.project-card:hover .project-category.cat-3d-projects {
    box-shadow: 0 12px 30px rgba(159, 122, 234, 0.5);
}

.project-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

.project-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.project-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #111;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.3;
}

.project-description {
    color: #666;
    margin-bottom: 25px;
    flex-grow: 1;
    line-height: 1.7;
    font-weight: 300;
}

.project-meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    color: #777;
    white-space: nowrap;
    min-width: 0;
}

.project-meta-item:first-child {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.project-meta-item:first-child span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: clamp(0.68rem, 1.1vw, 0.82rem);
}

.project-meta-item:not(:first-child) {
    flex-shrink: 0;
    font-size: 0.82rem;
}

.project-meta-item i {
    color: var(--gold);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px 0;
    position: relative;
    align-self: flex-start;
}

.project-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.project-link:hover {
    gap: 15px;
}

.project-link:hover::after {
    width: 100%;
}

.project-link i {
    transition: transform 0.3s ease;
}

.project-link:hover i {
    transform: translateX(5px);
}

/* ========== LUXURY CONTACT CTA ========== */
.contact-cta {
    background: linear-gradient(135deg,
            rgba(212, 175, 55, 0.05) 0%,
            rgba(212, 175, 55, 0.02) 100%);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.contact-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.contact-cta h3 {
    font-size: 3rem;
    margin-bottom: 25px;
    color: #111;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    position: relative;
    display: inline-block;
}

.contact-cta h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.contact-cta p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 300;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border: none;
    padding: 16px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::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 ease;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

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

.btn-lg {
    padding: 18px 45px;
    font-size: 1.2rem;
}



/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .header-wrapper {
        gap: 60px;
    }

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

@media (max-width: 992px) {
    .header-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .luxury-sidebar {
        flex-direction: row;
        justify-content: center;
        padding-top: 0;
    }

    .luxury-number {
        writing-mode: horizontal-tb;
        transform: none;
    }

    .sidebar-line {
        width: 100px;
        height: 1px;
    }

    .luxury-text {
        writing-mode: horizontal-tb;
    }

    .page-title {
        font-size: 4rem;
        text-align: center;
    }

    .luxury-quote {
        text-align: center;
        padding-left: 0;
        padding-top: 60px;
    }

    .quote-mark {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .luxury-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 30px;
    }

    .project-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 22px;
        font-size: 0.9rem;
    }

    .navbar {
        padding: 12px 0;
        font-size: 18px;
    }

    .navbar.scrolled {
        padding: 10px 0;
        font-size: 16px;
    }

    .contact-cta h3 {
        font-size: 2.5rem;
    }

    .contact-cta p {
        font-size: 1.1rem;
    }

    .footer-links {
        gap: 20px;
    }

    .footer-links li::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .luxury-header-2 {
        padding: 80px 0 40px;
        /* Even tighter padding */
        min-height: auto;
    }

    /* Hide the decorative sidebar on mobile to save space */
    .luxury-sidebar {
        display: none;
    }

    .header-wrapper {
        gap: 20px;
    }

    .page-title {
        font-size: 2.2rem;
        /* Compact title */
        margin-bottom: 20px;
        line-height: 1.2;
        text-align: center;
    }

    .luxury-quote {
        padding-top: 10px;
        margin-bottom: 30px;
        text-align: center;
        padding-left: 0;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

    /* Filters: Better Touch Targets */
    .project-filters {
        gap: 8px;
        margin-bottom: 40px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        flex-grow: 1;
        text-align: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 10px;
        min-width: 0;
    }

    .luxury-stats {
        flex-direction: column;
        gap: 15px;
        /* Tighter stats */
        padding-top: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .stat-divider {
        display: none;
        /* remove dividers in vertical stack */
    }

    .stat-item {
        padding: 10px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
        /* subtle separator */
        width: 100%;
    }

    .stat-item:last-child {
        border-bottom: none;
    }



    .contact-cta {
        padding: 60px 0;
    }

    .contact-cta h3 {
        font-size: 2rem;
    }

    .btn-lg {
        padding: 14px 30px;
        font-size: 1rem;
        width: 100%;
        /* Full width button on mobile */
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Delay animations for staggered effect */
.projects-grid .project-card:nth-child(2) {
    animation-delay: 0.1s;
}

.projects-grid .project-card:nth-child(3) {
    animation-delay: 0.2s;
}

.projects-grid .project-card:nth-child(4) {
    animation-delay: 0.3s;
}

.projects-grid .project-card:nth-child(5) {
    animation-delay: 0.4s;
}

.projects-grid .project-card:nth-child(6) {
    animation-delay: 0.5s;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading state */
.projects-grid.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Add smooth transitions to all interactive elements */
a,
button,
.project-card,
.filter-btn,
.navbar-nav .nav-link {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}