/* --- style.css --- */
/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;700&display=swap');

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #f0f0f0;
    --text-primary: #0a0a0a;
    --text-secondary: #333333;
    --text-muted: #666666;
    --accent: #FF0000;
    --accent-red: #FF0000;
    --border: rgba(0, 0, 0, 0.1);
    --border-color: rgba(0, 0, 0, 0.08);

    --font-heading: 'Bebas Neue', 'Neue Haas Grotesk Display Pro', sans-serif;
    --font-body: 'Inter', 'Suisse Intl', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-red: 0 8px 30px rgba(255, 0, 0, 0.15);

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Smooth transitions for theme switching */
*,
*::before,
*::after {
    transition-property: background-color, color, border-color, opacity;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

/* @font-face declarations would go here if we had local files, using Google Fonts for now where available or close matches */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography Utilities */
.heading-xl {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-primary);
    line-height: 1.1;
}

/* Gradient text for heading-xl */
.heading-xl {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.heading-lg {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2;
}

.heading-md {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.3;
}

.text-body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
    /* Changed from --color-medium-grey */
}

.text-bold {
    font-weight: 700;
    color: var(--text-primary);
    /* Changed from --color-white */
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 16px 36px;
    background: var(--text-primary);
    border: 2px solid var(--text-primary);
    color: var(--bg-primary);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Button variant inside dark hero */
.hero .btn-primary {
    background: transparent;
    border-color: #ffffff;
    color: #ffffff;
}

.hero .btn-primary:hover {
    background: #ffffff;
    color: #0a0a0a;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Layout Utilities */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 60px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 14px 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.header.hidden {
    transform: translateY(-100%);
}

/* Hide header when mobile menu is active */
body.menu-open .header {
    transform: translateY(-100%);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 50px;
    border-radius: 0;
    transition: all 0.4s ease;
    box-shadow: none;
    filter: brightness(0) invert(1);
}

.header.scrolled .logo img {
    height: 42px;
    filter: none;
}

/* Navigation styles follow */

.nav-menu {
    display: block;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.header.scrolled .nav-link {
    color: #333;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF0000;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: #111;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Header CTA Button */
.header-cta {
    display: inline-block;
    padding: 10px 24px;
    background: #FF0000;
    color: #ffffff !important;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-left: 16px;
}

.header-cta:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    /* Hide on desktop */
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.3s ease;
    z-index: 10000;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-menu-toggle span {
    width: 28px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .mobile-menu-toggle span {
    background: #111;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    display: flex;
    padding: 80px 40px 60px;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-overlay .menu-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 60px;
}

.mobile-menu-overlay .menu-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mobile-menu-overlay .menu-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    min-width: 250px;
}

.mobile-menu-overlay nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-overlay nav ul li {
    margin-bottom: 32px;
}

.mobile-menu-overlay nav ul li a {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    display: inline-block;
}

.mobile-menu-overlay nav ul li a:hover {
    color: var(--accent-red);
    transform: translateX(10px);
}

.mobile-menu-contact {
    text-align: right;
}

.mobile-menu-contact a {
    display: block;
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-primary);
    text-decoration: none;
    margin-bottom: 24px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.mobile-menu-contact a:hover {
    color: var(--accent-red);
}

.mobile-menu-socials {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.mobile-menu-socials a {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.mobile-menu-socials a:hover {
    color: var(--accent-red);
}

.mobile-menu-soci.nav-link.active {
    color: var(--accent-red);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    border-color: var(--accent-red);
    transform: rotate(90deg);
}

.mobile-menu-close::before,
.mobile-menu-close::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--text-primary);
    transition: background 0.3s ease;
}

.mobile-menu-close::before {
    transform: rotate(45deg);
}

.mobile-menu-close::after {
    transform: rotate(-45deg);
}

.mobile-menu-close:hover::before,
.mobile-menu-close:hover::after {
    background: var(--accent-red);
}

/* Mobile Menu Responsive */
@media (max-width: 768px) {
    .mobile-menu-overlay {
        padding: 80px 30px 40px;
    }

    .mobile-menu-overlay .menu-content {
        flex-direction: column;
        gap: 60px;
    }

    .mobile-menu-overlay nav ul li a {
        font-size: 36px;
    }

    .mobile-menu-overlay .menu-right {
        align-items: flex-start;
        min-width: 100%;
    }

    .mobile-menu-contact {
        text-align: left;
    }

    .mobile-menu-contact a {
        font-size: 18px;
    }

    .mobile-menu-socials {
        justify-content: flex-start;
    }
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: 2px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 0;
}

.theme-toggle:hover {
    border-color: var(--accent-red);
    background: rgba(255, 0, 0, 0.1);
    transform: scale(1.1);
}

.theme-toggle svg {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
    stroke: var(--text-primary);
}

.sun-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.8);
}

.moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

body.light-theme .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

body.light-theme .moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.8);
}

