/* =========================================================================
   NEW SHABBIR METAL WORKS - UI UX PRO DESIGN SYSTEM
   Theme: Industrial Luxury & Precision Engineering
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* --- LIGHT THEME (Default) --- */
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-surface-soft: #f1f5f9;
    --color-surface-bright: #e2e8f0;

    /* Brand Accents - Re-tuned for Light Mode */
    --color-primary: #2e3192;
    --color-primary-glow: rgba(46, 49, 146, 0.15);
    --color-secondary: #475569;

    /* Text */
    --color-text-main: #0f172a;
    --color-text-muted: #475569;
    --color-text-dim: #64748b;

    /* Borders & Accents */
    --color-border: rgba(0, 0, 0, 0.08);
    --color-border-bright: rgba(0, 0, 0, 0.15);

    /* Typography (Same) */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;

    /* Radii (Same) */
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Shadows & Glows - Enhanced for Light Mode */
    --shadow-pro: 0 20px 50px -12px rgba(0, 0, 0, 0.08);
    --glow-primary: 0 0 20px var(--color-primary-glow);

    /* Transitions */
    --transition-pro: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-snappy: 0.2s ease;
}

[data-theme='dark'] {
    /* --- DARK THEME (Optional) --- */
    --color-bg: #0a0b14;
    --color-surface: #121422;
    --color-surface-soft: #1a1d2e;
    --color-surface-bright: #23273d;
    --color-primary-glow: rgba(46, 49, 146, 0.4);
    --color-text-main: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-text-dim: #64748b;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-bright: rgba(255, 255, 255, 0.15);
    --shadow-pro: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
}

/* --- THEME TOGGLE STYLE --- */
.theme-toggle {
    background: var(--color-surface-soft);
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-pro);
    font-size: 1.2rem;
}

.theme-toggle:hover {
    transform: rotate(15deg) scale(1.1);
    background: var(--color-primary);
    color: #fff;
}

[data-theme='dark'] .ph-sun {
    display: block;
}

[data-theme='dark'] .ph-moon {
    display: none;
}

.ph-sun {
    display: none;
}

.ph-moon {
    display: block;
}

/* --- RESET & GLOBALS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background: var(--color-bg);
    overflow-x: hidden;
    /* Prevent horizontal overflow at the root */
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    /* Deter Copying */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img {
    -webkit-user-drag: none;
    user-drag: none;
}

/* Subtle Blueprint Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(46, 49, 146, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 49, 146, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

[data-theme='dark'] body::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a1c54 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme='dark'] .text-gradient {
    background: linear-gradient(135deg, #ffffff 30%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    /* Sharp shadow for definition */
}

.text-muted {
    color: var(--color-text-muted);
}

.text-primary {
    color: var(--color-primary);
}

/* LAYOUT */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
}

.container-full {
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container-full {
        padding: 0 1rem;
    }
}

.section {
    padding: 10rem 0;
}

@media (max-width: 1024px) {
    .section {
        padding: 7rem 0;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 5rem 0;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3.5rem 0;
    }
}


/* BUTTONS PRO */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    transition: var(--transition-pro);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-primary);
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--color-primary-glow);
}

.btn-outline {
    background: transparent;
    color: var(--color-text-main);
    border: 1px solid var(--color-border-bright);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(46, 49, 146, 0.05);
}

@media (max-width: 480px) {
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* NAVBAR PRO */
.navbar {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    transition: var(--transition-pro);
}

.navbar .container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--color-border);
    padding: 0.75rem 2rem;
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-pro);
}

[data-theme='dark'] .navbar .container {
    background: rgba(15, 15, 15, 0.7);
}

.nav-pill {
    display: flex;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 991px) {
    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        position: relative;
        cursor: pointer;
        color: var(--color-primary);
        font-size: 1.8rem;
    }

    .nav-pill {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: transform var(--transition-pro), visibility var(--transition-pro);
        transform: translateX(100%);
        /* Off-screen without pushing layout */
        visibility: hidden;
        pointer-events: none;
        z-index: 100;
        backdrop-filter: blur(20px);
    }

    #nav-toggle:checked~.nav-pill {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .nav-pill a {
        font-size: 1.5rem;
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .nav-pill .btn {
        margin-top: 1rem;
        width: 200px;
        justify-content: center;
    }
}


.nav-pill a {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    transition: var(--transition-snappy);
    text-decoration: none;
}

