/*
Theme Name: FiberXperts Premium Theme
Theme URI: https://fiberxperts.org
Author: Antigravity AI
Author URI: https://github.com/google-deepmind
Description: Ultra-modern, high-performance corporate theme for FiberXperts, featuring fluid scroll-driven animations, high-fidelity glassmorphism, and deep navy industrial aesthetics.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ksrm-theme
*/

/* ==========================================================================
   1. Design System & Variables
   ========================================================================== */

:root {
    /* Brand & Theme Colors */
    --bg-dark-deep: #050a0f;
    --bg-dark-card: rgba(13, 21, 32, 0.65);
    --bg-dark-nav: rgba(5, 10, 15, 0.75);
    --brand-blue: #005bc4;
    --brand-blue-glow: rgba(0, 91, 196, 0.45);
    --brand-cyan: #00c0ff;
    --brand-yellow: #f5c630;
    --brand-yellow-glow: rgba(245, 198, 48, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 91, 196, 0.15);
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #050a0f 0%, #0d1520 100%);
    --gradient-blue: linear-gradient(135deg, #005bc4 0%, #00c0ff 100%);
    --gradient-yellow: linear-gradient(135deg, #f5c630 0%, #ffdf00 100%);
    --gradient-card-glow: linear-gradient(135deg, rgba(0, 91, 196, 0.1) 0%, rgba(0, 192, 255, 0.05) 100%);

    /* Spacing & Layout */
    --container-max: 1280px;
    --section-padding: 120px;
    
    /* Shadows & Glassmorphism */
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-blur: blur(16px);
    
    /* Animation Speeds */
    --transition-fast: 0.25s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-base: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   2. Reset & Core Layout Styles
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: initial; /* Handled smoothly by Lenis */
    background-color: var(--bg-dark-deep);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    background-color: var(--bg-dark-deep);
    color: var(--text-secondary);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark-deep);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    transition: background var(--transition-fast);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-blue);
}

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

ul, ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base), text-shadow var(--transition-base);
}

a:hover {
    color: var(--text-primary);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Lenis smooth scrolling integration */
html.lenis {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overflow: clip;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* ==========================================================================
   3. Typography & Section Headers
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 0.5em;
}

h1 {
    font-size: clamp(40px, 6vw, 84px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(32px, 4vw, 48px);
}

h3 {
    font-size: clamp(24px, 3vw, 32px);
}

.section-header {
    margin-bottom: 60px;
    max-width: 800px;
}

.section-subtitle {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--brand-blue);
    display: inline-block;
    margin-bottom: 12px;
    position: relative;
    padding-left: 32px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: var(--brand-blue);
}

.section-title {
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -0.01em;
}

/* ==========================================================================
   4. Preloader System
   ========================================================================== */

.preloader-plus {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark-deep);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.preloader-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    transform: scale(0.9);
    animation: pulsePreloader 2s ease-in-out infinite;
}

@keyframes pulsePreloader {
    0%, 100% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1); opacity: 1; }
}

.preloader-logo-wrapper svg {
    width: 120px;
    height: auto;
}

.preloader-progress-bar-container {
    width: 240px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 16px;
}

.preloader-progress-bar {
    width: 0%;
    height: 100%;
    background: var(--gradient-blue);
    position: absolute;
    left: 0;
    top: 0;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px var(--brand-cyan);
}

.preloader-percentage {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
    letter-spacing: 0.1em;
}

/* ==========================================================================
   5. Site Header & Glassmorphic Navigation
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.header-1 {
    width: 100%;
    background: var(--bg-dark-nav);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    transition: padding var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
}

.header-1.scrolled {
    padding: 12px 0;
    background: rgba(5, 10, 15, 0.9);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

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

.site-logo svg {
    height: 48px;
    width: auto;
    transition: transform var(--transition-base);
}

.site-logo:hover svg {
    transform: scale(1.03);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu > li > a {
    display: block;
    padding: 10px 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    position: relative;
    transition: color var(--transition-base);
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-base);
}

.nav-menu > li > a:hover {
    color: var(--text-primary);
}

.nav-menu > li > a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Active Nav Menu Item */
.nav-menu > li.active > a,
.nav-menu > li.current-menu-item > a {
    color: var(--brand-cyan) !important;
}