/* Carousel Section */
.hero {
    min-height: 70vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 140px 20px 60px 20px;
    /* Prevent overlap with fixed header, allow growth */
    background: #050505;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 80px);
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
    /* Override the gradient text fill from .heading-xl */
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #ffffff;
    background-clip: unset;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

.hero p {
    font-size: clamp(18px, 2vw, 22px);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* ── Inner Page Heroes (Services, About, Contact) ── */
.inner-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 40px 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Ken Burns zoom animation on the background */
.inner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    animation: heroZoom 20s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

.inner-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.inner-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.inner-hero-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #FF0000;
    margin-bottom: 16px;
}

.inner-hero-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #FF0000, #cc0000);
    margin: 0 auto 28px;
}

.inner-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -1px;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.inner-hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .inner-hero {
        min-height: 40vh;
        padding: 120px 20px 60px;
    }
}

/* Introduction — Premium Split Layout */
.introduction {
    padding: 100px 0;
    background: #fafafa;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.intro-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.intro-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #FF0000;
    margin-bottom: 20px;
}

.intro-accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FF0000, #cc0000);
    margin-bottom: 32px;
    border-radius: 2px;
}

.intro-heading {
    font-family: var(--font-heading);
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.15;
    letter-spacing: -1px;
    color: #111111;
    text-transform: none;
}

.intro-heading em {
    font-style: italic;
    color: #FF0000;
}

.intro-text {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.9;
    color: #555555;
    font-weight: 300;
}

.intro-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 36px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #111111;
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 2px solid #111111;
    transition: all 0.3s ease;
}

.intro-cta:hover {
    color: #FF0000;
    border-color: #FF0000;
    gap: 16px;
}

.intro-cta svg {
    transition: transform 0.3s ease;
}

.intro-cta:hover svg {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .intro-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 24px;
    }

    .introduction {
        padding: 60px 0;
    }
}

/* ── CTA Bottom Section ── */
.cta-bottom {
    position: relative;
    padding: 120px 20px;
    text-align: center;
    background: url('../images/about-team-cta.jpg') center/cover no-repeat;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* Force white text — override the gradient fill from .heading-xl */
.cta-content .heading-xl {
    color: #ffffff;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #ffffff;
    background-clip: unset;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    font-size: clamp(36px, 5vw, 64px);
}

.cta-text {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 18px;
    margin: 20px 0 40px;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.85);
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    cursor: pointer;
}

.cta-button:hover {
    background: #FF0000;
    border-color: #FF0000;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .cta-bottom {
        padding: 80px 20px;
    }
}

/* ── Works Cards & Grid ── */
.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.work-card {
    display: block;
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow-sm);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.4s ease;
    text-decoration: none;
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.work-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-image img {
    transform: scale(1.06);
}

.work-overlay-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: #ffffff;
    z-index: 2;
}

/* Works Page Grid (works.php) */
.works-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media (max-width: 768px) {

    .works-grid,
    .works-list {
        grid-template-columns: 1fr;
    }
}

/* Testimonials */
.testimonials {
    padding: 160px 0;
    background: linear-gradient(180deg, #f9f9f9 0%, #ffffff 100%);
}

.testimonials .heading-lg {
    color: #0a0a0a !important;
    /* Forces dark text */
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.testimonial-card {
    padding: 60px;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-red), transparent, var(--text-primary));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.testimonial-card:hover::before {
    opacity: 0.1;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--border-color);
    box-shadow: 0 25px 70px rgba(255, 0, 0, 0.15);
}

