/* -------------------------------------------------------------
 * MASUZAKI SETSUBI KOUGYOU CO., LTD. - Premium Corporate Website
 * Main Stylesheet (Vanilla CSS3) - CINEMATIC BRANDING REDESIGN
 * Design Style: Ultra-modern Dark Luxury with Neon Red Accents
 * ------------------------------------------------------------- */

/* ==========================================================================
   1. Design Tokens & CSS Variables
   ========================================================================== */
:root {
    /* Color Palette */
    --color-bg-darkest: #040406;
    --color-bg-dark: #09090d;
    --color-bg-panel: #0e0e13;
    --color-bg-panel-hover: #15151f;
    --color-card-border: rgba(255, 42, 27, 0.08);
    
    --color-primary: #ff2a1b;         /* Intense Neon Red */
    --color-primary-glow: #ff5b4f;    /* Radiant Red Glow */
    --color-primary-dim: rgba(255, 42, 27, 0.08);
    --color-primary-deep: #b3160b;
    
    --color-text-primary: #ffffff;
    --color-text-secondary: #adacb8;
    --color-text-muted: #5e5d69;
    
    /* Neon Glow Effects */
    --neon-glow-shadow: 0 0 15px rgba(255, 42, 27, 0.35), 
                         0 0 30px rgba(255, 42, 27, 0.15);
    --neon-glow-shadow-intense: 0 0 25px rgba(255, 42, 27, 0.65), 
                                 0 0 50px rgba(255, 42, 27, 0.3);
    --neon-glow-text: 0 0 10px rgba(255, 42, 27, 0.55);
    
    /* Layout & Details */
    --font-primary: 'Outfit', 'Noto Sans JP', sans-serif;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --max-width-container: 1200px;
}

/* ==========================================================================
   2. Reset & Global Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    background-color: var(--color-bg-darkest);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

ul {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-quick);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-darkest);
}
::-webkit-scrollbar-thumb {
    background: var(--color-bg-panel);
    border: 2px solid var(--color-bg-darkest);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
    box-shadow: var(--neon-glow-shadow);
}

/* Global utility classes */
.container {
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Grid background pattern */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 80px 80px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.008) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.008) 1px, transparent 1px);
    pointer-events: none;
    z-index: 1;
}

