/* 
  Modern Portfolio Theme 
  Fonts: Manrope
*/

:root {
    /* Professional Color Palette */
    --bg-color: #050505;
    --surface-color: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent: #d32f2f;
    --accent-text: #ff5252;
    --accent-glow: rgba(211, 47, 47, 0.3);
    --gradient-1: #d32f2f;
    --gradient-2: #c62828;

    /* Professional Spacing */
    --container-width: 1280px;
    --header-height: 90px;
    --section-padding: 80px;

    /* Modern Radius */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;

    /* Breakpoints */
    --bp-tablet: 768px;
    --bp-laptop: 1024px;
    --bp-desktop: 1440px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* html {
    scroll-behavior: smooth;
} */

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: auto;
    /* Restored system cursor */
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard */
    -webkit-touch-callout: none;
    /* iOS Safari */
}

body.loading {
    overflow: hidden;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.preloader-text {
    font-size: clamp(2rem, 10vw, 5rem);
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

/* Hide cursor on all interactive elements too */
a,
button,
[role="button"],
.project-card,
.service-card {
    cursor: pointer;
}

input,
textarea {
    cursor: text;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
/* Custom Cursor */
.cursor {
    display: none;
    /* Hidden requested dot, showing system cursor instead */
    position: fixed;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 0 10px rgba(211, 47, 47, 0.5), 0 0 20px rgba(211, 47, 47, 0.3);
}

.cursor-follower {
    position: fixed;
    width: 45px;
    height: 45px;
    background: rgba(211, 47, 47, 0.05);
    border: 1px solid rgba(211, 47, 47, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease, transform 0.1s linear, background 0.3s ease;
}

.cursor.active {
    width: 8px;
    height: 8px;
    opacity: 0.8;
}

.cursor-follower.active {
    width: 65px;
    height: 65px;
    background: rgba(211, 47, 47, 0.15);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(211, 47, 47, 0.2);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: var(--text-secondary);
    border: none;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid #ffffff;
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff, #999999);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 400;
}


/* Text Reveal Styles */
.reveal-text {
    display: block;
}

.reveal-text .word {
    display: inline-block;
}

/* Staggered Line reveal */
.line {
    overflow: hidden;
    vertical-align: bottom;
}


/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(82, 16, 16, 0.7);
    /* Semi-transparent red background */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 10000;
    /* Higher z-index */
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-left: 40px;
}

/* Text Logo Style */
.logo-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: #fff;
    text-transform: lowercase;
    letter-spacing: -1px;
    transition: color 0.3s ease;
}

.logo:hover .logo-text {
    color: var(--accent-text);
    /* Use accent color on hover for nice effect */
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    transform: scale(1.1);
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 20px;
    /* Reduced buffer as per user request to remove gap */
    background: #000;
    /* Solid fallback */
}

.luxury-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(0.8);
    transform: scale(1.1);
    animation: slowZoom 20s infinite alternate linear;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}

.luxury-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.95) 100%);
    z-index: 2;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    /* Increased gap to prevent overlap */
    position: relative;
    z-index: 5;
    width: 100%;
}

.hero-text {
    z-index: 2;
}

/* Hide hero text initially for intro animation */
.hero-text>* {
    opacity: 0;
}

/* Show after loading */
body:not(.loading) .hero-text>* {
    opacity: 1;
}

.hero-text h3 {
    font-size: clamp(2rem, 5vw, 3rem);
    /* Increased minimum size slightly for readability but clamp handles scaling */
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    /* Allow wrapping on small screens */
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    opacity: 0;
}

/* Show after loading */
body:not(.loading) .hero-image-wrapper {
    opacity: 1;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(255, 42, 42, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    filter: blur(60px);
    animation: glowPulse 8s infinite alternate ease-in-out;
}

@keyframes glowPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.hero-img {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 2;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        order: 1;
    }

    .hero-image-wrapper {
        order: -1;
    }

    .hero-btns {
        justify-content: center;
        gap: 16px;
        /* Slightly tighter gap on mobile */
    }
}

.section-header {
    margin-bottom: 50px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-badge {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-text);
    margin-bottom: 16px;
}

.section-header h2,
.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Vertical Trending Gallery (Horizontal Visuals + Vertical Scroll) */
.vertical-trending-gallery {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 50px;
}