/* Works Grid */
.works-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.work-card {
    display: block;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
    background: var(--bg-primary);
    border: 1px solid rgba(0, 0, 0, 0.04);
    width: 100%;
}

.work-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 0, 0, 0.1);
    transform: translateY(-8px);
}

.work-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.work-card:hover .work-image img {
    transform: scale(1.04);
}

.work-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.work-category {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.work-info {
    padding: 30px;
}

.work-info .heading-md {
    font-size: 24px;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .works-list {
        grid-template-columns: 1fr;
    }
}

/* Trends */
.trends {
    background-color: var(--bg-primary);
    /* Changed from --color-black */
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.news-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    margin-bottom: 24px;
    border-radius: 4px;
}

/* FAQ */
.faqs {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px;
}

.faq-item {
    border-bottom: 1px solid var(--text-secondary);
    /* Changed from #333 */
}

.faq-question {
    padding: 32px 0;
    font-size: 24px;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--text-secondary);
    /* Changed from --color-light-grey */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    color: var(--text-muted);
    /* Changed from --color-medium-grey */
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer.active {
    max-height: 300px;
    padding-bottom: 32px;
}

/* Contact Form */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 32px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    background: var(--bg-tertiary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    padding: 80px 60px 30px;
    background: #ffffff;
    /* White background */
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer * {
    color: var(--text-primary) !important;
    /* Dark text */
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #FF0000, transparent);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 500px;
}

.footer-social {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links ul {
    padding: 0;
}

.footer-link {
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--accent-red) !important;
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.footer-bottom p:first-child {
    margin-bottom: 8px;
}

.social-link {
    padding: 10px 20px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    display: inline-block;
    font-size: 13px;
    font-family: var(--font-body);
    color: var(--text-primary) !important;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-link:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: #FF0000;
    transform: translateY(-2px);
    color: #FF0000 !important;
}

/* Custom Cursor */
body {
    cursor: none;
    /* Hide default cursor */
}

.cursor-dot,
.cursor-circle {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: #000000;
    /* Black cursor */
}

.cursor-circle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.5);
    /* Dark circle */
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-circle.hovered {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.1);
    /* Dark hover effect */
    border-color: transparent;
    backdrop-filter: blur(2px);
}

/* Button & Link Hover Effects */
a,
button,
.faq-question {
    cursor: none;
    /* Ensure custom cursor is used */
}

/* Parallax Class */
.parallax-img {
    transition: transform 0.1s linear;
    /* Smooth update */
    will-change: transform;
}

/* --- CONSOLIDATED FIXES (MERGED) --- */

/* 1. Header Overlap Fixes */
.hero,
.page-header,
.services-hero,
.blog-post-hero,
.work-hero {
    padding-top: 100px;
}

/* 2. Mobile Menu Fixes */
.mobile-menu-overlay {
    z-index: 11000 !important;
    padding-top: 0 !important;
    background: #ffffff !important;
}

.mobile-menu-overlay .menu-content {
    margin-top: 0 !important;
}

body.menu-open .header {
    transform: translateY(-100%) !important;
    pointer-events: none;
    opacity: 0;
}

/* 3. Preloader (Ensure it doesn't block) */
.preloader {
    display: none !important;
}

/* --- carousel.css --- */
.carousel-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.carousel-header {
    text-align: center;
    margin-bottom: 60px;
}

.carousel-container {
    position: relative;
    padding: 0 60px;
}

.carousel-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    min-width: 380px;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.carousel-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.carousel-card-image {
    width: 100%;
    height: 60%;
    object-fit: cover;
}

.carousel-card-content {
    padding: 30px;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.carousel-card p {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    border-color: var(--accent-red);
    background: var(--accent-red);
}

.carousel-btn svg {
    stroke: var(--text-primary);
}

.carousel-btn:hover svg {
    stroke: white;
}

@media (max-width: 768px) {
    .carousel-card {
        min-width: 300px;
        height: 400px;
    }

    .carousel-container {
        padding: 0 20px;
    }
}

/* --- sections.css --- */
/* Why Choose Section */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-top: 60px;
}

.why-choose-item {
    text-align: center;
}

.why-choose-item * {
    color: #0a0a0a !important;
    /* Default to dark text */
}

.why-choose-icon {
    width: 80px;
    height: 80px;
    border: 2px solid #0a0a0a;
    /* Dark border */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    color: #0a0a0a !important;
    /* Dark icon */
    transition: all 0.3s ease;
}

.why-choose-item:hover .why-choose-icon {
    border-color: #FF0000;
    color: #FF0000 !important;
    transform: scale(1.1);
}

.why-choose-item .heading-md {
    margin-bottom: 16px;
}

/* Process Section */
.process-section {
    background: #f0f0f0;
    /* Light gray background */
    padding: 120px 20px;
}

.process-section * {
    color: #0a0a0a !important;
    /* Dark text */
}



.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.process-number {
    font-size: 60px;
    font-family: var(--font-heading);
    margin-bottom: 20px;
    opacity: 0.1;
    /* Reduced opacity for watermark effect */
    color: #0a0a0a !important;
    /* Dark number */
}

.process-grid .heading-md {
    margin-bottom: 16px;
}

/* Service Title */
.service-title {
    margin-bottom: 24px;
    font-size: 40px;
}

.services-cta {
    text-align: center;
    margin-top: 40px;
}

/* Testimonial Quote */
.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 1.4;
    color: #cccccc !important;
}