/* Section styling */
section {
    padding: 8rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title .subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.4em;
    color: var(--color-primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.6rem;
    text-shadow: var(--neon-glow-text);
}

.section-title h2 {
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.neon-line {
    width: 80px;
    height: 3px;
    background-color: var(--color-primary);
    box-shadow: var(--neon-glow-shadow);
    margin: 0 auto;
    position: relative;
    border-radius: 10px;
}

/* Buttons style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 2.4rem;
    font-family: var(--font-primary);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: var(--neon-glow-shadow);
}

.btn-primary:hover {
    background-color: var(--color-primary-glow);
    box-shadow: var(--neon-glow-shadow-intense);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.015);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
    background-color: var(--color-primary-dim);
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(255, 42, 27, 0.2);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

.en-btn {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.7;
    letter-spacing: 0.1em;
}

/* Text link */
.text-link {
    color: var(--color-primary);
    text-decoration: underline;
}
.text-link:hover {
    color: var(--color-primary-glow);
    text-shadow: var(--neon-glow-text);
}

/* Required badge */
.required {
    background: var(--color-primary);
    color: white;
    font-size: 0.65rem;
    padding: 0.1rem 0.4rem;
    border-radius: 2px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Scroll reveal initial states */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   3. Header Navigation Styling
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(4, 4, 6, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.015);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 0.2rem 0;
    background-color: rgba(4, 4, 6, 0.97);
    border-bottom: 1px solid rgba(255, 42, 27, 0.25);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

.header-container {
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: 1.4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.main-header.scrolled .header-container {
    padding: 0.8rem 2rem;
}

/* Logo Design */
.logo-area {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-symbol {
    width: 54px;
    height: 33px;
    background-color: transparent;
    border: 2.2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--neon-glow-shadow);
}

.logo-text-bold {
    font-family: 'Outfit', sans-serif;
    font-size: 0.98rem;
    font-weight: 900;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    font-style: italic;
    text-shadow: var(--neon-glow-text);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .jp-name {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.logo-text .en-name {
    font-family: 'Outfit', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--color-text-secondary);
}

/* Nav Menu */
.nav-menu ul {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--color-text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    box-shadow: var(--neon-glow-shadow);
    transition: var(--transition-quick);
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Header phone card */
.header-info {
    display: flex;
    align-items: center;
}

.phone-box {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-left: 1.8rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-box .neon-icon {
    font-size: 1.1rem;
    color: var(--color-primary);
    text-shadow: var(--neon-glow-text);
    animation: pulse-red 2.5s infinite;
}

.phone-details {
    display: flex;
    flex-direction: column;
}

.phone-details .phone-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.phone-details .business-hours {
    font-size: 0.65rem;
    color: var(--color-primary);
    font-weight: 700;
}

/* Mobile toggle button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
    margin-left: 1.5rem;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition-quick);
}

/* Hamburger state */
.mobile-menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}

/* ==========================================================================
   4. Hero Section Styling
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8.5rem;
    background-color: var(--color-bg-darkest);
    overflow: hidden;
    position: relative;
}

/* Canvas sparks layer background */
#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-badge {
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin-bottom: 1.8rem;
    display: inline-block;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 0.4rem;
    text-shadow: var(--neon-glow-text);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 60%, var(--color-text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.15em;
    margin-bottom: 2.2rem;
    text-transform: uppercase;
    text-shadow: var(--neon-glow-text);
}

.hero-desc {
    font-size: 1.22rem;
    color: var(--color-text-secondary);
    margin-bottom: 3.8rem;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Micro stamps details */
.hero-stamps {
    display: flex;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    max-width: 500px;
}

.stamp-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stamp-head {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    font-weight: 700;
    letter-spacing: 0.1em;
}

.stamp-val {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

/* Hero Helmet Parallax Container */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    z-index: 10;
}

.neon-glow-bg {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 42, 27, 0.3) 0%, transparent 70%);
    filter: blur(30px);
    z-index: 1;
    pointer-events: none;
}

.floating-helmet {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 455px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9),
                0 0 35px rgba(255, 42, 27, 0.1);
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
}

.hero-license-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    z-index: 3;
    background-color: rgba(14, 14, 19, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 42, 27, 0.35);
    box-shadow: var(--neon-glow-shadow);
    padding: 1.2rem 2.2rem;
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: right;
    pointer-events: none;
}

.hero-license-badge .stamp-title {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

.hero-license-badge .stamp-desc {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.hero-license-badge .stamp-no {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 700;
}

/* ==========================================================================
   5. Trust Section Styling (REDESIGN UPGRADE)
   ========================================================================== */
.trust-section {
    background-color: var(--color-bg-dark);
    padding: 5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.015);
    border-bottom: 1px solid rgba(255, 255, 255, 0.015);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.trust-card {
    position: relative;
    background-color: rgba(22, 22, 28, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.trust-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 42, 27, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 3.6rem;
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
    display: inline-block;
    transition: var(--transition-smooth);
}

.stat-unit {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-left: 0.1rem;
    text-shadow: var(--neon-glow-text);
}

.stat-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0.5rem;
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Trust Hover State */
.trust-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 42, 27, 0.3);
    background-color: var(--color-bg-panel);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.trust-card:hover .trust-glow {
    opacity: 1;
}

.trust-card:hover .stat-num {
    color: var(--color-primary);
    text-shadow: var(--neon-glow-text);
}

/* ==========================================================================
   6. Services Section Styling
   ========================================================================== */
.services-section {
    background-color: var(--color-bg-darkest);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.4rem;
}

.service-card {
    position: relative;
    background-color: rgba(14, 14, 19, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.015);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    height: 100%;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 42, 27, 0.12) 0%, transparent 60%);
    opacity: 0.15;
    transition: var(--transition-smooth);
}

.card-content {
    padding: 3.8rem 2.5rem;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon-box {
    width: 64px;
    height: 64px;
    background-color: rgba(255, 255, 255, 0.012);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.2rem;
    transition: var(--transition-smooth);
}

/* SVG Line Icon Drawing animation */
.service-svg-icon {
    width: 32px;
    height: 32px;
}

.service-svg-icon path {
    stroke-dasharray: 200;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1.5s ease-in-out;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    letter-spacing: 0.05em;
}

.service-card .en-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 1.5rem;
}

.service-desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 2.2rem;
    flex-grow: 1;
}

.service-details {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--color-text-secondary);
}

.service-details li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.service-details li i {
    color: var(--color-primary);
    font-size: 0.75rem;
}

/* Service Card Hover States */
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 42, 27, 0.45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75),
                0 0 25px rgba(255, 42, 27, 0.08);
    background-color: var(--color-bg-panel);
}