.nav-menu > li.active > a::after,
.nav-menu > li.current-menu-item > a::after {
    transform: scaleX(1);
    background: var(--brand-cyan);
}

/* Navigation CTA Button */
.nav-cta {
    margin-left: 20px;
}

.btn-cta {
    display: inline-block;
    padding: 10px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    background: var(--gradient-blue);
    color: var(--text-primary);
    box-shadow: 0 4px 14px var(--brand-blue-glow);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 192, 255, 0.4);
    filter: brightness(1.1);
}

/* Header 2 (Sticky helper for WP-compatibility) */
.header-2 {
    display: none; /* Merged into Header 1 for a much cleaner, responsive UX */
}

/* Mobile Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 10000;
    color: var(--text-primary);
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   6. Hero Section (Cinematic Entrance)
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark-deep);
    overflow: hidden;
    padding-top: 100px;
}

/* High-tech canvas / grid background */
.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.45;
}

.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: center center;
    pointer-events: none;
}

.hero-glow-overlay {
    position: absolute;
    width: 60vw;
    height: 60vw;
    top: -10vw;
    right: -10vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 91, 196, 0.25) 0%, transparent 70%);
    z-index: 2;
    filter: blur(80px);
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.8s ease-in-out, transform 1.8s ease-in-out;
}

.hero-slide.active {
    opacity: 0.15;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 30%, var(--bg-dark-deep) 85%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1050px;
    padding: 0 24px;
}

.hero-title-reveal {
    margin-bottom: 24px;
    overflow: hidden;
}

.hero-animated-text {
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1.05;
    color: var(--text-primary);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.01em;
}

.hero-animated-text .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    margin-right: 0.2em;
}

.hero-animated-text .char {
    display: inline-block;
    transform: translateY(105%);
}

.hero-description {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    max-width: 760px;
    margin: 0 auto 40px auto;
    opacity: 0;
    transform: translateY(20px);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
}

/* Button UI Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary-glow {
    background: var(--brand-blue);
    color: var(--text-primary);
    box-shadow: 0 4px 20px var(--brand-blue-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary-glow:hover::before {
    left: 100%;
}

.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 91, 196, 0.6);
    background-color: #0066dc;
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-blue);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-base);
}

.btn-ghost:hover {
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 4px 20px var(--brand-blue-glow);
}

.btn-ghost:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* ==========================================================================
   7. "Who We Are" Section & Interactive Feature Grid
   ========================================================================== */

.about-section {
    position: relative;
    padding: var(--section-padding) 0;
    background: radial-gradient(circle at 10% 80%, rgba(0, 91, 196, 0.05) 0%, transparent 50%), var(--bg-dark-deep);
    border-top: 1px solid var(--border-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content-left {
    opacity: 0;
    transform: translateY(30px);
}

.about-content-left p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.about-facebook-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    border-radius: 30px;
    background: #1877f2;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.4);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.about-facebook-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.6);
}

.about-facebook-link i {
    font-size: 18px;
}

/* Feature Cards Grid (Right Side) */
.about-cards-right {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.pillar-card {
    position: relative;
    background: var(--bg-dark-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px;
    display: flex;
    gap: 24px;
    overflow: hidden;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-card-glow);
    opacity: 0;
    z-index: 0;
    transition: opacity var(--transition-base);
}

.pillar-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-blue);
    box-shadow: var(--glass-shadow), 0 0 20px rgba(0, 91, 196, 0.15);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-card-icon {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    font-size: 24px;
    transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.pillar-card:hover .pillar-card-icon {
    background: var(--brand-blue);
    color: var(--text-primary);
    border-color: transparent;
}

.pillar-card.yellow-accent:hover {
    border-color: var(--brand-yellow);
    box-shadow: var(--glass-shadow), 0 0 20px rgba(245, 198, 48, 0.15);
}

.pillar-card.yellow-accent:hover .pillar-card-icon {
    background: var(--brand-yellow);
    color: var(--bg-dark-deep);
}

.pillar-card.silver-accent:hover {
    border-color: var(--brand-cyan);
    box-shadow: var(--glass-shadow), 0 0 20px rgba(0, 192, 255, 0.15);
}

.pillar-card.silver-accent:hover .pillar-card-icon {
    background: var(--brand-cyan);
    color: var(--bg-dark-deep);
}

.pillar-card-info {
    position: relative;
    z-index: 1;
    flex: 1;
}

.pillar-card-info h3 {
    margin-bottom: 8px;
    font-size: 20px;
    text-transform: uppercase;
}

.pillar-card-info p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ==========================================================================
   8. Parallax Projects Showcase
   ========================================================================== */

.projects-section {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--bg-dark-deep);
    border-top: 1px solid var(--border-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    height: 480px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(30px);
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.project-card-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.project-card-image {
    width: 100%;
    height: 115%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    transition: filter 0.5s ease;
}

.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(to top, rgba(5, 10, 15, 0.95) 0%, rgba(5, 10, 15, 0.3) 60%, transparent 100%);
    transition: background 0.5s ease;
}

.project-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.project-card-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--brand-cyan);
    margin-bottom: 8px;
}

