/*
Theme Name: SupawBuild Construction Theme
Theme URI: https://supawbuild.com
Author: SupawBuild
Author URI: https://supawbuild.com
Description: A clean, simple construction company theme with focus on clarity and professionalism
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: supawbuild-theme
Tags: construction, business, simple, clean, responsive

This theme, like WordPress, is licensed under the GPL.
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Great+Vibes&family=Playfair+Display:wght@700&family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ===================================
   CSS Variables
   =================================== */

:root {
    --black: #0a0a0a;
    --dark: #111111;
    --dark2: #181818;
    --dark3: #1f1f1f;
    --amber: #f5a623;
    --amber2: #e8920d;
    --red: #9B1C1C;
    --red2: #7F1D1D;
    --white: #ffffff;
    --off: #f0ede8;
    --muted: #888888;
    --border: rgba(255, 255, 255, 0.08);

    /* Map old variables to new ones for compatibility */
    --color-red: var(--red);
    --color-red-dark: var(--red2);
    --color-red-light: #B22222;

    --color-yellow: var(--amber);
    --color-yellow-dark: var(--amber2);
    --color-yellow-light: #FFD54F;

    --color-black: var(--black);
    --color-black-light: var(--dark3);

    --color-white: var(--white);
    --color-gray-light: var(--dark2);
    --color-gray: var(--muted);
    --color-gray-dark: #616161;

    /* Typography */
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', 'Barlow', sans-serif;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;

    /* Transitions */
    --transition: 0.3s ease;
}

/* ===================================
   Reset & Base Styles
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Offset for fixed header navigation */
section[id] {
    scroll-margin-top: 100px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--white);
    background-color: var(--black);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* NOISE TEXTURE OVERLAY */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 9999;
}

/* Add padding to body for fixed header (except homepage) */
body:not(.home) {
    padding-top: 70px;
}

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    color: var(--color-black);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--color-red);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-red-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================
   Header & Navigation
   =================================== */

.site-header {
    background-color: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-branding,
.footer-logo {
    width: 125px;
}

/* Transparent Header (Homepage Hero Overlay) */
.header-transparent {
    background-color: transparent;
    box-shadow: none;
    position: absolute;
}

.header-transparent .header-inner {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Sticky Header (when scrolled) */
.header-scrolled {
    position: fixed;
    background-color: var(--color-white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.header-scrolled .header-inner {
    border-bottom: none;
}

/* Header text colors for transparent state */
.header-transparent .main-navigation a,
.header-transparent .site-logo-text h1 {
    color: var(--color-white);
}

.header-transparent .mobile-menu-toggle span {
    background-color: var(--color-white);
}

/* Header text colors for scrolled state */
.header-scrolled .main-navigation a,
.header-scrolled .site-logo-text h1 {
    color: var(--color-white);
}

.header-scrolled .mobile-menu-toggle span {
    background-color: var(--color-white);
}

/* Logo filter for transparent header */
.header-transparent .site-logo img {
    filter: brightness(0) invert(1);
}

.header-scrolled .site-logo img {
    filter: none;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    transition: all 0.3s ease;
}

.site-logo img {
    max-height: 50px;
    width: auto;
    transition: filter 0.3s ease;
}

.site-logo-text h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--color-black);
    transition: color 0.3s ease;
}

/* Custom Brands Logo in Header */
.custom-brands-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
    position: relative;
    padding-right: 10px;
    /* Space for the rotated text */
}

.logo-supaw {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: -1px;
    z-index: 2;
    transition: color 0.3s ease;
}

.logo-build {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    color: var(--color-yellow);
    transform: rotate(-8deg);
    margin-left: -10px;
    /* Pull it back to overlap/connect */
    position: relative;
    top: 4px;
    z-index: 1;
}

/* Transparent Header Colors */
.header-transparent .logo-supaw {
    color: var(--color-white);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header-transparent .logo-build {
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Scrolled Header Colors */
.header-scrolled .logo-supaw {
    color: var(--color-black);
    text-shadow: none;
}

/* Navigation Menu */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--color-black);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--color-yellow);
    border-bottom-color: var(--color-yellow);
}