body.light-theme .testimonial-quote {
    color: #333333 !important;
}

/* CTA Section */
.cta-bottom {
    background: url('../images/about-team-cta.jpg') center/cover no-repeat;
    padding: 160px 20px;
    text-align: center;
    position: relative;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

body.light-theme .cta-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content * {
    color: #ffffff !important;
}

.cta-text {
    margin: 24px 0 40px;
}

.cta-button {
    background: white !important;
    color: black !important;
    border-color: white !important;
    padding: 16px 32px;
}

.cta-button:hover {
    background: #FF0000 !important;
    color: white !important;
    border-color: #FF0000 !important;
}

/* Services Section (Restored) */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 120px;
    margin-top: 80px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 80px;
    justify-content: space-between;
}

/* Alternate direction for even items */
.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-info {
    flex: 1;
    max-width: 500px;
}

.service-img {
    flex: 1;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-item:hover .service-img img {
    transform: scale(1.05);
    /* Subtle zoom */
}

/* Responsive Services */
@media (max-width: 1024px) {
    .service-item {
        gap: 40px;
    }

    .service-img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .services-list {
        gap: 60px;
    }

    .service-item,
    .service-item:nth-child(even) {
        flex-direction: column;
        gap: 30px;
        text-align: left;
        /* Keep left align or center based on pref */
    }

    .service-info {
        max-width: 100%;
    }

    .service-img {
        width: 100%;
        height: 250px;
    }
}

/* --- faq.css --- */
/* FAQ Section */
.faq-section {
    padding: 120px 0;
    background: #ffffff;
    /* Light background */
}

.faq-section .heading-lg {
    text-align: center;
    margin-bottom: 60px;
    color: #0a0a0a !important;
    /* Dark text */
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    /* Dark border */
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-red);
}

.faq-question h3 {
    font-size: 20px;
    font-weight: 400;
    margin: 0;
    color: #0a0a0a !important;
    /* Dark text */
    transition: color 0.3s ease;
}

.faq-question:hover h3 {
    color: #FF0000 !important;
}

.faq-icon {
    font-size: 32px;
    font-weight: 300;
    color: #0a0a0a;
    /* Dark icon */
    transition: transform 0.3s ease, color 0.3s ease;
    min-width: 32px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #FF0000;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
    color: #666666 !important;
    /* Muted dark text */
    line-height: 1.8;
    padding-bottom: 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 10px;
}

/* --- works.css --- */
/* Works Page Styles */
.page-header {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 40px 60px;
    background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
}

.page-header .heading-xl {
    margin-bottom: 24px;
    color: #0a0a0a !important;
    /* Dark text */
}

.page-header .text-body {
    max-width: 700px;
    color: #666666 !important;
    /* Muted dark text */
}

/* Works Grid */
.works-grid {
    padding: 120px 0;
}