.service-card:hover .card-glow {
    opacity: 1;
}

.service-card:hover .service-icon-box {
    background-color: rgba(255, 42, 27, 0.08);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(255, 42, 27, 0.25);
}

.service-card:hover .service-icon-box i {
    color: var(--color-primary);
    text-shadow: var(--neon-glow-text);
}

.service-card:hover .service-svg-icon path {
    stroke-dashoffset: 400; /* Re-draw stroke loop on hover */
}

.service-card:hover .en-subtitle {
    color: var(--color-primary);
    text-shadow: var(--neon-glow-text);
}

/* ==========================================================================
   7. Works / Portfolio Section (Redesigned before/after slider)
   ========================================================================== */
.works-section {
    background-color: var(--color-bg-dark);
}

/* Redesign Gimmick: Before & After slider styling */
.slider-wrapper {
    max-width: 900px;
    margin: 0 auto 5.5rem auto;
}

.slider-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.slider-title i {
    color: var(--color-primary);
    text-shadow: var(--neon-glow-text);
    margin-right: 0.5rem;
}

.before-after-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.04);
    user-select: none;
    -webkit-user-select: none;
}

.img-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.img-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Resizable slide overlay */
.image-before {
    z-index: 10;
    width: 50%;
    border-right: 1px solid transparent;
}

.image-before img {
    display: block;
    width: 900px; /* Locked width to match container maximum size */
    max-width: none;
}

.image-after {
    z-index: 5;
}

/* Slider line handle */
.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background-color: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary), 0 0 30px rgba(255, 42, 27, 0.4);
    z-index: 20;
    cursor: ew-resize;
    transform: translateX(-50%);
}

.handle-line {
    width: 100%;
    height: 100%;
}

.handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background-color: var(--color-bg-darkest);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: var(--neon-glow-shadow-intense);
    font-size: 0.9rem;
    transition: var(--transition-quick);
}

.slider-handle:hover .handle-button {
    background-color: var(--color-primary);
    box-shadow: 0 0 25px rgba(255, 42, 27, 0.8);
}

/* Comparative label indicators */
.slide-label {
    position: absolute;
    bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(4, 4, 6, 0.8);
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    z-index: 15;
    letter-spacing: 0.05em;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.before-label {
    left: 1.5rem;
    border-left: 2.5px solid var(--color-primary);
}

.after-label {
    right: 1.5rem;
    border-right: 2.5px solid #ffffff;
}

.slider-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 1.2rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.slider-meta .proj-name {
    font-weight: 700;
    color: #ffffff;
}

/* Category Filter Bar */
.works-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.filter-btn {
    background-color: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--color-text-secondary);
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    background-color: rgba(255, 42, 27, 0.05);
    border-color: var(--color-primary);
    color: #ffffff;
}

.filter-btn.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    box-shadow: var(--neon-glow-shadow);
}

/* Works Gallery Grid */
.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.4rem;
    margin-bottom: 4rem;
}

.work-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.work-item.hidden {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: none;
}

.work-img-container {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #08080c;
}

.work-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(4, 4, 6, 0.98) 12%, rgba(4, 4, 6, 0.45) 50%, rgba(4, 4, 6, 0.08) 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 2.6rem;
    transition: var(--transition-smooth);
}