.trending-project-card {
    position: relative;
    width: 100%;
    height: 70vh;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--surface-color);
    cursor: pointer;
}

.project-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.project-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.trending-project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.trending-project-card:hover .project-image-container img {
    transform: scale(1.05);
}

.project-details .category {
    color: var(--accent-text);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.project-details h3 {
    font-size: 2.5rem;
    margin-bottom: 0;
}

.view-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.view-btn i {
    transition: transform 0.3s ease;
}

.trending-project-card:hover .view-btn i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .trending-project-card {
        height: 60vh;
    }

    .project-overlay {
        opacity: 1;
        transform: none;
        padding: 30px;
    }

    .project-details h3 {
        font-size: 1.8rem;
    }
}

.project-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    /* Fill card */
    aspect-ratio: 7/5;
    /* Updated Ratio */
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Zoom and Slide base state */
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.9);
}

/* Hover: Speedy Zoom & Continuous Flow */
@keyframes flowLeft {
    0% {
        transform: scale(1.15) translateX(0);
    }

    100% {
        transform: scale(1.15) translateX(-20px);
    }
}

.project-card:hover .project-image img {
    /* Using animation for a continuous feeling or just a larger transition? 
       Let's stick to a larger transition first as it's smoother. 
       "Flowing" implies movement. */
    transform: scale(1.2) translateX(-30px);
    /* Larger zoom and slide */
    filter: brightness(0.6);
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    /* Slower, smoother flow */
}

/* Remove old overlay icon */
.project-image .overlay {
    /* Uniform dark overlay for centered text readability */
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.project-card:hover .project-image .overlay {
    opacity: 1;
}

.project-image .overlay i {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    padding: 10px;
    width: 44px;
    height: 44px;
    transform: rotate(45deg) scale(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover .project-image .overlay i {
    transform: rotate(0deg) scale(1);
    transition-delay: 0.1s;
}

/* Text Overlay */
/* Text Overlay - Centered */
.project-info {
    position: absolute;
    top: 10px;
    /* Offset for padding */
    left: 10px;
    /* Offset for padding */
    width: calc(100% - 20px);
    /* Adjust size */
    height: calc(100% - 20px);
    /* Adjust size */
    padding: 32px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: all 0.4s ease-out;
}

.project-card:hover .project-info {
    opacity: 1;
}

.project-info h3 {
    font-size: 1.8rem;
    /* Slightly larger for center stage */
    margin-bottom: 8px;
    color: #fff;
    transform: translateY(30px);
    transition: transform 0.4s ease-out;
}

.project-card:hover .project-info h3 {
    transform: translateY(0);
}

.project-info span {
    color: var(--accent-text);
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    transform: translateY(30px);
    transition: transform 0.4s ease-out;
    transition-delay: 0.1s;
}

.project-card:hover .project-info span {
    transform: translateY(0);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-color), #0f0f14);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-text h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-secondary);
}

.detail-item i {
    color: var(--accent-text);
}

.contact-form-wrapper {
    position: relative;
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    min-height: 500px;
}

.contact-form {
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.contact-form.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    display: none;
}

.contact-success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.05);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
}

.contact-success.show {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    display: flex;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 184, 148, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #00b894;
}

.success-icon i {
    width: 40px;
    height: 40px;
}

.contact-success h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-success p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 350px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
    transform: translateY(-2px);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: inherit;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: inherit;
    transition: all 0.3s ease;
    min-height: 200px;
    resize: vertical;
    pointer-events: auto;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a:hover {
    color: var(--accent-text);
    transform: translateY(-2px);
}

/* Large Screens / Monitors */
/* Large Screens / Monitors */
@media (min-width: 1441px) {
    :root {
        --container-width: 1400px;
    }

    .hero h1 {
        font-size: 5.5rem;
    }

    .hero p {
        font-size: 1.25rem;
        max-width: 650px;
    }

    .hero-container {
        gap: 100px;
        align-items: center;
    }

    .hero-img {
        max-width: 650px;
    }

    .project-card,
    .service-card {
        padding: 40px;
        /* More breathing room */
    }
}