/* Transparent header navigation hover */
.header-transparent .main-navigation a:hover,
.header-transparent .main-navigation .current-menu-item a {
    color: var(--color-yellow);
    border-bottom-color: var(--color-yellow);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-black);
    transition: all 0.3s ease;
}

/* ===================================
   Page Header
   =================================== */

.page-header {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-black) 100%);
    opacity: 0.9;
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: var(--color-white);
    margin: 0;
    font-size: 2.5rem;
}

/* ===================================
   Content Area
   =================================== */

.content-area {
    padding: var(--spacing-xl) 0;
}

.entry-content {
    max-width: 800px;
    margin: 0 auto;
}

.entry-content h2 {
    color: var(--color-black);
    margin-top: var(--spacing-lg);
    padding-bottom: var(--spacing-xs);
    border-bottom: 3px solid var(--color-yellow);
}

/* ===================================
   Buttons
   =================================== */

.btn,
button[type="submit"],
input[type="submit"] {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--color-red);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
    color: var(--color-white) !important;
}

.btn-secondary {
    background-color: var(--color-yellow);
    color: var(--color-black);
}

.btn-secondary:hover {
    background-color: var(--color-yellow-dark);
}

/* ===================================
   Projects Grid (Portfolio)
   =================================== */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    background-color: var(--color-white);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.project-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-thumbnail img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: var(--color-white);
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-white);
}

/* Single Project Page */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.project-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    transition: var(--transition);
}

.project-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===================================
   Services Section
   =================================== */

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.service-item {
    padding: var(--spacing-lg);
    background-color: var(--color-gray-light);
    border-radius: 8px;
    border-left: 4px solid var(--color-red);
    transition: var(--transition);
}

.service-item:hover {
    background-color: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left-color: var(--color-yellow);
}

.service-item h3 {
    color: var(--color-black);
    margin-bottom: var(--spacing-sm);
}

.service-item p {
    color: var(--color-gray-dark);
    margin: 0;
}

/* ===================================
   Contact Section
   =================================== */

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.contact-item {
    text-align: center;
    padding: var(--spacing-lg);
    background-color: var(--color-gray-light);
    border-radius: 8px;
}

.contact-item i,
.contact-item svg {
    font-size: 2rem;
    color: var(--color-red);
    margin-bottom: var(--spacing-sm);
}

.contact-item h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.contact-item p {
    color: var(--color-gray-dark);
    margin: 0;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--color-black);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--color-gray-light);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-red);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Consolidated Footer Styles moved to the end */



/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    .footer-column:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .site-footer {
        background-attachment: scroll;
        padding: var(--spacing-lg) 0 0;
    }

    .footer-info-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .footer-column:last-child {
        grid-column: auto;
    }

    .footer-heading {
        font-size: 1.125rem;
    }

    .footer-social {
        justify-content: flex-start;
    }
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-white);
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        padding: 80px 20px 20px;
        overflow-y: auto;
        z-index: 999;
    }

    .main-navigation.active {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation a {
        display: block;
        padding: var(--spacing-sm);
        border-bottom: 1px solid var(--color-gray-light);
        border-left: none;
    }

    .header-transparent .main-navigation a,
    .header-transparent .site-logo-text h1 {
        color: var(--color-white);
    }

    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    /* Spacing */
    :root {
        --spacing-xl: 40px;
        --spacing-lg: 30px;
    }

    /* Projects Grid */
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-subtitle {
        display: none;
    }

    .site-branding,
    .footer-logo {
        width: 100px;
    }
}

/* ===================================
   Utility Classes
   =================================== */

.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

/* ===================================
   Homepage Sections
   =================================== */

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomOut {
    from {
        transform: scale(1.15);
    }

    to {
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-5deg) scale(0.95);
    }

    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-5deg) scale(0.95);
    }

    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* ===================================
   Scroll Animation Utilities
   =================================== */

/* Base state for all animated elements */
.animate-on-scroll {
    opacity: 0;
}