.work-info {
    transform: translateY(25px);
    transition: var(--transition-smooth);
}

.work-cat {
    display: inline-block;
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    text-shadow: var(--neon-glow-text);
}

.work-info h3 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: #ffffff;
}

.work-info p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.6rem;
}

.zoom-btn {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 0.2rem;
}

/* Works hover states */
.work-item:hover .work-img-container img {
    transform: scale(1.06);
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-item:hover .work-info {
    transform: translateY(0);
}

.works-cta {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 3.5rem;
}

.works-cta p {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   8. License & Certification Section Styling (Redesigned Plates)
   ========================================================================== */
.license-section {
    background-color: var(--color-bg-darkest);
}

.license-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
}

/* Credentials Plate designs */
.license-card-board {
    background: linear-gradient(135deg, #0e0e13 0%, #08080b 100%);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--color-primary);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.license-card-board::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 42, 27, 0.015), transparent);
    transform: rotate(45deg);
    transition: var(--transition-smooth);
    pointer-events: none;
}

.license-board-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.seal-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 42, 27, 0.05);
    border: 1px solid rgba(255, 42, 27, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--neon-glow-shadow);
}

.seal-icon i {
    font-size: 1.4rem;
    color: var(--color-primary);
    text-shadow: var(--neon-glow-text);
}

.title-meta {
    display: flex;
    flex-direction: column;
}

.title-meta .issuer {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 700;
    letter-spacing: 0.1em;
}

.title-meta h3 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #ffffff;
}

.license-board-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.license-number-strip {
    background-color: rgba(255, 42, 27, 0.05);
    border: 1px solid rgba(255, 42, 27, 0.18);
    padding: 0.8rem 1.2rem;
    border-radius: var(--border-radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.strip-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-text-secondary);
}

.strip-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-primary);
    text-shadow: var(--neon-glow-text);
    letter-spacing: 0.05em;
}

.license-meta-table {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    padding-top: 1.2rem;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    line-height: 1.5;
}

.meta-label {
    color: var(--color-text-muted);
    font-weight: 500;
}

.meta-value {
    color: var(--color-text-secondary);
    text-align: right;
}

.license-board-footer {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    padding-top: 1rem;
}

.footer-stamp {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--color-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    letter-spacing: 0.15em;
}

.invoice-board {
    border-left-color: rgba(255, 255, 255, 0.18);
}
.invoice-board .seal-icon {
    background-color: rgba(255, 255, 255, 0.015);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}
.invoice-board .seal-icon i {
    color: var(--color-text-secondary);
    text-shadow: none;
}
.invoice-board .strip-number {
    color: #ffffff;
    text-shadow: none;
}
.invoice-board .license-number-strip {
    background-color: rgba(255, 255, 255, 0.015);
    border-color: rgba(255, 255, 255, 0.05);
}

/* Hover credentials boards */
.license-card-board:hover {
    border-left-color: var(--color-primary);
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9),
                0 0 30px rgba(255, 42, 27, 0.05);
    background: linear-gradient(135deg, #13131a 0%, #0b0b0f 100%);
}

.license-card-board:hover::before {
    left: 100%;
    transition: left 0.8s ease-in-out;
}

.invoice-board:hover {
    border-left-color: #ffffff;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   9. Company Section & History Timeline
   ========================================================================== */
.company-section {
    background-color: var(--color-bg-dark);
}

.company-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
}

/* Core Values Redesign items */
.core-values {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.value-item {
    display: flex;
    gap: 1.5rem;
    background-color: rgba(14, 14, 19, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.015);
    padding: 1.8rem;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.val-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    text-shadow: var(--neon-glow-text);
}

.val-info h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    color: #ffffff;
}

.val-info p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.value-item:hover {
    border-color: rgba(255, 42, 27, 0.2);
    background-color: var(--color-bg-panel);
    transform: translateX(5px);
}

/* Metadata profile table */
.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.company-table tr:last-child {
    border-bottom: none;
}

.company-table th, .company-table td {
    padding: 1.5rem 1rem 1.5rem 0;
    vertical-align: top;
    text-align: left;
}

