/*
Theme Name: Beyond Metalworks
Theme URI: https://beyondmetalworks.co.ke
Author: Beyond Metalworks
Author URI: https://beyondmetalworks.co.ke
Description: A premium, industrial WordPress theme for Beyond Metalworks - Premium Metal Fabrication in Kitengela.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beyond-metalworks
*/

/* Forced Icon Rendering Shim */
i.fa-solid, i.fas, i.fa-brands, i.fab {
    font-family: inherit; /* Fallback to inherited */
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif !important;
    font-weight: 900 !important;
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
}

i.fa-brands, i.fab {
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", sans-serif !important;
    font-weight: 400 !important;
}

/* --------------------------------------------------------------------------
   0. Global Variables & Design System
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --primary-red: #AC1E25;
    --primary-red-dark: #8a181d;
    --metal-gold: #FFD700;
    --bronze: #8B4513;
    --dark-charcoal: #1a1a1a;
    --deep-navy: #000422;
    --off-white: #f8f9fa;
    --pure-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);

    /* Fonts */
    --font-primary: 'Manrope', sans-serif;
    --font-secondary: 'Syne', sans-serif;
    --font-accent: 'Dancing Script', cursive;

    /* Spacing & Transitions */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   1. Reset & Base Styles
   -------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden !important;
    position: relative;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-charcoal);
    background-color: var(--off-white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

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

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

ul {
    list-style: none;
}

/* --------------------------------------------------------------------------
   2. Utility Classes
   -------------------------------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: var(--pure-white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(172, 30, 37, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--pure-white);
    color: var(--pure-white);
}

.btn-secondary:hover {
    background: var(--pure-white);
    color: var(--dark-charcoal);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: var(--spacing-lg);
}

.dark-overlay {
    position: relative;
    background-size: cover;
    background-position: center;
}

.dark-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6));
}

/* --------------------------------------------------------------------------
   3. Header & Navigation (Advanced)
   -------------------------------------------------------------------------- */
.site-main {
    padding-top: 100px;
    min-height: calc(100vh - 100px);
}

.section-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--deep-navy);
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    opacity: 0.8;
    font-weight: 500;
}

@media (max-width: 768px) {
    .post-meta { flex-direction: column; gap: 0.5rem; }
}
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	padding: 1.5rem 0;
	transition: var(--transition-slow);
    background: rgba(0, 4, 34, 0.85); /* Semi-transparent dark background by default */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-header.scrolled {
	background: var(--deep-navy);
	padding: 0.8rem 0;
	box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Scroll Progress Bar */
.scroll-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.1);
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary-red);
    box-shadow: 0 0 15px var(--primary-red);
    transition: width 0.1s ease-out;
}

.site-header .container {
    max-width: 100%; /* Ensure container doesn't exceed viewport on mobile */
    width: 100%;
}

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

.logo a {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--pure-white);
    letter-spacing: -1px;
    display: flex;
    align-items: center;
}

.logo img, .custom-logo-link img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.custom-logo-link {
    display: block;
}

.logo span {
    color: var(--primary-red);
}

.main-navigation ul {
    display: flex;
    gap: var(--spacing-md);
}

.main-navigation a {
    color: var(--pure-white);
    font-weight: 500;
    font-size: 0.95rem;
}

.main-navigation a:hover {
    color: var(--metal-gold);
}

/* --------------------------------------------------------------------------
   4. Hero Redesign (Premium Center Pulse)
   -------------------------------------------------------------------------- */
.hero-redesign {
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--dark-charcoal);
    overflow: hidden;
}

.hero-split-left {
    position: relative;
    background: var(--deep-navy);
}

.split-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: background-image 1.5s ease-in-out;
}

.split-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,4,34,0.6) 0%, rgba(0,4,34,0.2) 50%, rgba(0,4,34,0.6) 100%);
}

/* Hero Left Side Pulse & Quality Badge */
.hero-split-left .welding-spark.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    z-index: 10;
}

.quality-badge {
    width: 100%;
    height: 100%;
    background: var(--metal-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-navy);
    font-size: 1.5rem;
    box-shadow: 0 0 30px var(--metal-gold);
    position: relative;
    z-index: 2;
    animation: badge-breathe 2s infinite ease-in-out;
}

