/* =============================================
   WERX SOLUTIONS INC. - MAIN STYLESHEET
   Industrial Theme with Clean Professional Design
   ============================================= */

/* Hide reCAPTCHA v3 badge (attribution in footer per Google ToS) */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none;
}

/* CSS Variables */
:root {
    /* Primary Colors - Industrial Theme */
    --primary-blue: #1a3a5c;
    --primary-orange: #8B1E3F;
    --primary-dark: #0d1f2d;
    --primary-gray: #2c3e50;
    --primary-maroon: #8B1E3F;
    
    /* Secondary Colors */
    --light-gray: #f5f7fa;
    --medium-gray: #5a6570;
    --dark-gray: #2d3436;
    --white: #ffffff;
    --black: #000000;
    
    /* Text Colors - WCAG AA Compliant */
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    
    /* Accent Colors */
    --accent-yellow: #d4940a;
    --accent-green: #1e8449;
    --accent-red: #8B1E3F;
    --accent-hover: #6d1832;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    
    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Section Spacing */
    --section-padding: 100px 0;
    --section-padding-sm: 60px 0;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Shadows - More refined */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.2);
    
    /* Border Radius - Sharp Edges */
    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0;
    --radius-xl: 0;
    --radius-full: 0;
    
    /* Focus Ring */
    --focus-ring: 0 0 0 3px rgba(139, 30, 63, 0.3);
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }

p {
    margin-bottom: var(--space-4);
    color: var(--text-secondary);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

a:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-sm);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-light);
    transition: var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-medium);
}

.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: var(--text-sm);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: var(--space-6);
    align-items: center;
}

.top-bar-left a,
.top-bar-left span {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left a:hover {
    color: var(--primary-orange);
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.top-bar-right a {
    color: var(--white);
    font-size: 1rem;
}

.top-bar-right a:hover {
    color: var(--primary-orange);
}

/* Main Navigation */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 120px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links > a {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.75px;
    color: var(--text-primary);
    position: relative;
    padding: var(--space-2) 0;
    transition: all 0.3s ease;
}

.nav-links > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-links > a:hover::after,
.nav-links > a.active::after {
    width: 100%;
}

.nav-links > a:hover,
.nav-links > a.active {
    color: var(--primary-orange);
}

/* Hide mobile menu footer on desktop */
.mobile-menu-footer {
    display: none;
}

.nav-cta {
    display: flex;
    gap: 10px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(0.98);
}

.btn:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-red));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(139, 30, 63, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(139, 30, 63, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
}

.btn-secondary:focus-visible {
    box-shadow: 0 0 0 3px rgba(13, 31, 45, 0.3);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-white {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-white:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: var(--text-base);
}

.btn-small {
    padding: 10px 20px;
    font-size: var(--text-xs);
}

/* Click to Call Button */
.btn-call {
    background: var(--accent-green);
    color: var(--white);
}

.btn-call:hover {
    background: #176a38;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    padding-top: 200px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-pattern.svg') repeat;
    opacity: 0.05;
    animation: subtleFloat 20s ease-in-out infinite;
}

@keyframes subtleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-10px) translateX(5px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInDown 0.8s ease-out;
}

.hero h1 span {
    color: var(--primary-orange);
    display: inline-block;
    animation: slideInRight 1s ease-out;
}

.hero-subtitle {
    font-size: var(--text-2xl);
    color: var(--white);
    font-weight: 600;
    margin-bottom: var(--space-4);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-text {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: var(--space-8);
    line-height: 1.85;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    opacity: 0.3;
    animation: fadeInRight 1.2s ease-out;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    font-family: var(--font-primary);
}

.stat-label {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* =============================================
   SECTIONS - GENERAL
   ============================================= */
.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-16);
}

.section-subtitle {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--space-3);
    padding: var(--space-2) var(--space-4);
    background: rgba(139, 30, 63, 0.08);
    border-radius: var(--radius-full);
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.section-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 42rem;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--light-gray);
}