/* Fade animations */
.animate-fade-in.animated {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-up.animated {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-fade-down.animated {
    animation: fadeInDown 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-fade-left.animated {
    animation: fadeInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-fade-right.animated {
    animation: fadeInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-scale.animated {
    animation: scaleIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-rotate.animated {
    animation: rotateIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Stagger delays for grid items */
.animate-stagger:nth-child(1) {
    animation-delay: 0s;
}

.animate-stagger:nth-child(2) {
    animation-delay: 0.1s;
}

.animate-stagger:nth-child(3) {
    animation-delay: 0.2s;
}

.animate-stagger:nth-child(4) {
    animation-delay: 0.3s;
}

.animate-stagger:nth-child(5) {
    animation-delay: 0.4s;
}

.animate-stagger:nth-child(6) {
    animation-delay: 0.5s;
}

.animate-stagger:nth-child(7) {
    animation-delay: 0.6s;
}

.animate-stagger:nth-child(8) {
    animation-delay: 0.7s;
}

.animate-stagger:nth-child(9) {
    animation-delay: 0.8s;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-black);
    overflow: hidden;
}

/* Hero Badge */
.hero-badge {
    position: absolute;
    top: 5%;
    right: 5%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 130px;
    border: 1px solid var(--color-red);
    border-radius: 50%;
    text-align: center;
    padding: 1rem;
    animation: spin-slow 20s linear infinite;
}

.hero-badge-inner {
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-red);
    line-height: 1.8;
}

.hero-badge-num {
    font-family: 'Bebas Neue', var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-white);
    line-height: 1;
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Background Image with Fade-In and Zoom */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    animation:
        fadeIn 1.5s ease-out forwards,
        zoomOut 5s ease-out forwards;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.6) 100%);
    z-index: 1;
    opacity: 0;
    animation: fadeIn 0.25s ease-out 0.2s forwards;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    max-width: 900px;
}

/* Brand Title Styles */
.brand-title-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.brand-supaw {
    font-family: 'Playfair Display', serif;
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -2px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: slideUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards;
    line-height: 0.8;
}

.brand-build {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(5rem, 15vw, 10rem);
    color: var(--color-yellow);
    margin-top: -0.2em;
    transform: rotate(-5deg);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: slideUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards;
    z-index: 1;
}

.hero-title-tagline {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    opacity: 0;
    animation: slideUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.7s forwards;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: slideUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.7s forwards;
}

.hero-content .btn {
    opacity: 0;
    animation: slideUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.9s forwards;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
}

/* Mobile Scroll Indicator */
.mobile-scroll-indicator {
    display: none;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: var(--color-white);
}

.mobile-scroll-indicator svg {
    width: 32px;
    height: 32px;
}

@keyframes gentle-bob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

.animate-gentle-bob {
    animation: gentle-bob 2s infinite ease-in-out;
}

@media (max-width: 768px) {
    .mobile-scroll-indicator {
        display: block;
        opacity: 0;
        animation: fadeIn 1s ease-out 1.2s forwards;
    }
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.125rem;
}

/* Hero Services & Credentials */
.hero-services-wrapper {
    position: relative;
    z-index: 2;
    margin-bottom: var(--spacing-lg);
    opacity: 0;
    animation: slideUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards;
}

.hero-services-text {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.service-word {
    position: relative;
    display: inline-block;
}

.service-divider {
    color: var(--color-yellow);
    font-size: 1.2em;
}

.hero-credentials-text {
    font-size: clamp(0.8rem, 2vw, 1rem);
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-yellow);
    text-transform: uppercase;
    opacity: 0.9;
}

.about-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}

.about-content h2 {
    color: var(--color-black);
    margin-bottom: var(--spacing-md);
}

.about-content p {
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-gray-dark);
    margin-bottom: var(--spacing-sm);
}

.about-features {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.about-features li {
    padding: var(--spacing-xs) 0;
    color: var(--color-black);
    font-weight: 500;
}

/* About Content Animation */
.about-content.animate-on-scroll {
    opacity: 0;
}

.about-content.animate-on-scroll.animated {
    animation: slideRight 0.8s ease-out forwards;
}

/* Generic Slide Right Animation */
.animate-slide-right.animate-on-scroll {
    opacity: 0;
}

.animate-slide-right.animate-on-scroll.animated {
    animation: slideRight 0.8s ease-out forwards;
}

/* Stagger delay for subtitles */
.section-subtitle.animate-slide-right.animated,
.section-subtitle-light.animate-slide-right.animated,
.cta-content p.animate-slide-right.animated {
    animation-delay: 0.2s;
}

/* Services Section Home */
.services-section-home {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-yellow);
}