.project-card-title {
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.project-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    align-self: flex-start;
}

.project-card-link i {
    font-size: 14px;
    transition: transform var(--transition-fast);
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand-blue);
    box-shadow: 0 12px 30px rgba(0, 91, 196, 0.25);
}

.project-card:hover .project-card-image {
    filter: scale(1.05) brightness(0.85);
}

.project-card:hover .project-card-desc {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover .project-card-link i {
    transform: translateX(4px);
    color: var(--brand-cyan);
}

/* ==========================================================================
   9. Metrics / Statistics Counter Section
   ========================================================================== */

.stats-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-dark-deep) 0%, rgba(13, 21, 32, 0.5) 50%, var(--bg-dark-deep) 100%);
    border-top: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-box {
    background: var(--bg-dark-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 48px 32px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.stat-box:hover::before {
    transform: scaleX(1);
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 12px;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 64px;
    line-height: 1;
    color: var(--text-primary);
}

.stat-suffix {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 32px;
    color: var(--brand-cyan);
    margin-left: 2px;
}

.stat-box:nth-child(2) .stat-suffix {
    color: var(--brand-yellow);
}

.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.stat-sublabel {
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================================================
   10. Floating Contact Widget Sidebar
   ========================================================================== */

.floating-sidebar {
    position: fixed;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 9999;
}

.floating-sidebar-icon {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-sidebar-icon:hover {
    transform: scale(1.1);
}

.floating-sidebar-icon .sidebar-label {
    position: absolute;
    right: 64px;
    background: rgba(13, 21, 32, 0.9);
    border: 1px solid var(--border-color);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--text-primary);
    padding: 6px 16px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
    box-shadow: var(--glass-shadow);
}

.floating-sidebar-icon:hover .sidebar-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Specific colors from user requirements */
.floating-sidebar-icon.green-phone {
    background: #10b981;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}
.floating-sidebar-icon.whatsapp {
    background: #22c55e;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}
.floating-sidebar-icon.envelope {
    background: #ef4444;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}
.floating-sidebar-icon.linkedin {
    background: #0a66c2;
    box-shadow: 0 4px 15px rgba(10, 102, 194, 0.4);
}
.floating-sidebar-icon.toggle-x {
    background: #8b5cf6;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    cursor: pointer;
}

/* Floating Sidebar Hidden state */
.floating-sidebar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: height var(--transition-base), opacity var(--transition-base), transform var(--transition-base);
    height: 240px;
    opacity: 1;
}

.floating-sidebar-wrapper.collapsed {
    height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.floating-sidebar-icon.toggle-x i {
    transition: transform var(--transition-base);
}

.floating-sidebar-icon.toggle-x.active i {
    transform: rotate(135deg);
}

/* ==========================================================================
   11. Premium Industrial Footer
   ========================================================================== */

.site-footer {
    background: #03070b;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 0 0;
    color: var(--text-secondary);
}

.footer-main {
    padding-bottom: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.5fr;
    gap: 80px;
}

/* Column 1: Info */
.footer-col-info svg {
    height: 48px;
    width: auto;
    margin-bottom: 24px;
}

.footer-col-info p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 420px;
}

.footer-social-list {
    display: flex;
    gap: 12px;
}

.footer-social-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    font-size: 15px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-social-list a:hover {
    color: var(--text-primary);
    border-color: var(--brand-blue);
    background: var(--brand-blue);
    box-shadow: 0 0 12px var(--brand-blue-glow);
    transform: translateY(-2px);
}

/* Column 2: Navigation Links */
.footer-col-links h4,
.footer-col-contact h4 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col-links h4::after,
.footer-col-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--brand-blue);
}

.footer-link-list li {
    margin-bottom: 12px;
}

.footer-link-list a {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.footer-link-list a i {
    font-size: 10px;
    color: var(--brand-blue);
    transition: transform var(--transition-fast);
}

.footer-link-list a:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.footer-link-list a:hover i {
    transform: translateX(2px);
    color: var(--brand-cyan);
}

/* Column 3: Contact Info */
.footer-contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-contact-details i {
    font-size: 16px;
    color: var(--brand-blue);
    margin-top: 4px;
}

.footer-contact-details a {
    transition: color var(--transition-fast);
}

.footer-contact-details a:hover {
    color: var(--brand-cyan);
}

/* Copyright Bar */
.footer-copyright {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-copyright span {
    color: var(--brand-blue);
    font-weight: 700;
}

/* ==========================================================================
   12. Popup / Modal Box System
   ========================================================================== */

.about-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 10, 15, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.about-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.about-modal {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    max-width: 680px;
    width: 90%;
    padding: 48px;
    position: relative;
    box-shadow: var(--glass-shadow), 0 0 40px rgba(0, 91, 196, 0.15);
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-modal-overlay.active .about-modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.modal-close:hover {
    background: var(--brand-blue);
    color: var(--text-primary);
}

.modal-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.modal-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   12.5. Message From Our Leader Section
   ========================================================================== */

.leader-section {
    position: relative;
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-dark-deep) 0%, rgba(5, 10, 15, 0.95) 100%);
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.leader-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 80px;
    align-items: center;
}

.leader-content-left {
    opacity: 0;
    transform: translateY(30px);
}

.leader-message-body p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.leader-signature-block {
    border-left: 3px solid var(--brand-blue);
    padding-left: 20px;
    margin-top: 40px;
}

.leader-signature-block h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.leader-signature-block p {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

.leader-media-right {
    position: relative;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
}

.leader-photo-frame {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 4/5;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--glass-shadow);
}

.leader-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95);
    transition: transform var(--transition-base);
}

.leader-portrait-img:hover {
    transform: scale(1.03);
}

.leader-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,10,15,0.7) 0%, transparent 40%);
    pointer-events: none;
}

.leader-glow-decor {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(0, 91, 196, 0.12) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
    filter: blur(40px);
}

/* ==========================================================================
   13. Responsive Styles
   ========================================================================== */

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .leader-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .leader-media-right {
        order: -1; /* Display DMD photo on top in mobile/tablet viewport layout */
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1.5fr 1fr;
        gap: 60px;
    }
    
    .footer-col-contact {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    /* Navigation responsive overlay styling */
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(5, 10, 15, 0.98);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        border-left: 1px solid var(--border-color);
        padding: 100px 40px;
        flex-direction: column;
        align-items: flex-start;
        transition: right 0.5s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 999;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }
    
    .nav-menu > li {
        width: 100%;
    }
    
    .nav-menu > li > a {
        padding: 10px 0;
        font-size: 16px;
    }
    
    .nav-menu > li > a::after {
        left: 0;
        right: 0;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 30px;
        width: 100%;
    }
    
    .btn-cta {
        width: 100%;
        text-align: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-col-contact {
        grid-column: span 1;
    }
    
    .floating-sidebar {
        right: 16px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .about-modal {
        padding: 32px 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 16px;
    }
}