.nav-pill a:hover,
.nav-pill a.active {
    color: var(--color-primary);
}

.nav-pill .btn-primary {
    color: #ffffff !important;
}

.logo-img {
    height: 45px;
    filter: none;
}

[data-theme='dark'] .logo-img {
    filter: brightness(1.2);
}

/* HERO PRO */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(to right, rgba(248, 250, 252, 0.9), rgba(248, 250, 252, 0.4)), url('../assets/images/hero/hero_image.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

[data-theme='dark'] .hero {
    background-image: linear-gradient(to right, rgba(10, 11, 20, 0.8), rgba(10, 11, 20, 0.2)), url('../assets/images/hero/hero_image.png');
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, var(--color-bg), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    width: 100%;
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 5rem);
    margin-bottom: 2rem;
    line-height: 0.95;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    word-break: break-word;
}

[data-theme='dark'] .hero h1 {
    text-shadow: none;
    /* Removed heavy glow to fix block-blur issue */
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
    border-left: 2px solid var(--color-primary);
    padding-left: 2rem;
}

/* Hero flex CTA buttons */
.hero .flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

/* Scroll Down Hint */
.scroll-down-hint {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--color-text-dim);
}

.scroll-down-hint span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

.scroll-down-hint .line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
}

@media (max-width: 768px) {
    .scroll-down-hint {
        bottom: 1.5rem;
    }

    .scroll-down-hint .line {
        height: 30px;
    }
}

@media (max-width: 768px) {
    .hero p {
        font-size: 1rem;
        padding-left: 1rem;
        margin-inline: auto;
        border-left: none;
        border-top: 2px solid var(--color-primary);
        padding-left: 0;
        padding-top: 1rem;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 11vw, 5rem);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: clamp(2rem, 12vw, 3.5rem);
        line-height: 1;
    }

    .hero p {
        font-size: 0.95rem;
    }
}


/* MODERN BENTO BOX GRID (Tailwind-Inspired) */
/* SERVICE GRID PRO */
.grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: var(--color-primary);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-pro);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-category {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.service-desc {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-link {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-snappy);
}

.service-card:hover .service-link {
    gap: 1.25rem;
}

/* ABOUT PRO */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-content {
        text-align: center;
    }

    .about-content h2 {
        font-size: 2.5rem;
    }
}


.about-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    filter: grayscale(0.5) contrast(1.2);
    transition: var(--transition-pro);
}

.about-image:hover img {
    filter: grayscale(0) contrast(1);
    transform: scale(1.05);
}

.heritage-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--color-primary);
    color: #000;
    padding: 0.5rem 1.5rem;
    font-weight: 800;
    border-radius: var(--radius-sm);
    transform: rotate(5deg);
}

/* STATS PRO */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.stats-box {
    background: var(--color-surface-soft);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    margin-top: 4rem;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stats-row {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.stat-item {
    text-align: center;
    transition: var(--transition-pro);
}

.stat-item h4 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.stat-item p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: var(--color-surface);
    border-color: var(--color-primary);
}

.stat-item h4:hover {
    transform: scale(1.05);
}

.stat-item p {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--color-text-dim);
    font-weight: 700;
}

/* CONVERSION & TRUST PRO */
.trust-bar {
    padding: 3rem 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 6rem;
    animation: marquee 40s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.trust-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.7rem;
    color: var(--color-text-main);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.5;
    transition: var(--transition-pro);
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.trust-brand img {
    height: 45px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(1) brightness(0.8);
    transition: var(--transition-pro);
}

[data-theme='dark'] .trust-brand img {
    filter: grayscale(1) brightness(1.5) invert(0);
}

.trust-brand:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.trust-brand:hover img {
    filter: grayscale(0) brightness(1);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .marquee-track {
        gap: 3rem;
        animation-duration: 25s;
    }

    .trust-brand {
        font-size: 0.9rem;
    }
}

/* MARQUEE TESTIMONIALS (Parallax Effect) */
.marquee-testimonial-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.marquee-testimonial-track {
    display: flex;
    width: max-content;
    gap: 3rem;
}

.track-fast {
    animation: marquee-left 60s linear infinite;
}

.track-slow {
    animation: marquee-right 80s linear infinite;
}

.marquee-testimonial-wrapper:hover .marquee-testimonial-track {
    animation-play-state: paused;
}

@keyframes marquee-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.testimonial-card {
    background: var(--color-surface-soft);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-bright);
    position: relative;
    transition: var(--transition-pro);
    width: 450px;
    /* Fixed width for better marquee flow */
    flex-shrink: 0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -1rem;
    left: 1.5rem;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--color-primary-glow);
    line-height: 1;
}