.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--color-black);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    text-align: center;
    color: var(--color-gray-dark);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.service-card {
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--color-red);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.service-card h3 {
    color: var(--color-black);
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    color: var(--color-gray-dark);
    margin: 0;
}

/* Projects Section Home */
.projects-section-home {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-black);
}

.section-title-light {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle-light {
    text-align: center;
    color: var(--color-gray);
    margin-bottom: var(--spacing-lg);
}

.projects-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.project-card-home {
    background-color: var(--color-black-light);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.2);
}

.project-card-home .project-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.project-card-home .project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card-home:hover .project-thumbnail img {
    transform: scale(1.1);
}

.project-footer {
    padding: var(--spacing-md);
    background-color: var(--color-black-light);
    text-align: center;
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.875rem;
}

/* Stats Section */
.stats-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-gray-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.stat-card {
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    color: var(--color-red);
    margin-bottom: var(--spacing-sm);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-black);
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: var(--color-gray-dark);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--spacing-xl) 5%;
    background-color: var(--color-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.testimonial-card {
    background-color: var(--color-gray-light);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border-left: 4px solid var(--color-yellow);
    position: relative;
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    color: var(--color-yellow);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.testimonial-author-top {
    font-size: 0.95rem;
    color: var(--color-gray-dark);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-heading);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-author-top strong {
    color: var(--color-black);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-gray-dark);
    margin-bottom: 0;
    line-height: 1.6;
    flex-grow: 1;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-black) 100%);
    color: var(--color-white);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--color-white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    color: var(--color-gray-light);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
}

/* Responsive Homepage */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        background-attachment: scroll;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .about-image-wrapper {
        order: -1;
    }

    .services-grid-home,
    .projects-grid-home,
    .stats-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Print Styles
   =================================== */

@media print {

    .site-header,
    .site-footer,
    .mobile-menu-toggle,
    .btn {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }
}

/* ===================================
   Project Modal (Lightbox)
   =================================== */

.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.project-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.project-modal-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background-color: var(--color-white);
    border-radius: 8px;
    z-index: 10;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.project-modal.active .project-modal-container {
    transform: translateY(0);
}

.project-modal-content {
    padding: var(--spacing-lg);
    position: relative;
}

.project-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-gray);
    transition: color 0.3s;
    z-index: 20;
    line-height: 1;
}

.project-modal-close:hover {
    color: var(--color-red);
}

.project-modal-title {
    margin-bottom: var(--spacing-sm);
    color: var(--color-black);
    padding-right: 30px;
}

.project-modal-description {
    margin-bottom: var(--spacing-lg);
    color: var(--color-gray-dark);
}

.project-modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.project-modal-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s;
}

.project-modal-gallery img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .project-modal-gallery {
        grid-template-columns: 1fr;
    }

    .project-modal-gallery img {
        height: auto;
        aspect-ratio: 16/9;
    }
}

/* ===================================
   Contact Modal
   =================================== */

.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-modal.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.contact-modal-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    background-color: var(--color-white);
    border-radius: 8px;
    z-index: 10;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    padding: 0;
}

.contact-modal.active .contact-modal-container {
    transform: translateY(0);
}

.contact-modal-content {
    padding: var(--spacing-lg);
}

.contact-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-gray);
    transition: color 0.3s;
    z-index: 20;
    line-height: 1;
}

.contact-modal-close:hover {
    color: var(--color-red);
}

.contact-modal-title {
    margin-bottom: var(--spacing-xs);
    color: var(--color-black);
    text-align: center;
}

.contact-modal-subtitle {
    text-align: center;
    color: var(--color-gray-dark);
    margin-bottom: var(--spacing-md);
}

.contact-form-wrapper {
    margin-top: var(--spacing-md);
}