/* Extra Large Screens / 4K Monitors */
@media (min-width: 1921px) {
    :root {
        --container-width: 1800px;
        --section-padding: 160px;
    }

    .hero h1 {
        font-size: 7rem;
        margin-bottom: 40px;
    }

    .hero p {
        font-size: 1.5rem;
        max-width: 800px;
    }

    .hero-container {
        gap: 150px;
    }

    .hero-img {
        max-width: 850px;
    }

    .section-header {
        max-width: 1000px;
    }

    .section-header p {
        font-size: 1.4rem;
        max-width: 800px;
    }

    .about-content {
        max-width: 1000px;
    }

    .section-title {
        font-size: 4.5rem;
    }

    /* Scaling grids for wider screens */
    .services-grid,
    .awards-grid,
    .testimonials-grid {
        gap: 60px;
    }

    .service-card,
    .award-card,
    .testimonial-card {
        padding: 60px;
    }

    .service-card h3,
    .award-card h3 {
        font-size: 1.8rem;
    }

    .service-card p,
    .award-card p,
    .contact p {
        font-size: 1.2rem;
    }

    /* Scaling Projects */
    .trending-project-card {
        height: 80vh;
    }

    .project-details h3 {
        font-size: 3.5rem;
    }

    .project-details .category {
        font-size: 1.2rem;
    }

    /* Contact Section scaling */
    .contact-container {
        gap: 100px;
    }

    .contact-text h2 {
        font-size: 4rem;
    }
}

/* Media Queries */
@media (max-width: 1024px) {

    /* Tablet/Laptop */
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-container {
        gap: 30px;
    }
}

@media (max-width: 900px) {
    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        /* Better clamp for mobile */
    }

    .hero-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }

    .hero-text {
        margin: 0 auto;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: row;
        /* Ensure they stay in row but wrap */
    }

    .hero-image-wrapper {
        order: 1;
        /* Image BELOW text on mobile/tablet as per standard flow, or keep -1 if they want it top. Standard is often text first. Let's stick to text first for readability. */
        margin-top: -20px;
        /* Pull it up slightly if needed */
        margin-bottom: 0;
    }

    .hero-img {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        /* Slide out by default */
        width: 100%;
        height: 100vh;
        background: rgba(13, 13, 17, 0.95);
        backdrop-filter: blur(10px);
        padding: 100px 40px;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links .nav-link {
        font-size: 1.5rem;
    }

    .hamburger {
        display: block;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
        /* A little buffer on mobile */
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .contact-form {
        padding: 24px;
    }
}

/* Custom Cursor */
.cursor {
    width: 6px;
    height: 6px;
    background: var(--accent-text);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s, height 0.3s;
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent-text);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s, border 0.3s, transform 0.1s ease-out;
}

.cursor.active {
    width: 8px;
    height: 8px;
}

.cursor-follower.active {
    width: 60px;
    height: 60px;
    background: rgba(82, 16, 16, 0.1);
    border-color: var(--accent-text);
}

@media (pointer: coarse) {

    .cursor,
    .cursor-follower {
        display: none;
    }
}

/* Client Logos Marquee */
/* Client Logos Marquee - Standard */
.clients {
    padding: 60px 0;
    background: #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
}

.clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(20, 0, 0, 0.4), transparent 70%);
    pointer-events: none;
}

.marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    user-select: none;
}

.track.swiper-wrapper {
    display: flex;
    transition-timing-function: linear !important;
}

.client-logo.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 150px;
    height: 100px;
    padding: 0 40px;
}

/* Logo image styles */
.client-logo img {
    max-height: 60px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7) opacity(0.6);
    transition: all 0.4s ease;
}

/* Simple Hover State */
.client-logo:hover img {
    filter: grayscale(0%) brightness(1) opacity(1);
    transform: scale(1.05);
}

/* Legacy text logo styles (fallback) */
.client-logo span {
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.client-logo:hover span {
    color: rgba(255, 255, 255, 0.8);
}

/* CSS scroll animation removed in favor of Swiper JS interaction */

/* Vertical Trending Gallery (Horizontal Visuals + Vertical Scroll) */
.portfolio {
    padding: 100px 0;
    /* Background handled by luxury-bg now */
    position: relative;
    overflow: hidden;
}

.portfolio .container {
    position: relative;
    z-index: 5;
}


/* Poster Gallery Section */
.poster-gallery-section {
    width: 100%;
    margin: 40px 0;
    overflow: hidden;
}

/* Luxury Grid (Brochures) */
.luxury-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    padding: 100px 24px;
    max-width: 1600px;
    margin: 0 auto;
}