.works-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 60px;
}

.work-card {
    text-decoration: none;
    display: block;
    transition: transform 0.4s ease;
}

.work-card:hover {
    transform: translateY(-10px);
}

.work-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 24px;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.05);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 100%);
    /* Light overlay */
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-category {
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 2px;
    color: #0a0a0a;
    /* Dark text */
    text-transform: uppercase;
}

.work-info h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: #0a0a0a !important;
    /* Dark text */
}

.work-info p {
    color: #666666 !important;
    /* Muted dark text */
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .works-list {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .work-image {
        height: 300px;
    }
}

/* --- work-detail.css --- */
/* Work Detail Page Styles */
.work-hero {
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    /* Light gradient */
    overflow: hidden;
}

.work-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(255, 255, 255, 0.3) 100%);
}

.work-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px;
}

.work-hero-category {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 3px;
    color: #FF0000;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.work-hero .heading-xl {
    color: #0a0a0a !important;
    /* Dark text */
}

/* Work Content */
.work-content {
    padding: 100px 0 60px;
}

.work-description {
    max-width: 900px;
    margin: 0 auto 60px;
}

.work-description .text-body {
    font-size: 24px;
    line-height: 1.6;
    color: #333333 !important;
    /* Dark text */
}

.work-full-description {
    max-width: 900px;
    margin: 0 auto;
}

.work-full-description .heading-lg {
    margin-bottom: 30px;
    color: #0a0a0a !important;
    /* Dark text */
}

.work-full-description .text-body {
    font-size: 18px;
    line-height: 1.8;
    color: #666666 !important;
    /* Muted dark text */
}