/* ===================================
   Fancybox Overrides
   =================================== */
.fancybox__container {
    z-index: 10000 !important;
}

/* ===================================
   CONTACT MODAL STYLING
   =================================== */
.contact-modal {
    position: fixed;
    inset: 0;
    max-width: 100%;
    max-height: 100%;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-modal.active {
    opacity: 1;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.contact-modal-container {
    position: relative;
    background: var(--dark2);
    border: 1px solid var(--border);
    width: 100%;
    max-width: 560px;
    padding: 3rem;
    z-index: 2001;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.contact-modal.active .contact-modal-container {
    transform: translateY(0);
}

.contact-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.contact-modal-close:hover {
    color: var(--white);
}

/* ─── PROJECT MODAL STYLING ─── */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.9);
}

.project-modal.active {
    display: flex;
    opacity: 1;
}

.project-modal-backdrop {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.project-modal-container {
    position: relative;
    background: var(--dark2);
    border: 1px solid var(--border);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    padding: 3rem;
    z-index: 2001;
    overflow-y: auto;
    transform: translateY(30px);
    transition: transform 0.35s ease;
}

.project-modal.active .project-modal-container {
    transform: translateY(0);
}

.project-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
}

.project-modal-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.project-modal-description {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.project-modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.project-modal-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 2px;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.project-modal-gallery img:hover {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .project-modal-container {
        padding: 2rem 1.5rem;
    }

    .project-modal-title {
        font-size: 2.2rem;
    }
}

/* ===================================
   NEW ENHANCED UI STYLES 
   =================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 5%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.site-header.header-transparent:not(.header-scrolled) {
    background: transparent;
    backdrop-filter: none;
    border-bottom-color: transparent;
}

.site-header.header-scrolled {
    background: rgba(10, 10, 10, 0.98);
    height: 64px;
}

.nav-logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--red);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-phone {
    color: var(--red);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--amber);
    color: var(--black) !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.65rem 1.5rem;
    border-radius: 2px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.btn:hover {
    background: var(--amber2);
    transform: translateY(-1px);
    color: var(--black) !important;
}

.btn-outline {
    background: transparent;
    color: var(--red) !important;
    border: 1.5px solid var(--red);
}

.btn-outline:hover {
    background: var(--red);
    color: var(--white) !important;
}

/* ─── MOBILE MENU TOGGLE ─── */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 4rem 2rem;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1050;
    }

    .main-navigation.active .nav-links {
        right: 0;
    }

    .nav-cta {
        display: none;
    }
}

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 5% 8vh;
    position: relative;
    overflow: hidden;
    margin-top: -70px;
    /* pull up under header if header is fixed */
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.75) 60%, rgba(10, 10, 10, 1) 100%),
        linear-gradient(135deg, #1a0808 0%, #0a0a0a 50%, #1a1208 100%);
}

/* Red glow bottom-left */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(155, 28, 28, 0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Animated diagonal grid lines */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 166, 35, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 166, 35, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(600px) rotateX(20deg) scale(1.5);
    transform-origin: bottom center;
}

/* Diagonal amber accent */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 45%;
    height: 100%;
    background: linear-gradient(135deg, transparent 50%, rgba(245, 166, 35, 0.06) 100%);
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-tag {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
}

.hero-tag::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--red);
}

.hero h1 {
    position: relative;
    z-index: 2;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(5rem, 12vw, 10rem);
    line-height: 0.9;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 0.2em;
}

.hero h1 .amber {
    color: var(--amber);
}

.hero-sub {
    position: relative;
    z-index: 2;
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.hero-actions {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-badge {
    position: absolute;
    top: 20%;
    right: 5%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 130px;
    border: 1px solid var(--red);
    border-radius: 50%;
    text-align: center;
    padding: 1rem;
    animation: spin-slow 20s linear infinite;
}

.hero-badge-inner {
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    line-height: 1.8;
}

.hero-badge-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    color: var(--white);
    line-height: 1;
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ─── SECTION BASICS ─── */
section {
    padding: 100px 5%;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 1rem;
}

.eyebrow::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--red);
}

h2.title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.95;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 1.2rem;
}