.glass-card {
    display: block;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.glass-card-cover-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1.2;
    /* Portrait ratio for brochures */
    overflow: hidden;
}

.glass-card-cover {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.glass-card:hover .glass-card-cover {
    transform: scale(1.05);
}

.glass-card-overlay-btn {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card:hover .glass-card-overlay-btn {
    opacity: 1;
}

.click-to-view-btn {
    padding: 12px 24px;
    background: #fff;
    color: #000;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.glass-card:hover .click-to-view-btn {
    transform: translateY(0);
}

.glass-card-info {
    padding: 24px;
}

.glass-card-subtitle {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-text);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.glass-card-title {
    font-size: 1.4rem;
    color: #fff;
    margin: 0;
}

/* Response adjustments for Luxury Grid */
@media (max-width: 768px) {
    .luxury-grid {
        grid-template-columns: 1fr;
        padding: 60px 20px;
        gap: 30px;
    }
}

.poster-header-inline {
    margin-bottom: 24px;
    padding-left: 8px;
}

.poster-header-inline h3 {
    font-size: 1.8rem;
    color: #fff;
    margin: 8px 0;
}

.poster-header-inline .category {
    color: var(--accent-text);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.poster-header-inline p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.poster-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 8px 30px 8px;
    /* Bottom padding for scrollbar or shadow */
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) #111;
}

.poster-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.poster-scroll-container::-webkit-scrollbar-track {
    background: #111;
}

.poster-scroll-container::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

.poster-item {
    flex: 0 0 auto;
    height: 400px;
    /* Fixed height for uniformity */
    border-radius: var(--radius-sm);
    overflow: hidden;
    scroll-snap-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: grab;
}

.poster-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--accent);
}