.bg-dark {
    background-color: var(--primary-dark);
}

.bg-dark .section-title,
.bg-dark .section-description,
.bg-dark p {
    color: var(--white);
}

.bg-dark .section-subtitle {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.15);
    font-weight: 800;
}

/* =============================================
   VALUE STATEMENT / INTRO SECTION
   ============================================= */
.intro-section {
    background: var(--light-gray);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    margin-bottom: var(--space-5);
}

.intro-text p {
    font-size: var(--text-lg);
    line-height: 1.8;
    color: var(--text-secondary);
}

.intro-image {
    position: relative;
}

.intro-image img {
    border-radius: 0;
    box-shadow: var(--shadow-heavy);
}

.intro-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-orange);
    color: var(--white);
    padding: var(--space-6) var(--space-8);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-heavy);
}

.intro-badge .number {
    font-size: var(--text-4xl);
    font-weight: 800;
    font-family: var(--font-primary);
    display: block;
    line-height: 1;
}

.intro-badge .text {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: var(--space-2);
}

/* =============================================
   SERVICE CARDS GRID
   ============================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-10) var(--space-8);
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-orange), var(--accent-red));
    transition: height 0.4s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 30, 63, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(139, 30, 63, 0.1);
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(26, 58, 92, 0.4);
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-red));
    border-radius: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.service-card p {
    font-size: var(--text-base);
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.service-card .btn {
    margin-top: var(--space-6);
}

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-us-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: var(--white);
}

.why-us-section .section-title {
    color: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.why-us-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0;
    transition: var(--transition-normal);
}

.why-us-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.why-us-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-orange);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.why-us-content h4 {
    color: var(--white);
    margin-bottom: var(--space-2);
    font-size: var(--text-lg);
}

.why-us-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-sm);
    margin: 0;
    line-height: 1.7;
}

/* =============================================
   FEATURE STRIP / CTA BANNER
   ============================================= */
.feature-strip {
    background: var(--primary-orange);
    padding: 60px 0;
}

.feature-strip .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-strip-content {
    max-width: 600px;
}

.feature-strip h2 {
    color: var(--white);
    margin-bottom: var(--space-4);
}

.feature-strip p {
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--text-lg);
    margin: 0;
}

/* =============================================
   FOOTER CTA
   ============================================= */
.footer-cta {
    background: var(--primary-dark);
    padding: 80px 0;
    text-align: center;
}

.footer-cta h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-lg);
    max-width: 500px;
    margin: 0 auto var(--space-8);
}

.footer-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* =============================================
   MAIN FOOTER
   ============================================= */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.footer-about .logo-text {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

.footer h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-orange);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
    transition: var(--transition-normal);
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--primary-orange);
    transform: translateX(5px);
}

.footer-links ul li a:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-sm);
}

.footer-contact ul li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-sm);
}

.footer-contact ul li i {
    color: var(--primary-orange);
    width: 20px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--text-sm);
    margin: 0;
}

.footer-bottom a.developer-link {
    color: #e67e22;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-bottom a.developer-link:hover {
    color: #f39c12;
    text-decoration: underline;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--text-sm);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* =============================================
   PAGE HERO (Interior Pages)
   ============================================= */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-pattern.svg') repeat;
    opacity: 0.05;
}

.page-hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.page-hero .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.page-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-sm);
}

.page-hero .breadcrumb a:hover {
    color: var(--white);
}

.page-hero .breadcrumb span {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-sm);
}

/* =============================================
   ABOUT PAGE STYLES
   ============================================= */
.about-intro {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    margin-bottom: var(--space-5);
}

.about-content p {
    font-size: var(--text-lg);
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 0;
    box-shadow: var(--shadow-heavy);
}

/* Approach Section */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.approach-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--white);
    border-radius: 0;
    box-shadow: var(--shadow-light);
    transition: var(--transition-normal);
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.approach-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-yellow));
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--white);
}