@keyframes badge-breathe {
    0%, 100% { transform: scale(1); box-shadow: 0 0 30px var(--metal-gold); }
    50% { transform: scale(1.1); box-shadow: 0 0 50px var(--metal-gold); }
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 3px solid #fff;
    border-radius: 50%;
    opacity: 0;
}

.pulse-ring.r1 { animation: premium-pulse 3s infinite; border-color: var(--primary-red); }
.pulse-ring.r2 { animation: premium-pulse 3s infinite 1s; border-color: var(--metal-gold); }
.pulse-ring.r3 { animation: premium-pulse 3s infinite 2s; border-color: var(--pure-white); }

@keyframes premium-pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(15); opacity: 0; }
}

.hero-split-right {
    display: flex;
    align-items: center;
    padding: var(--spacing-lg);
    background: var(--deep-navy);
    color: var(--pure-white);
    z-index: 2;
}

/* --------------------------------------------------------------------------
   5. Unique Hover Effects
   -------------------------------------------------------------------------- */
.service-card {
    background: var(--pure-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition-slow);
    border: 1px solid transparent;
    overflow: hidden;
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(172, 30, 37, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-slow);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-red);
    box-shadow: 0 20px 40px rgba(172, 30, 37, 0.1);
}

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

.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::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: 0.5s;
    z-index: -1;
}

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

/* --------------------------------------------------------------------------
   6. Inquiry Modal (Redesigned Glass)
   -------------------------------------------------------------------------- */
.inquiry-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 4, 34, 0.9);
    backdrop-filter: blur(15px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background-color: var(--deep-navy);
    background-image: 
        radial-gradient(rgba(255, 215, 0, 0.1) 1px, transparent 1px),
        radial-gradient(rgba(255, 215, 0, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    border: 3px solid var(--metal-gold);
    max-width: 600px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 3.5rem 3rem;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 50px 100px rgba(0,0,0,0.8), inset 0 0 50px rgba(0,0,0,0.5);
    color: var(--pure-white);
}

.modal-content select {
    background: var(--deep-navy) !important;
    color: white !important;
    border: 2px solid rgba(255, 215, 0, 0.3) !important;
    width: 100%;
}

/* Gleaming Shimmer Effect */
.btn, .hub-trigger, .hub-option {
    position: relative;
    overflow: hidden;
}

.btn::after, .hub-trigger::after, .hub-option::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    animation: hub-gleam 4s infinite;
}

@keyframes hub-gleam {
    0% { left: -150%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

.modal-content option {
    background: var(--deep-navy);
    color: white;
}

.modal-content::-webkit-scrollbar { width: 8px; }
.modal-content::-webkit-scrollbar-thumb { background: var(--metal-gold); border-radius: 10px; }

.modal-content h2 { color: var(--metal-gold); }

.modal-content input, .modal-content select, .modal-content textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 1rem;
    border-radius: 10px;
}

.modal-content ::placeholder { color: rgba(255,255,255,0.3); }

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--pure-white);
}

.inquiry-modal.active { display: flex; animation: premium-fade 0.5s cubic-bezier(0.19, 1, 0.22, 1); }