/* Work Gallery */
.work-gallery {
    padding: 80px 0 120px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* First item spans 2 columns */
.gallery-item:first-child {
    grid-column: span 2;
    height: 500px;
}

/* Responsive */
@media (max-width: 968px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item:first-child {
        grid-column: span 1;
        height: 400px;
    }

    .gallery-item {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .work-hero {
        height: 60vh;
        min-height: 400px;
    }

    .work-description .text-body {
        font-size: 18px;
    }
}

/* --- smooth.css --- */
/* Enhanced Smooth Animations */

/* Smooth page transitions */
.page-transition {
    opacity: 0;
    animation: fadeInPage 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced reveal animations */
.reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.before-reveal {
    opacity: 0;
    transform: translateY(40px);
}

/* Stagger animations for grids */
.stagger-container>* {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-container.before-stagger>* {
    opacity: 0;
    transform: translateY(30px);
}

.stagger-container>*:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-container>*:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-container>*:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-container>*:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger-container>*:nth-child(5) {
    transition-delay: 0.5s;
}

.stagger-container>*:nth-child(6) {
    transition-delay: 0.6s;
}

/* Smooth hover effects */
.scale-up {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-up:hover {
    transform: scale(1.02);
}

/* Parallax effect for heroes */
.parallax-bg {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Smooth link underlines */
a:not(.btn-primary):not(.mobile-nav-link) {
    position: relative;
    text-decoration: none;
}

a:not(.btn-primary):not(.mobile-nav-link)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

a:not(.btn-primary):not(.mobile-nav-link):hover::after {
    width: 100%;
}

/* Hardware acceleration for smooth animations */
.fade-up,
.scale-up,
.slide-in {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Smooth image loading */
img {
    opacity: 0;
    animation: fadeInImage 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

@keyframes fadeInImage {
    to {
        opacity: 1;
    }
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

body.light-theme ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
}

body.light-theme ::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* --- blog.css --- */
/* Blog Teaser Section */
.blog-teaser {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.blog-teaser .heading-lg {
    text-align: center;
    margin-bottom: 20px;
    color: #0a0a0a !important;
    /* Default dark text */
}

.blog-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: #666666 !important;
    /* Default dark text muted */
    font-size: 18px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.blog-card {
    text-decoration: none;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    /* Light background */
    color: #0a0a0a;
    /* Dark text */
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
}

.blog-content h3 {
    font-size: 20px;
    color: #0a0a0a !important;
    /* Dark text */
    transition: color 0.3s ease;
}

.blog-card:hover .blog-content h3 {
    color: #FF0000 !important;
}

.blog-cta {
    text-align: center;
}

/* Responsive */
@media (max-width: 968px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-image {
        height: 240px;
    }
}

/* Blog Listing Page */
.blog-listing {
    padding: 80px 0 120px;
}

.blog-listing .heading-lg {
    text-align: center;
    margin-bottom: 20px;
    color: #0a0a0a !important;
    /* Dark text */
}

.section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    color: #666666 !important;
    /* Dark text muted */
}

.blog-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.blog-card-large {
    text-decoration: none;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-large:hover {
    transform: translateY(-10px);
}

.blog-image-large {
    position: relative;
    height: 320px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 24px;
}

.blog-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-large:hover .blog-image-large img {
    transform: scale(1.05);
}

.blog-content-large h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #0a0a0a !important;
    /* Dark text */
    transition: color 0.3s ease;
}

.blog-card-large:hover .blog-content-large h3 {
    color: #FF0000 !important;
}

.blog-content-large p {
    color: #666666 !important;
    /* Dark text muted */
    line-height: 1.8;
}

/* Responsive - Blog Listing */
@media (max-width: 968px) {
    .blog-grid-full {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .blog-grid-full {
        grid-template-columns: 1fr;
    }

    .blog-image-large {
        height: 260px;
    }
}

/* Blog Post Detail Page */
.blog-post-hero {
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    /* Light gradient */
}

.blog-post-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(255, 255, 255, 0.2) 100%);
}

.blog-post-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px;
}

.blog-post-category {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 3px;
    color: #FF0000;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.blog-post-hero .heading-xl {
    color: #0a0a0a !important;
    /* Dark text */
}

/* Blog Post Content */
.blog-post-content {
    padding: 80px 0 120px;
}

.blog-article {
    max-width: 800px;
    margin: 0 auto;
}

.blog-article p {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 24px;
    color: #333333 !important;
    /* Dark text */
}

.blog-article h3 {
    font-size: 32px;
    margin: 48px 0 24px;
    color: #0a0a0a !important;
    /* Dark text */
}

.blog-article h4 {
    font-size: 24px;
    margin: 36px 0 16px;
    color: #0a0a0a !important;
    /* Dark text */
}

.blog-article strong {
    color: #FF0000;
    font-weight: 500;
}

.blog-article em {
    color: #666666;
    /* Dark text muted */
    font-style: italic;
}

.blog-article ul,
.blog-article ol {
    margin: 24px 0;
    padding-left: 40px;
}

.blog-article li {
    margin-bottom: 12px;
    color: #333333 !important;
    /* Dark text */
    line-height: 1.8;
}

/* Responsive - Blog Post */
@media (max-width: 768px) {
    .blog-post-hero {
        height: 50vh;
        min-height: 350px;
    }

    .blog-article {
        padding: 0 20px;
    }

    .blog-article h3 {
        font-size: 28px;
    }

    .blog-article h4 {
        font-size: 20px;
    }

    .blog-article p {
        font-size: 16px;
    }
}

/* --- services-detail.css --- */
/* Enhanced Services Page Styles */

.services-hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 150px 40px 80px;
    background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
}

.services-hero .heading-xl {
    margin-bottom: 24px;
    color: #0a0a0a !important;
}

.services-hero .text-body {
    max-width: 700px;
    color: #666666 !important;
}

/* Services Detailed Section */
.services-detailed {
    padding: 60px 0 120px;
}

.service-block {
    margin-bottom: 120px;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.service-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 700;
    color: rgba(255, 0, 0, 0.15);
    line-height: 1;
}

.service-header .heading-lg {
    margin: 0;
    color: #0a0a0a !important;
}

.service-content {
    max-width: 900px;
}

.service-main {
    color: #333333;
}

.service-description {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #333333 !important;
}

.service-subtitle {
    font-family: var(--font-heading);
    font-size: 24px;
    letter-spacing: 1px;
    margin: 36px 0 20px;
    color: #0a0a0a !important;
    text-transform: uppercase;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.service-features li {
    padding: 16px 0;
    padding-left: 30px;
    position: relative;
    color: #555555 !important;
    font-size: 17px;
    line-height: 1.7;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #FF0000;
    font-size: 18px;
}

.service-features strong {
    color: #000000 !important;
    font-weight: 500;
}

.service-main>p:last-of-type {
    font-size: 16px;
    line-height: 1.8;
    color: #666666 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .services-hero {
        padding: 120px 20px 60px;
    }

    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .service-number {
        font-size: 48px;
    }

    .service-header .heading-lg {
        font-size: 32px;
    }

    .service-block {
        margin-bottom: 80px;
        padding-bottom: 60px;
    }

    .service-description {
        font-size: 18px;
    }

    .service-subtitle {
        font-size: 20px;
    }

    .service-features li {
        font-size: 16px;
    }
}

/* Services Hero */
.services-hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 40px 60px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
}

.services-hero .heading-xl {
    color: #111 !important;
    margin-bottom: 16px;
}

.services-hero .text-body {
    max-width: 600px;
    color: #666 !important;
}

/* ── Premium Global Responsive ── */
@media (max-width: 1024px) {
    .service-block {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .service-block .order-1,
    .service-block .order-2 {
        order: unset !important;
    }
}

@media (max-width: 768px) {

    /* Page Headers */
    .page-header,
    .services-hero {
        padding: 100px 20px 40px !important;
    }

    /* 3-column grids → 1 column */
    .section .stagger-container[style*="repeat(3"],
    .section .stagger-container[style*="repeat(4"] {
        grid-template-columns: 1fr !important;
    }

    /* About stats grid → stack */
    .section [style*="repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* 2-column contact/mission grids → stack */
    .section [style*="1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Testimonials */
    .testimonial-grid {
        grid-template-columns: 1fr !important;
    }

    /* Section padding */
    .section {
        padding: 60px 0;
    }
}

/* ========================================================================= */
/* PREMIUM AESTHETICS OVERRIDES & POLISH                                     */
/* ========================================================================= */

:root {
    /* Richer, deeper text colors for premium contrast */
    --text-primary: #111111;
    --text-secondary: #2a2a2a;
    --text-muted: #737373;

    /* Premium Shadows & Glass Effect Tokens */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-red: 0 12px 30px rgba(255, 0, 0, 0.15);

    /* Standardized Cinematic Animation Curves */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 1. Typographic Polish */
.heading-xl {
    letter-spacing: -1.5px !important;
    /* Tighter tracking for premium editorial look */
    line-height: 1.05 !important;
}

.heading-lg {
    letter-spacing: -0.5px !important;
}

.text-body {
    line-height: 1.8 !important;
    font-size: 19px !important;
    font-weight: 300;
}

/* 2. Premium Header Glassmorphism */
.header {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: var(--shadow-sm) !important;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: var(--shadow-md) !important;
}

/* 4. Nav Link Smooth Underline */
.nav-link::after {
    height: 1px;
    bottom: 0px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 5. Depth for Interactive Cards */
.testimonial-card,
.news-card,
.service-card {
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 6px !important;
    box-shadow: var(--shadow-sm) !important;
    transition: var(--transition-bounce) !important;
}

.testimonial-card:hover,
.news-card:hover,
.service-card:hover {
    box-shadow: var(--shadow-lg) !important;
    border-color: rgba(255, 0, 0, 0.1) !important;
    transform: translateY(-8px) !important;
}

.news-card {
    background: var(--bg-primary);
    overflow: hidden;
}

.news-content {
    padding: 30px;
}

/* 6. Image Scale & Parallax Hooks */
.news-card img,
.work-card img,
.service-card img {
    transition: var(--transition-smooth) !important;
}

.news-card:hover img,
.work-card:hover img,
.service-card:hover img {
    transform: scale(1.04) !important;
}

/* News card typography */
.news-card h3 {
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-size: 24px;
}

.news-card p {
    font-size: 16px;
    color: var(--text-muted);
}


/* Ken Burns Background Animation */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-main-bg.jpeg');
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* Hero Metrics Integration */
.hero-metrics .metric {
    text-align: center;
}

.hero-metrics .heading-lg {
    color: #ffffff !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-metrics .text-body {
    color: rgba(255, 255, 255, 0.6) !important;
}