h2.title .amber {
    color: var(--amber);
}

.subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: var(--muted);
    max-width: 520px;
    line-height: 1.75;
}

/* ─── MARQUEE STRIP ─── */
.marquee-strip {
    background: var(--red);
    padding: 0.9rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    gap: 3rem;
    animation: marquee 22s linear infinite;
}

.marquee-track span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--black);
}

.marquee-track span.dot {
    color: rgba(0, 0, 0, 0.3);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ─── ABOUT ─── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-img-wrap {
    position: relative;
}

.about-img-wrap img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    filter: grayscale(20%) contrast(1.1);
}

.about-img-wrap::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 50%;
    height: 50%;
    border: 2px solid var(--red);
    z-index: -1;
}

.about-img-label {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--amber);
    color: var(--black);
    padding: 1.2rem 1.5rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
    line-height: 1.4;
}

.about-text p {
    font-size: 0.98rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.85;
    margin-bottom: 1.2rem;
}

.licenses {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.license-chip {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--red);
    border: 1px solid rgba(155, 28, 28, 0.5);
    padding: 0.4rem 0.9rem;
    border-radius: 2px;
}

/* ─── SERVICES ─── */
.services-section {
    background: var(--dark2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    margin-top: 4rem;
    border: 1px solid var(--border);
}

.service-card {
    background: var(--dark2);
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
    cursor: default;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.4s;
}

.service-card:hover {
    background: var(--dark3);
}

.service-card:hover::after {
    width: 100%;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-num {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    pointer-events: none;
}

.service-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 0.8rem;
}

.service-card p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.7;
}

/* ─── STATS ─── */
.stats-section {
    background: var(--amber);
    padding: 70px 5%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    color: var(--black);
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
    margin-top: 0.3rem;
}

/* ─── FOOTER ─── */
footer#contact-footer {
    background: var(--dark);
    border-top: 1px solid var(--border);
    padding: 60px 5% 30px;
    position: relative;
    z-index: 10;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
    filter: brightness(1.1);
}

.footer-about p {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 1.2rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.7rem;
    text-decoration: none;
}

.footer-contact-item:hover {
    color: var(--red);
}

.footer-contact-item .icon {
    width: 32px;
    height: 32px;
    background: var(--dark3);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.footer-col h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 300;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--red);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ─── PROJECTS ─── */
.projects-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
}

.project-card {
    position: relative;
    overflow: hidden;
    background: var(--dark2);
    cursor: pointer;
    border-radius: 0;
    box-shadow: none;
}

.project-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.project-card img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: grayscale(25%) contrast(1.05);
}

.project-card:first-child img {
    min-height: 480px;
}

.project-card:hover img {
    transform: scale(1.06);
    filter: grayscale(0%) contrast(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.35s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.project-overlay .see-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--red);
    text-decoration: none;
}

.project-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--red);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
}

/* ─── TESTIMONIALS ─── */
.testimonials-section {
    background: var(--dark2);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.testi-card {
    background: var(--dark3);
    border: 1px solid var(--border);
    padding: 2.5rem;
    position: relative;
    transition: border-color 0.3s;
}

.testi-card:hover {
    border-color: rgba(155, 28, 28, 0.5);
}

.testi-quote {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    color: rgba(155, 28, 28, 0.22);
    line-height: 0.8;
    margin-bottom: 1rem;
    display: block;
}

.testi-card p {
    font-size: 0.92rem;
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.testi-meta {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.testi-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
}

.testi-role {
    font-size: 0.78rem;
    color: var(--red);
    margin-top: 0.2rem;
}

.stars {
    color: var(--red);
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
    display: block;
}

/* ─── CTA ─── */
.cta-section {
    background: var(--black);
    padding: 120px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: 'BUILD';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22vw;
    color: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 5px;
}

.cta-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--muted);
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-card:first-child {
        grid-column: span 2;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: clamp(3.5rem, 15vw, 7rem);
    }

    .hero-badge {
        /* display: none; */
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card:first-child {
        grid-column: span 1;
    }
}

/* ─── SCROLL FADE-IN ─── */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .nav-links a {
        font-size: 11px;
        padding: 0;
    }
}