@keyframes premium-fade {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --------------------------------------------------------------------------
   7. Blog & Post Templates (Sidebar Layout)
   -------------------------------------------------------------------------- */
.single-post-hero {
    padding: 180px 0 100px; /* Extra top padding for fixed header */
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.blog-post-card {
    background: var(--pure-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.blog-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.blog-post-thumb {
    height: 250px;
    overflow: hidden;
}

.blog-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-post-card:hover .blog-post-thumb img {
    transform: scale(1.1);
}

.blog-post-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-post-content h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--deep-navy);
}

.post-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    border: 1px solid #eee;
}

.sidebar-cta {
    background: var(--deep-navy);
    color: white;
    text-align: center;
    border: none;
}

.sidebar-cta h3 { color: var(--metal-gold); margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   8. Footer Manual Links
   -------------------------------------------------------------------------- */
.footer-manual-links {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.footer-manual-links li {
    margin-bottom: 0.8rem;
}

.footer-manual-links li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
}

.footer-manual-links li a i {
    width: 20px;
    text-align: center;
    color: var(--primary-red);
    font-size: 0.9rem;
}

.footer-manual-links li a:hover {
    color: var(--metal-gold);
    transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   5. Sections Generic
   -------------------------------------------------------------------------- */
.section-padding {
    padding: var(--spacing-lg) 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-red);
}

/* --------------------------------------------------------------------------
   6. Contact Section
   -------------------------------------------------------------------------- */
.contact-section {
    background: var(--off-white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--pure-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-card i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--dark-charcoal);
    color: var(--pure-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.contact-form {
    background: var(--deep-navy);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    color: white;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
    .form-row-2 {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea,
.premium-form input, .premium-form select, .premium-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    font-family: inherit;
    background: rgba(255,255,255,0.05);
    color: white;
}

/* --------------------------------------------------------------------------
   7. Premium Services
   -------------------------------------------------------------------------- */
.premium-section {
    background: var(--deep-navy);
    color: var(--pure-white);
    position: relative;
}

.premium-card {
    padding: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.badge {
    background: var(--primary-red);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--metal-gold);
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    background: rgba(255,255,255,0.05);
    padding: 1rem 0;
    margin-top: 2rem;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
}

.marquee-item {
    display: inline-block;
    padding: 0 2rem;
    font-weight: 800;
    font-size: 1.5rem;
    opacity: 0.5;
}

@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* --------------------------------------------------------------------------
   8. Services Grid
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--pure-white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition-fast);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.service-features {
    margin: 1.5rem 0;
    list-style: disc;
    padding-left: 1.2rem;
}

/* --------------------------------------------------------------------------
   9. Expertise Carousel
   -------------------------------------------------------------------------- */
.expertise-carousel-container {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.expertise-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

.expertise-card {
    flex: 0 0 400px;
    background: var(--dark-charcoal);
    color: var(--pure-white);
    padding: 2rem;
    border-radius: 12px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.control-btn {
    background: var(--primary-red);
    color: var(--pure-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   Gallery Section & Lightbox
   -------------------------------------------------------------------------- */
.gallery-section {
    padding-bottom: 5rem;
}

.gallery-slider {
    padding: 2rem 0 5rem !important;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
    transition: var(--transition-slow);
    transform: scale(0.9);
    filter: grayscale(100%) opacity(0.5);
}

.swiper-slide-active .gallery-item {
    transform: scale(1.1);
    filter: grayscale(0%) opacity(1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 3px solid var(--metal-gold);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(172, 30, 37, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

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

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 2rem;
}

.gallery-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border: 5px solid var(--metal-gold);
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.2);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
}

/* Mobile Menu CTA */
.mobile-cta-li {
    display: none;
    margin-top: 2rem;
    width: 80%;
}

.mobile-cta-li .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   10. Core Values & Mission
   -------------------------------------------------------------------------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    border-top: 5px solid var(--primary-red);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   11. Process Timeline
   -------------------------------------------------------------------------- */
.process-section {
    background: var(--dark-charcoal);
    color: var(--pure-white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
}

.process-step {
    position: relative;
    padding-left: 3rem;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-red);
    opacity: 0.5;
}

.process-step h4 {
    color: var(--metal-gold);
    margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   12. Founder Section
   -------------------------------------------------------------------------- */
.founder-section {
    background: var(--pure-white);
}

.founder-row-1 {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.founder-img {
    flex: 0 0 250px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary-red);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.founder-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-quote {
    font-size: 1.5rem;
    font-style: italic;
}

.founder-signature {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-top: 1rem;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--off-white);
    border-radius: 8px;
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--dark-charcoal);
    color: var(--pure-white);
    padding: var(--spacing-lg) 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--metal-gold);
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a:hover {
    color: var(--metal-gold);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 1000;
    animation: pulsate 2s infinite;
}

@keyframes pulsate-red {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(172, 30, 37, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(172, 30, 37, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(172, 30, 37, 0); }
}

@keyframes pulsate-green {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulsate-gold {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(255, 215, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

@keyframes smoke-radiate {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; filter: blur(5px); }
    100% { transform: translate(-50%, -50%) scale(3.5); opacity: 0; filter: blur(20px); }
}

/* --------------------------------------------------------------------------
   Communication Hub (Pulse & Smoke UI)
   -------------------------------------------------------------------------- */
.communication-hub {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hub-trigger {
    width: 75px;
    height: 75px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(172, 30, 37, 0.4);
    position: relative;
    transition: var(--transition-slow);
    z-index: 10;
}

.hub-trigger i {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.hub-trigger-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1;
}

.smoke-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.smoke-wrap span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    animation: smoke-radiate 4s infinite;
}

.smoke-wrap span:nth-child(2) { animation-delay: 1.3s; }
.smoke-wrap span:nth-child(3) { animation-delay: 2.6s; }

.hub-trigger:hover {
    transform: scale(1.1) rotate(10deg);
}

.hub-trigger .pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--primary-red);
    animation: pulsate-red 2s infinite;
}

.hub-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-slow);
}

.communication-hub.active .hub-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hub-option {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    position: relative;
    transition: var(--transition-fast);
}

.hub-option:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.hub-option.call { background: #e74c3c; animation: pulsate-red 2.5s infinite; }
.hub-option.whatsapp { background: #25d366; animation: pulsate-green 2.5s infinite 0.5s; }
.hub-option.quote { background: var(--metal-gold); color: var(--deep-navy); animation: pulsate-gold 2.5s infinite 1s; }

.hub-label {
    position: absolute;
    right: 70px;
    background: white;
    color: var(--deep-navy);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition-fast);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.hub-option:hover .hub-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* --------------------------------------------------------------------------
   12. Responsive & Mobile Navigation
   -------------------------------------------------------------------------- */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--pure-white);
    cursor: pointer;
    z-index: 1100;
}

@media (max-width: 992px) {
    .header-cta { display: none; }
    .mobile-toggle { display: block; }
    
    .contact-layout, .founder-row-1, .single-post-layout {
        grid-template-columns: 1fr !important;
        flex-direction: column;
        gap: 2rem;
    }

    .hero-title { font-size: 2.5rem; }
    .entry-title { font-size: 2.2rem !important; }
    .feature-cards { grid-template-columns: 1fr; }
    
    .post-sidebar {
        position: relative;
        top: 0;
        margin-top: 3rem;
    }
    
    .single-post-hero {
        padding: 150px 0 60px;
    }

    /* Mobile Menu Overlay */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--deep-navy);
        z-index: 1050;
        transition: var(--transition-slow);
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 100px;
        overflow-y: auto;
    }

    .main-navigation.active {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .main-navigation a {
        font-size: 1.5rem;
        font-weight: 700;
    }

    .mobile-cta-li {
        display: block;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 1rem 0;
    }

    .hero-redesign { grid-template-columns: 1fr; height: auto; }
    .hero-split-left { height: 350px; }
    .hero-split-right { padding: 3rem 1.5rem; }
    .stats-grid { grid-template-columns: 1fr; gap: 1rem; }
    .blog-grid { grid-template-columns: 1fr !important; }
    
    .hero-title { font-size: 2rem; }
    .entry-title { font-size: 1.8rem !important; }

    .section-title { font-size: 1.8rem; margin-bottom: var(--spacing-md); }
    .values-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    
    .modal-content {
        padding: 2.5rem 1.5rem;
        width: 94%;
        max-height: 85vh;
    }

    .modal-content h2 {
        font-size: 1.5rem !important;
    }

    .modal-close {
        top: 15px;
        right: 15px;
    }

    .communication-hub {
        bottom: 25px;
        left: 0;
        right: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 0;
        pointer-events: none;
        background: transparent;
    }

    .hub-trigger {
        display: none !important;
    }

    .hub-options {
        display: flex !important;
        flex-direction: row !important;
        gap: 15px;
        background: rgba(0, 4, 34, 0.6);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 12px 25px;
        border-radius: 100px;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 15px 35px rgba(0,0,0,0.5);
        pointer-events: auto;
        margin-bottom: 0;
    }

    .hub-option {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin: 0 !important;
    }

    .hub-label {
        display: none !important;
    }

    .hub-trigger-label {
        font-size: 0.6rem;
    }

    .hub-option {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .hub-label {
        font-size: 0.8rem;
    }

    .contact-form {
        padding: 2rem 1.2rem;
    }

    .contact-form form div {
        grid-template-columns: 1fr !important;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }

    body {
        overflow-x: hidden;
        position: relative;
        width: 100%;
    }

    .site-header {
        width: 100%;
        left: 0;
    }

    .header-container {
        padding: 0 1.2rem !important;
        width: 100% !important;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .entry-title { font-size: 1.6rem !important; }
}