.poster-item img {
    height: 100%;
    width: auto;
    object-fit: cover;
    display: block;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #000;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 0;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(100, 0, 0, 0.05), transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 32px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-card i {
    color: var(--accent-text);
    width: 40px;
    height: 40px;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(to bottom, #000, #050505);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 32px;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Awards Section */
.awards {
    padding: 100px 0;
    background: var(--bg-color);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.award-card {
    padding: 40px;
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.award-card:hover {
    border-color: var(--accent-text);
    transform: translateY(-5px);
}

.award-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.award-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 20px;
}

.award-year {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(220, 38, 38, 0.1);
    color: var(--accent-text);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 20px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: #000;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    padding: 50px;
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    position: relative;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    color: var(--accent-text);
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-text);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .stats {
        gap: 40px;
    }
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: #020202;
    position: relative;
}

.faq::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.faq-item {
    background: rgba(25, 25, 25, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-item.active {
    border-color: var(--accent-text);
}

.faq-header {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.faq-header i {
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
    color: var(--accent-text);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(255, 255, 255, 0.01);
}

.faq-body p {
    padding: 0 32px 32px 32px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

@media (min-width: 1921px) {
    .faq-container {
        max-width: 1000px;
    }

    .faq-header {
        padding: 40px;
    }

    .faq-header h3 {
        font-size: 1.5rem;
    }

    .faq-body p {
        font-size: 1.2rem;
        padding: 0 40px 40px 40px;
    }
}

/* Typographic Cover for Brochures (Luxury Text-Based Design) */
.typo-cover {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #050505 0%, #1c1c1c 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Subtle luxury pattern */
.typo-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    pointer-events: none;
}

.typo-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, #000 90%);
    pointer-events: none;
}

.typo-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    z-index: 2;
    transform: translateY(-10px);
}

.typo-list span {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    letter-spacing: 4px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    line-height: 1.1;
}

/* Highlight Effect on Hover */
.trending-project-card:hover .typo-list span {
    color: rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
}

.trending-project-card:hover .typo-list span:hover {
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.trending-project-card:hover .typo-cover {
    transform: scale(1.05);
}

/* Staggered transition for list items */
.typo-list span:nth-child(1) {
    transition-delay: 0.05s;
}

.typo-list span:nth-child(2) {
    transition-delay: 0.1s;
}

.typo-list span:nth-child(3) {
    transition-delay: 0.15s;
}

.typo-list span:nth-child(4) {
    transition-delay: 0.2s;
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    color: #FFF;
}

.whatsapp-float i {
    width: 32px;
    height: 32px;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    border: none;
    margin-top: 20px;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    color: #fff;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .whatsapp-float i {
        width: 24px;
        height: 24px;
    }
}

/* Luxury Brochure Theme - Premium Additions */
:root {
    --lux-bg-dark: #050505;
    --lux-gold: #d4af37;
    --lux-gold-dim: #aa8c2c;
    --lux-gold-glow: rgba(212, 175, 55, 0.25);
    --lux-glass: rgba(20, 20, 20, 0.4);
    --lux-glass-border: rgba(255, 255, 255, 0.08);
    --lux-text-gold: #f3e5ab;
}

/* Ensure body uses new fonts when applied */
.brochure-body {
    background-color: var(--lux-bg-dark);
    /* Fallback */
    font-family: 'Manrope', sans-serif;
    /* Canvas background will be prepended by js/background.js */
}

/* Luxury Hero - Transparent BG to see animation */
.hero-luxury {
    position: relative;
    /* Reduced height to remove large gap */
    height: 35vh;
    min-height: 250px;
    display: flex;
    align-items: flex-end;
    /* Align bottom so title is closer to content if desired, or keep center. Center is safer but height reduction is key. */
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0px;
    /* Removed margin */
    padding-bottom: 20px;
    /* Small padding instead */
}

/* Remove image background from hero to let canvas show through or make it very subtle */
.hero-luxury-bg {
    display: none;
    /* Hide static image to show JS canvas animation */
}

/* Keep overlay but make it lighter */
.hero-luxury-overlay {
    /* User requested to remove separation background */
    display: none;
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(5, 5, 5, 0.8) 100%);
    z-index: 1;
}

.hero-luxury-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-luxury-title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    /* Increased weight for Manrope to look premium */
    letter-spacing: -0.02em;
    /* Adjusted tracking for Manrope */
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
    background: linear-gradient(to right, #cfc09f 20%, #ffecb3 40%, #bf953f 60%, #cfc09f 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero-luxury-subtitle {
    font-size: 1.1rem;
    color: var(--lux-text-gold);
    letter-spacing: 0.05em;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Luxury Grid */
.luxury-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    /* Reduced top padding */
    padding: 10px 40px 40px;
}

/* Glass Morphic Card - Updated Layout */
.glass-card {
    position: relative;
    background: var(--lux-glass);
    border: 1px solid var(--lux-glass-border);
    border-radius: 4px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--lux-gold-glow), transparent 40%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.3);
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card-cover-wrapper {
    position: relative;
    width: 100%;
    /* Changed from 4/3 to a taller aspect ratio to better fit brochures */
    aspect-ratio: 1 / 1.414;
    overflow: hidden;
    border-bottom: 1px solid var(--lux-glass-border);
    background: rgba(0, 0, 0, 0.2);
    /* Dark bg for empty space */
}

.glass-card-cover {
    width: 100%;
    height: 100%;
    /* Use 'contain' to show full image without cropping */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.8s ease;
    filter: brightness(0.9);
}

.glass-card:hover .glass-card-cover {
    transform: scale(1.1);
    filter: brightness(1) saturate(1.1);
}

/* New Click Overlay Button */
.glass-card-overlay-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.glass-card:hover .glass-card-overlay-btn {
    opacity: 1;
}

.click-to-view-btn {
    padding: 12px 24px;
    background: var(--lux-gold);
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 30px;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 8px;
}

.glass-card:hover .click-to-view-btn {
    transform: translateY(0);
}

/* Info Section - Now Below Image */
.glass-card-info {
    position: relative;
    width: 100%;
    padding: 24px;
    background: transparent;
    transform: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card:hover .glass-card-info {
    transform: none;
    /* Disable previous hover effect */
}

.glass-card-title {
    font-family: 'Manrope', sans-serif;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.glass-card-subtitle {
    display: block;
    color: var(--lux-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    opacity: 0.8;
}

/* Remove old small button style if present or repurpose */
.glass-card-btn {
    display: none;
}