.approach-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.approach-card p {
    font-size: var(--text-sm);
    margin: 0;
    color: var(--text-secondary);
}

/* Industries Section */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 0;
    box-shadow: var(--shadow-light);
    transition: var(--transition-normal);
}

.industry-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.industry-item i {
    font-size: 2rem;
    color: var(--primary-orange);
}

.industry-item span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Service Area */
.service-area {
    background: var(--primary-dark);
    color: var(--white);
}

.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.area-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 25px;
    border-radius: 0;
    font-weight: 500;
    transition: var(--transition-normal);
}

.area-tag:hover {
    background: var(--primary-orange);
}

/* =============================================
   SERVICES PAGE STYLES
   ============================================= */
.service-detail {
    padding: 60px 0;
    border-bottom: 1px solid var(--light-gray);
}

.service-detail:nth-child(even) {
    background: var(--light-gray);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-detail:nth-child(even) .service-detail-grid {
    direction: rtl;
}

.service-detail:nth-child(even) .service-detail-grid > * {
    direction: ltr;
}

.service-detail-content h2 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.service-detail-content h2 i {
    color: var(--primary-orange);
}

.service-detail-content p {
    font-size: var(--text-lg);
    line-height: 1.8;
    margin-bottom: var(--space-6);
    color: var(--text-secondary);
}

.service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--text-sm);
    color: var(--text-primary);
}

.service-list li i {
    color: var(--accent-green);
    font-size: 0.9rem;
}

.service-detail-image {
    position: relative;
}

.service-detail-image img {
    border-radius: 0;
    box-shadow: var(--shadow-heavy);
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* =============================================
   CONTACT PAGE STYLES
   ============================================= */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    background: var(--primary-dark);
    padding: 40px;
    border-radius: 0;
    color: var(--white);
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.contact-info .tagline {
    color: var(--primary-orange);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 1.2rem;
}

.contact-item-content h4 {
    color: var(--white);
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
}

.contact-item-content p,
.contact-item-content a {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-base);
    margin: 0;
}

.contact-item-content a:hover {
    color: var(--primary-orange);
}

.contact-hours {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-hours h4 {
    color: var(--white);
    margin-bottom: var(--space-4);
}

.contact-hours p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
}

.emergency-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--primary-orange);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-sm);
    margin-top: var(--space-4);
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--white);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: var(--space-10);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
}