.company-table th {
    width: 160px;
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    position: relative;
}

.company-table th::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    box-shadow: var(--neon-glow-shadow);
    border-radius: 50%;
}

.company-table td {
    color: var(--color-text-secondary);
    font-size: 0.98rem;
    line-height: 1.8;
}

/* History Timeline track layout */
.company-timeline {
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    padding-left: 2rem;
    position: relative;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

.timeline-title i {
    color: var(--color-primary);
    text-shadow: var(--neon-glow-text);
    margin-right: 0.5rem;
}

.timeline-track {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
}

.timeline-item {
    position: relative;
    padding-left: 1rem;
}

.timeline-dot {
    position: absolute;
    left: calc(-2rem - 6.5px); /* Centers dot exactly on timeline border line */
    top: 0.4rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-bg-darkest);
    border: 2px solid var(--color-text-muted);
    transition: var(--transition-smooth);
}

.timeline-content {
    background-color: rgba(14, 14, 19, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.015);
    padding: 1.5rem 1.8rem;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.timeline-year {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--color-primary);
    text-shadow: var(--neon-glow-text);
    display: block;
    margin-bottom: 0.4rem;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.timeline-content p {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Timeline animations/hover items */
.timeline-item:hover .timeline-dot {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: var(--neon-glow-shadow-intense);
}

.timeline-item:hover .timeline-content {
    border-color: rgba(255, 42, 27, 0.15);
    background-color: rgba(14, 14, 19, 0.55);
}

/* Map frame styling */
.map-row-container {
    margin-top: 5.5rem;
}

.static-map-visual {
    position: relative;
    width: 100%;
    height: 380px;
    background-color: #0a0a0f;
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85);
    transition: var(--transition-smooth);
    background-image: 
        radial-gradient(circle at center, rgba(255, 42, 27, 0.08) 0%, transparent 60%),
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
    background-size: 100% 100%, 20px 20px, 20px 20px;
}

.map-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background-color: var(--color-primary);
    filter: blur(75px);
    opacity: 0.35;
    animation: pulse-red 4s infinite alternate;
}

.map-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2.2rem;
}

.map-logo-icon {
    font-size: 3.4rem;
    color: var(--color-primary);
    text-shadow: var(--neon-glow-text);
    margin-bottom: 1.5rem;
    animation: float-helmet 4s ease-in-out infinite;
}

.map-inner h4 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.map-inner p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2.2rem;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    background-color: rgba(4, 4, 6, 0.8);
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--neon-glow-shadow);
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.static-map-visual:hover {
    border-color: rgba(255, 42, 27, 0.3);
    box-shadow: var(--neon-glow-shadow);
}

.static-map-visual:hover .map-btn {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 42, 27, 0.55);
}

/* ==========================================================================
   10. Contact Section Styling
   ========================================================================== */
.contact-section {
    background-color: var(--color-bg-darkest);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4.5rem;
}

/* Emergency contact card layout details */
.urgent-contact-card {
    background-color: rgba(255, 42, 27, 0.03);
    border: 1.5px solid rgba(255, 42, 27, 0.3);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    margin-bottom: 2.2rem;
    box-shadow: 0 10px 30px rgba(255, 42, 27, 0.05);
    animation: urgent-pulse 4s infinite alternate;
}

.urgent-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.urgent-header h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
}

.blink-icon {
    font-size: 1.4rem;
    color: var(--color-primary);
    text-shadow: var(--neon-glow-text);
    animation: blinker 1.5s linear infinite;
}

.urgent-contact-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

.urgent-phone {
    background-color: rgba(255, 42, 27, 0.08) !important;
    border-color: rgba(255, 42, 27, 0.25) !important;
}

.urgent-phone:hover {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    box-shadow: var(--neon-glow-shadow-intense) !important;
}

.contact-card {
    background-color: rgba(14, 14, 19, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius-md);
    padding: 2.6rem;
    margin-bottom: 2.2rem;
    transition: var(--transition-smooth);
}

.contact-card:last-child {
    margin-bottom: 0;
}