.testimonial-card p,
.testimonial-card h4 {
    color: var(--color-text-main);
}

/* FORMS PRO */
.quote-form-container {
    background: var(--color-surface);
    padding: 4rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-primary-glow);
    box-shadow: var(--shadow-pro);
    max-width: 900px;
    margin: 0 auto;
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .quote-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}


@media (max-width: 768px) {
    .quote-form-container {
        padding: 2rem;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    color: var(--color-text-dim);
}

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-main);
    font-family: var(--font-body);
    transition: var(--transition-snappy);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--glow-primary);
}

/* FLOATING WHATSAPP PRO */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25D366;
    /* WhatsApp Green */
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.15) rotate(-10deg);
    color: #fff;
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* PROCESS SECTION PRO */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    margin-top: 2rem;
}

.process-step {
    background: var(--color-surface);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    position: relative;
    transition: var(--transition-pro);
    height: 100%;
}

.process-step:hover {
    border-color: var(--color-primary);
    transform: translateY(-10px);
    background: var(--color-surface-soft);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-primary);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    opacity: 0.1;
    line-height: 1;
}

.process-step h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--color-text-main);
    position: relative;
    z-index: 2;
}

.process-step p {
    position: relative;
    z-index: 2;
}

@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ SECTION PRO */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: var(--transition-pro);
}

.faq-item:hover {
    border-color: var(--color-primary-glow);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--color-text-main);
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.faq-answer {
    padding: 0 2rem 1.5rem;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
    display: none;
    border-top: 1px solid transparent;
}

.faq-item.active {
    border-color: var(--color-primary);
    background: var(--color-surface-soft);
}

.faq-item.active .faq-answer {
    display: block;
    border-top-color: var(--color-border);
    padding-top: 1.5rem;
}

.faq-icon {
    font-size: 1.5rem;
    transition: var(--transition-pro);
    color: var(--color-primary);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* FOOTER PRO */
.footer {
    background: var(--color-surface-soft);
    padding: 8rem 0 4rem;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 3rem;
    }
}


.footer h4 {
    color: var(--color-primary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--color-text-muted);
    transition: var(--transition-snappy);
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 8px;
}

.footer-static-link {
    color: var(--color-text-main);
    text-decoration: none;
    transition: var(--transition-snappy);
    font-weight: 500;
}

.footer-static-link:hover {
    color: var(--color-primary);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .navbar {
        top: 1rem;
        width: 95%;
    }

    .navbar .container {
        padding: 0.5rem 1.5rem;
    }

    .hero {
        background-attachment: scroll;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero-content {
        padding-top: 5rem;
    }

    .hero .flex {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Footer column text alignment on tablet */
    .footer-col {
        text-align: left !important;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer {
        padding: 4rem 0 2rem;
    }

    /* Portfolio & Contact pages: reduce header padding */
    .portfolio-header,
    .contact-header {
        padding: 8rem 0 3rem !important;
    }

    .about-content {
        text-align: left !important;
    }
}

@media (pointer: coarse) {
    .custom-cursor {
        display: none;
    }
}


/* MASONRY GALLERY PRO */
.gallery-header {
    padding: 12rem 0 5rem;
    text-align: center;
    background: linear-gradient(to bottom, var(--color-surface-soft), var(--color-bg));
    border-bottom: 1px solid var(--color-border);
}

.gallery-container {
    padding: 5rem 0;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.masonry-item {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--color-border);
    transition: var(--transition-pro);
    background: var(--color-surface);
    aspect-ratio: 4/3;
}

.masonry-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-pro);
    border-color: var(--color-primary);
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-pro);
}

.masonry-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 1400px) {
    .masonry-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .masonry-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .masonry-item {
        aspect-ratio: 16/10;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 2rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-dim);
}

.breadcrumbs a {
    color: var(--color-primary);
    text-decoration: none;
}

/* LIGHTBOX PRO */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.2);
}

/* BACK TO TOP PRO */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: var(--color-surface);
    backdrop-filter: blur(15px);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-pro);
    box-shadow: var(--shadow-pro);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-5px);
}

/* PAGE TRANSITION */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    z-index: 10001;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.page-transition.active {
    opacity: 1;
}

/* ANIMATIONS */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}