.contact-form-wrapper h3 {
    margin-bottom: var(--space-8);
    color: var(--text-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}

.form-group {
    margin-bottom: var(--space-5);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
    font-size: var(--text-sm);
    letter-spacing: 0.01em;
}

.form-group label span {
    color: var(--accent-red);
    margin-left: var(--space-1);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    color: var(--text-primary);
    background: var(--white);
    transition: var(--transition-normal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #cbd5e0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: var(--focus-ring);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #c0392b;
    background-color: rgba(192, 57, 43, 0.05);
}

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: #27ae60;
    background-color: rgba(39, 174, 96, 0.05);
}

.field-error {
    color: #c0392b;
    font-size: 0.85rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group.file-upload input {
    padding: 12px;
    background: var(--light-gray);
}

.form-submit {
    margin-top: 10px;
}

.form-submit .btn {
    width: 100%;
}

/* reCAPTCHA attribution notice */
.recaptcha-notice {
    margin-top: 15px;
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}

.recaptcha-notice a {
    color: var(--primary-orange);
    text-decoration: none;
}

.recaptcha-notice a:hover {
    text-decoration: underline;
}

/* =============================================
   RESPONSIVE STYLES
   ============================================= */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .intro-content,
    .about-grid,
    .service-detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
    
    .service-detail:nth-child(even) .service-detail-grid {
        direction: ltr;
    }
    
    /* Mobile Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-6);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        gap: 0;
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links > a {
        padding: 15px 0;
        border-bottom: 1px solid var(--light-gray);
        font-size: var(--text-base);
    }
    
    .nav-links > a:last-of-type {
        border-bottom: none;
    }
    
    .nav-links > a::after {
        display: none;
    }
    
    /* Mobile menu footer with contact info */
    .mobile-menu-footer {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 2px solid var(--light-gray);
    }
    
    .mobile-menu-footer > a,
    .mobile-menu-footer > span {
        display: flex;
        align-items: center;
        gap: 12px;
        color: var(--text-secondary);
        font-size: var(--text-sm);
        text-decoration: none;
    }
    
    .mobile-menu-footer > a:hover {
        color: var(--primary-orange);
    }
    
    .mobile-menu-footer i {
        width: 20px;
        text-align: center;
        color: var(--primary-orange);
    }
    
    .mobile-menu-social {
        display: flex;
        gap: 12px;
        margin-top: 10px;
    }
    
    .mobile-menu-social a {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--light-gray);
        color: var(--primary-dark);
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-social a:hover {
        background: var(--primary-orange);
        color: var(--white);
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    /* Hide top bar on mobile */
    .top-bar {
        display: none;
    }
    
    .section {
        padding: var(--section-padding);
    }
    
    .section-header {
        margin-bottom: var(--space-10);
    }
    
    .hero {
        padding-top: 100px;
        min-height: 0;
        padding-bottom: var(--space-16);
    }
    
    .hero h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: var(--text-lg);
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-8);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-strip .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
    }
    
    .service-list {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .page-hero {
        padding: 100px 0 50px;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .nav-container {
        padding: 8px 0;
    }
    
    .logo-img {
        height: 96px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 50px 0;
    }
    
    .container {
        padding: 0 var(--space-4);
    }
    
    .logo-img {
        height: 84px;
    }
    
    .hero h1 {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    
    .btn {
        padding: 12px 24px;
        font-size: var(--text-sm);
        width: 100%;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: var(--text-base);
    }
    
    .btn-small {
        padding: 10px 20px;
        font-size: var(--text-xs);
    }
    
    .hero-buttons {
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: var(--text-3xl);
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: var(--space-6);
    }
    
    .logo-img {
        height: 72px;
    }
    
    .footer-logo {
        height: 48px;
    }
    
    .service-card {
        padding: var(--space-8) var(--space-6);
    }
    
    .approach-card {
        padding: var(--space-8) var(--space-5);
    }
}

@media (max-width: 320px) {
    :root {
        --section-padding: 40px 0;
    }
    
    .container {
        padding: 0 var(--space-3);
    }
    
    .logo-img {
        height: 66px;
    }
    
    .footer-logo {
        height: 40px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .why-us-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: var(--text-2xl);
    }
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: 10px; padding-bottom: 10px; }
.py-2 { padding-top: 20px; padding-bottom: 20px; }
.py-3 { padding-top: 30px; padding-bottom: 30px; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   ADDITIONAL UTILITY CLASSES
   ============================================= */
.w-100 {
    width: 100%;
}

.text-muted {
    color: var(--medium-gray);
    display: block;
    margin-top: 5px;
}

.text-white {
    color: var(--white) !important;
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Form file upload help text */
.file-help-text {
    color: var(--text-muted);
    display: block;
    margin-top: var(--space-2);
    font-size: var(--text-xs);
}

/* Reversed grid layout for alternating sections */

/* =============================================
   ADDITIONAL VISUAL ENHANCEMENTS
   ============================================= */

/* Skip to content link for accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: var(--space-4);
    background: var(--primary-orange);
    color: var(--white);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    z-index: 9999;
    transition: var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-4);
}

/* Improved selection styling */
::selection {
    background: var(--primary-orange);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary-orange);
    color: var(--white);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

/* Image loading placeholder */
img {
    background-color: var(--light-gray);
}

/* Better underline for links in content */
.content a {
    color: var(--primary-orange);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.content a:hover {
    color: var(--accent-hover);
}

/* Card hover lift effect enhancement */
.card-lift {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Loading state for buttons */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 0;
    animation: spin 0.8s linear infinite;
    margin-left: var(--space-2);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form Messages */
.alert {
    padding: 15px;
    border-radius: 0;
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 500;
    display: none;
}

.alert.show {
    display: block;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* =============================================
   ANIMATIONS & ENHANCEMENTS
   ============================================= */

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale Animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Bounce Animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Slide In Animation */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Glow Animation */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(139, 30, 63, 0.5), 0 0 10px rgba(139, 30, 63, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(139, 30, 63, 0.8), 0 0 30px rgba(139, 30, 63, 0.5);
    }
}

/* Shimmer Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Animation Utility Classes */
.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fadeInDown {
    animation: fadeInDown 0.8s ease-out;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease-out;
}

.animate-scaleIn {
    animation: scaleIn 0.5s ease-out;
}

.animate-bounce {
    animation: bounce 1s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Delay Classes */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

/* Scroll Reveal - Elements fade in when scrolled into view */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Enhancements */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-glow:hover {
    animation: glow 1.5s ease-in-out infinite;
}

/* Smooth Gradient Background Animation */
.gradient-animate {
    background: linear-gradient(
        -45deg,
        var(--primary-maroon),
        var(--accent-red),
        var(--primary-blue),
        var(--primary-dark)
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(139, 30, 63, 0.1);
    border-top-color: var(--primary-maroon);
    border-radius: 0;
    animation: spin 0.8s linear infinite;
}

/* Parallax Effect Support */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Glass Morphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Stagger Animation for Lists */
.stagger-fade > * {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.stagger-fade > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-fade > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-fade > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-fade > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-fade > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-fade > *:nth-child(6) { animation-delay: 0.6s; }

/* Print styles */
@media print {
    .header,
    .footer,
    .btn,
    .mobile-toggle {
        display: none !important;
    }
    
    .hero {
        min-height: 0;
        padding: var(--space-8) 0;
    }
    
    .section {
        padding: var(--space-8) 0;
    }
    
    body {
        color: #000;
    }
}

/* =============================================
   ENHANCED ANIMATIONS & EFFECTS
   ============================================= */

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
    }
    50% {
        transform: translateY(-5px) rotate(-1deg);
    }
    75% {
        transform: translateY(-15px) rotate(0.5deg);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Ripple Effect on Buttons */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.btn:active::after {
    transform: translate(-50%, -50%) scale(3);
    opacity: 1;
    transition: 0s;
}

/* Card 3D Tilt Effect */
.service-card,
.why-us-item,
.industry-item {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.4s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-2deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.why-us-item:hover {
    transform: translateY(-8px) rotateX(3deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Icon Bounce on Hover */
.service-icon,
.why-us-icon {
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-card:hover .service-icon,
.why-us-item:hover .why-us-icon {
    transform: scale(1.15) rotate(-5deg);
}

/* Text Reveal Animation */
@keyframes textReveal {
    0% {
        clip-path: inset(0 100% 0 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

.text-reveal {
    animation: textReveal 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/* Underline Animation for Links */
.animated-underline {
    position: relative;
    text-decoration: none;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-maroon);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.animated-underline:hover::after {
    width: 100%;
}

/* Morphing Background - Disabled for sharp edges */
@keyframes morphBg {
    0%, 100% {
        border-radius: 0;
    }
    50% {
        border-radius: 0;
    }
}

.morph-bg {
    animation: morphBg 8s ease-in-out infinite;
}

/* Staggered Card Entrance */
.services-grid .service-card,
.why-us-grid .why-us-item {
    opacity: 0;
    transform: translateY(40px);
}

.services-grid .service-card.revealed,
.why-us-grid .why-us-item.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.services-grid .service-card:nth-child(1) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.4s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.5s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.6s; }
.services-grid .service-card:nth-child(7) { transition-delay: 0.7s; }

/* Glowing Border Effect */
@keyframes borderGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(139, 30, 63, 0.3),
                    inset 0 0 5px rgba(139, 30, 63, 0.1);
    }
    50% {
        box-shadow: 0 0 20px rgba(139, 30, 63, 0.5),
                    inset 0 0 10px rgba(139, 30, 63, 0.2);
    }
}

.glow-border {
    animation: borderGlow 3s ease-in-out infinite;
}

/* Typing Animation */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.typing-effect {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--primary-maroon);
    animation: typing 3s steps(30) forwards, blink 0.75s step-end infinite;
}

/* Particle Float Effect */
@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) translateX(10px) rotate(180deg);
        opacity: 0.5;
    }
}

/* Smooth Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-maroon), var(--accent-yellow));
    z-index: 10000;
    transition: width 0.1s ease;
}

/* Image Zoom on Hover */
.image-zoom {
    overflow: hidden;
}

.image-zoom img {
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.image-zoom:hover img {
    transform: scale(1.1);
}

/* Shine Effect */
@keyframes shine {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.shine-effect {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shine 3s infinite;
}

/* Magnetic Hover Effect Helper */
.magnetic {
    transition: transform 0.3s ease;
}

/* Section Divider Wave */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* Flip Card Effect */
.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* Counter Number Pop Effect */
.stat-number {
    transition: transform 0.3s ease, color 0.3s ease;
}

.stat-number:hover {
    transform: scale(1.1);
    color: var(--primary-maroon);
}

/* Smooth Accordion Animation */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

/* Focus Ring Animation */
@keyframes focusRing {
    0% {
        box-shadow: 0 0 0 0 rgba(139, 30, 63, 0.4);
    }
    100% {
        box-shadow: 0 0 0 6px rgba(139, 30, 63, 0);
    }
}

input:focus,
textarea:focus,
select:focus {
    animation: focusRing 0.3s ease forwards;
}

/* Loading Skeleton */
@keyframes skeleton {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 0px, #e0e0e0 40px, #f0f0f0 80px);
    background-size: 200px 100%;
    animation: skeleton 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

/* Notification Badge Pulse */
@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.badge-pulse {
    animation: badgePulse 1.5s ease-in-out infinite;
}

/* Smooth Page Transition */
.page-transition {
    animation: fadeIn 0.5s ease-out;
}

/* Hero Background Gradient Animation */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 50%, var(--primary-dark) 100%);
    background-size: 200% 200%;
    animation: heroGradient 15s ease infinite;
}

@keyframes heroGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Elastic Button Effect */
.btn-elastic {
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.btn-elastic:hover {
    transform: scale(1.05);
}

.btn-elastic:active {
    transform: scale(0.95);
}

/* Icon Rotate on Hover */
.icon-rotate {
    transition: transform 0.4s ease;
}

.icon-rotate:hover {
    transform: rotate(360deg);
}

/* Smooth Color Transitions */
.color-transition {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.about-grid-reversed {
    direction: rtl;
}

.about-grid-reversed > * {
    direction: ltr;
}

/* Legal Pages - Content Container */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: var(--text-2xl);
}

.legal-content h3 {
    color: var(--primary-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: var(--text-xl);
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.legal-content a {
    color: var(--primary-orange);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--accent-hover);
}

.legal-agreement {
    margin-top: 40px;
}

/* =============================================
   PRELOADER STYLES
   ============================================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    margin-bottom: 30px;
}

.preloader-logo img {
    max-width: 180px;
    height: auto;
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-orange);
    margin: 0 auto;
    animation: spin 0.8s linear infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    z-index: 9998;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    color: #fff;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: var(--primary-dark);
    color: #fff;
    padding: 8px 15px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-dark);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

/* WhatsApp button pulse animation */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #25D366;
    animation: whatsappPulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}