.contact-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    border-left: 3px solid var(--color-primary);
    padding-left: 0.8rem;
    letter-spacing: 0.05em;
}

.contact-card-desc {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* Phone list */
.phone-link-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.phone-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 1.6rem;
    background-color: rgba(4, 4, 6, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}

.phone-icon-box {
    width: 46px;
    height: 46px;
    background-color: rgba(255, 255, 255, 0.012);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.phone-icon-box i {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    transition: var(--transition-smooth);
}

.phone-meta {
    display: flex;
    flex-direction: column;
}

.phone-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.phone-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.28rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

/* Phone item hover elements */
.phone-item:not(.no-hover):hover {
    border-color: var(--color-primary);
    background-color: rgba(255, 42, 27, 0.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

.phone-item:not(.no-hover):hover .phone-icon-box {
    background-color: rgba(255, 42, 27, 0.1);
}

.phone-item:not(.no-hover):hover .phone-icon-box i {
    color: #ffffff;
    text-shadow: var(--neon-glow-text);
}

.phone-item:not(.no-hover):hover .phone-val {
    color: #ffffff;
    text-shadow: var(--neon-glow-text);
}

/* Email lists */
.email-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.email-item {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.6rem;
    background-color: rgba(4, 4, 6, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-sm);
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.email-item i {
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.email-item:hover {
    border-color: var(--color-primary);
    background-color: rgba(255, 42, 27, 0.03);
    color: #ffffff;
    transform: translateY(-2px);
}

.email-item:hover i {
    color: var(--color-primary);
    text-shadow: var(--neon-glow-text);
}

/* Form Design */
.contact-form-column {
    display: flex;
}

.contact-form {
    width: 100%;
    background-color: rgba(14, 14, 19, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius-md);
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
}

.form-group input, .form-group textarea {
    background-color: rgba(4, 4, 6, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    padding: 1.1rem;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-quick);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 12px rgba(255, 42, 27, 0.25);
    background-color: rgba(4, 4, 6, 0.85);
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.form-consent input[type="checkbox"] {
    margin-top: 0.2rem;
    accent-color: var(--color-primary);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Feedback messages styling */
.form-feedback-message {
    padding: 1.2rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    display: none;
    text-align: center;
}

.form-feedback-message.success {
    display: block;
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.form-feedback-message.error {
    display: block;
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* ==========================================================================
   10. Footer Section Styling
   ========================================================================== */
.main-footer {
    background-color: var(--color-bg-darkest);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr 1fr;
    gap: 4.5rem;
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.footer-desc {
    color: var(--color-text-secondary);
    font-size: 0.92rem;
    max-width: 340px;
    line-height: 1.8;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--color-text-secondary);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background-color: rgba(255, 42, 27, 0.1);
    border-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 42, 27, 0.35);
    transform: translateY(-3px);
}

/* Footer links */
.footer-links h4, .footer-contact h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #ffffff;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
    box-shadow: var(--neon-glow-shadow);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links ul li a {
    color: var(--color-text-secondary);
    font-size: 0.92rem;
    display: block;
    transition: var(--transition-quick);
}

.footer-links ul li a:hover {
    color: var(--color-primary);
    text-shadow: var(--neon-glow-text);
    transform: translateX(5px);
}

/* Contact Info details */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--color-text-secondary);
    font-size: 0.92rem;
}

.footer-contact p i {
    color: var(--color-primary);
    margin-top: 0.3rem;
    text-shadow: var(--neon-glow-text);
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    padding: 2rem 0;
    background-color: #020204;
}

.footer-bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copyright {
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

/* Back to Top button */
.back-to-top {
    width: 46px;
    height: 46px;
    background-color: rgba(14, 14, 19, 0.85);
    border: 1px solid rgba(255, 42, 27, 0.25);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: var(--neon-glow-shadow);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.back-to-top:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(255, 42, 27, 0.7);
    transform: translateY(-3px);
}

/* ==========================================================================
   11. Custom Lightbox Modal Styling
   ========================================================================== */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(4, 4, 6, 0.96);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

.lightbox-content-box {
    position: relative;
    max-width: 85%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--border-radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95),
                0 0 45px rgba(255, 42, 27, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
    animation: zoomIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.lightbox-caption {
    margin-top: 1.5rem;
    color: #ffffff;
    font-size: 1.18rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    color: #a8a8b3;
    font-size: 2.8rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-quick);
    z-index: 2100;
}

.lightbox-close:hover {
    color: var(--color-primary);
    text-shadow: var(--neon-glow-text);
}

.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 1.5rem;
    margin-top: -3rem;
    color: #a8a8b3;
    font-weight: bold;
    font-size: 2.8rem;
    transition: var(--transition-quick);
    user-select: none;
    -webkit-user-select: none;
    z-index: 2050;
    border-radius: 50%;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-prev:hover, .lightbox-next:hover {
    color: #ffffff;
    background-color: rgba(255, 42, 27, 0.12);
}

/* ==========================================================================
   12. Keyframe Animations
   ========================================================================== */
@keyframes float-helmet {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(1.2deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes pulse-red {
    0% {
        opacity: 0.6;
        box-shadow: 0 0 10px rgba(255, 42, 27, 0.25);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 22px rgba(255, 42, 27, 0.55), 0 0 35px rgba(255, 42, 27, 0.25);
    }
    100% {
        opacity: 0.6;
        box-shadow: 0 0 10px rgba(255, 42, 27, 0.25);
    }
}

@keyframes urgent-pulse {
    0% {
        border-color: rgba(255, 42, 27, 0.25);
        box-shadow: 0 10px 30px rgba(255, 42, 27, 0.03);
    }
    100% {
        border-color: rgba(255, 42, 27, 0.55);
        box-shadow: 0 10px 40px rgba(255, 42, 27, 0.12);
    }
}

@keyframes blinker {
    50% { opacity: 0.2; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================================================
   13. Responsive Breakpoints
   ========================================================================== */

/* Large screens (<= 1200px) */
@media (max-width: 1200px) {
    .license-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Viewport (<= 992px) */
@media (max-width: 992px) {
    section {
        padding: 5.5rem 0;
    }
    
    .section-title h2 {
        font-size: 2.1rem;
    }
    
    .header-container {
        padding: 1.1rem 2rem;
    }
    
    .phone-box {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background-color: rgba(4, 4, 6, 0.98);
        border-left: 1px solid rgba(255, 42, 27, 0.2);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
        padding: 6.5rem 2.5rem 3rem 2.5rem;
        z-index: 999;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1.1rem;
        display: block;
    }
    
    /* Hero layout */
    .hero-section {
        padding-top: 7rem;
        min-height: auto;
        padding-bottom: 5.5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .hero-badge {
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 2.8rem;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-stamps {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Grids layout */
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .license-cards-container {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }
    
    .company-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .company-timeline {
        border-left: none;
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .timeline-dot {
        display: none; /* Hide vertical track dots when alignment changes on mobile */
    }
    
    .static-map-visual {
        height: 340px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* Mobile Viewport (<= 576px) */
@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .logo-text .jp-name {
        font-size: 1.1rem;
    }
    
    .logo-symbol {
        width: 46px;
        height: 28px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 1.1rem;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .hero-license-badge {
        padding: 0.8rem 1.4rem;
        right: -10px;
        bottom: -10px;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card .card-content {
        padding: 2.5rem 1.8rem;
    }
    
    .work-overlay {
        padding: 1.8rem;
    }
    
    .work-info h3 {
        font-size: 1.25rem;
    }
    
    .license-card-board {
        padding: 2.2rem 1.8rem;
    }
    
    .company-table th {
        width: 110px;
        font-size: 0.95rem;
    }
    
    .company-table th::after {
        display: none;
    }
    
    .urgent-contact-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form {
        padding: 2.2rem 1.6rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1.5rem;
        font-size: 2.2rem;
    }
    
    .lightbox-prev {
        left: 0.5rem;
    }
    
    .lightbox-next {
        right: 0.5rem;
    }
    
    .lightbox-prev, .lightbox-next {
        font-size: 2rem;
        padding: 0.8rem;
    }
}
