/* ABG Janitorial Services - Enterprise Corporate Stylesheet */

/* ============================================
   CSS Variables & Custom Properties
   ============================================ */
:root {
    /* Colors */
    --navy: #0a1628;
    --dark-blue: #0d2844;
    --blue: #1a5f9e;
    --accent-blue: #2d8bda;
    --light-blue: #4da3e8;
    --sky: #e8f4fc;
    --white: #ffffff;
    --off-white: #f7f9fb;
    --light-grey: #e5e9ed;
    --grey: #8494a7;
    --dark-grey: #4a5568;
    --charcoal: #2d3748;
    --black: #1a202c;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 50%, var(--blue) 100%);
    --gradient-accent: linear-gradient(135deg, var(--blue) 0%, var(--accent-blue) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(10, 22, 40, 0.9) 0%, rgba(13, 40, 68, 0.85) 100%);
    
    /* Typography */
    --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --section-padding: 7rem;
    --container-width: 1280px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 6px 10px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15), 0 10px 20px rgba(0,0,0,0.1);
    --shadow-card: 0 4px 20px rgba(10, 22, 40, 0.08);
    --shadow-card-hover: 0 12px 40px rgba(10, 22, 40, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* ============================================
   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-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-grey);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { margin-bottom: 1rem; color: var(--dark-grey); }

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

a:hover { color: var(--accent-blue); }

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition-base);
}

.header.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
}

.header.scrolled .nav-link { color: var(--navy); }
.header.scrolled .nav-link:hover { color: var(--blue); }
.header.scrolled .logo-light { display: none; }
.header.scrolled .logo-dark { display: block; }

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

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    height: 55px;
    width: auto;
    transition: var(--transition-base);
}

.logo-dark { display: none; }

.nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: var(--transition-base);
}

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

.nav-cta {
    padding: 0.875rem 1.75rem;
    background: var(--accent-blue);
    color: var(--white) !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: var(--transition-base);
}

.nav-cta:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-cta::after { display: none; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.mobile-toggle span {
    width: 28px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition-base);
}

.header.scrolled .mobile-toggle span { background-color: var(--navy); }

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--light-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--navy);
}

.btn-secondary:hover {
    background: var(--off-white);
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-outline-dark:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 8rem 0;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-xl);
    color: var(--light-blue);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-label-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    line-height: 1.1;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--light-blue), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat { text-align: left; }

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-stat-number span { color: var(--accent-blue); }

.hero-stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Page Headers */
.page-hero {
    position: relative;
    padding: 10rem 0 5rem;
    background: var(--gradient-hero);
    overflow: hidden;
}

.page-hero .hero-bg { opacity: 0.1; }

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-hero-text {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Sections
   ============================================ */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--sky);
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-xl);
    margin-bottom: 1rem;
}

.section-header h2 { margin-bottom: 1rem; }

.section-header p {
    font-size: 1.125rem;
    color: var(--grey);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Trust Bar / Client Logos
   ============================================ */
.trust-bar {
    padding: 4rem 0;
    background: var(--off-white);
    border-top: 1px solid var(--light-grey);
    border-bottom: 1px solid var(--light-grey);
}

.trust-bar-label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--grey);
    margin-bottom: 2rem;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.trust-logo {
    height: 45px;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: var(--transition-base);
}

.trust-logo:hover {
    opacity: 0.8;
    filter: grayscale(0%);
}

/* ============================================
   Service Cards
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-base);
    border: 1px solid var(--light-grey);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.service-card-image {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.service-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.6) 100%);
    opacity: 0;
    transition: var(--transition-base);
}

.service-card:hover .service-card-image::before { opacity: 1; }

.service-card-content { padding: 2rem; }

.service-card-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 0.75rem;
    transition: var(--transition-fast);
}

.service-card:hover h3 { color: var(--blue); }

.service-card p {
    color: var(--grey);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.service-card-link svg { transition: var(--transition-fast); }
.service-card:hover .service-card-link svg { transform: translateX(4px); }

/* Featured Service Cards (Horizontal) */
.service-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.service-featured:nth-child(even) { direction: rtl; }
.service-featured:nth-child(even) > * { direction: ltr; }

.service-featured-image {
    position: relative;
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.service-featured-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-featured-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    margin: 1.5rem 0;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--dark-grey);
}

.service-list-icon {
    width: 24px;
    height: 24px;
    background: var(--sky);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    background: var(--navy);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.stat-item { text-align: center; }

.stat-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.stat-number span { color: var(--accent-blue); }

.stat-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   Features Grid
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-grey);
    transition: var(--transition-base);
}

.feature-card:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    transition: var(--transition-base);
}

.feature-card:hover .feature-icon { transform: scale(1.05); }
.feature-card h3 { margin-bottom: 0.75rem; }

.feature-card p {
    color: var(--grey);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--light-grey);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--sky);
    line-height: 1;
    z-index: 0;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-rating svg {
    width: 20px;
    height: 20px;
    color: #fbbf24;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-grey);
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.testimonial-info span {
    font-size: 0.875rem;
    color: var(--grey);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    position: relative;
    padding: 6rem 0;
    background: var(--gradient-hero);
    overflow: hidden;
}

.cta-section .hero-pattern { opacity: 0.5; }

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
}

/* ============================================
   About Page
   ============================================ */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.about-content h2 { margin-bottom: 1.5rem; }

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.value-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: var(--transition-base);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.value-card h3 {
    color: var(--blue);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--grey);
    margin-bottom: 0;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-base);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.team-card-image {
    height: 300px;
    background-size: cover;
    background-position: center top;
}

.team-card-content {
    padding: 2rem;
    text-align: center;
}

.team-card h3 { margin-bottom: 0.25rem; }

.team-card-role {
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-card p {
    color: var(--grey);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
}

.contact-sidebar {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: var(--white);
}

.contact-sidebar h3 {
    color: var(--white);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.contact-item-content h4 {
    color: var(--white);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-item-content p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-grey);
}

.contact-form-wrapper h3 { margin-bottom: 0.5rem; }

.contact-form-wrapper > p {
    color: var(--grey);
    margin-bottom: 2rem;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--light-grey);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--navy);
    transition: var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(45, 139, 218, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--light-grey);
}

.faq-item h4 {
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--grey);
    margin-bottom: 0;
    line-height: 1.7;
}

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.industry-card {
    position: relative;
    height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.industry-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.85) 100%);
    transition: var(--transition-base);
}

.industry-card:hover::before {
    background: linear-gradient(180deg, transparent 0%, rgba(26, 95, 158, 0.9) 100%);
}

.industry-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: var(--white);
}

.industry-card h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.industry-card p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-top: 1.5rem;
    line-height: 1.8;
}

.footer-brand img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.7);
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--accent-blue);
}

.footer-bottom {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a { color: rgba(255,255,255,0.5); }
.footer-legal a:hover { color: var(--white); }

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-fade-in-up { animation: fadeInUp 0.8s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* Scroll-triggered animation styles */
.animate-ready {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Page load animation */
body {
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.loaded {
    opacity: 1;
}

/* Header transition for hide/show on scroll */
.header {
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Enhanced card hover effects */
.service-card,
.industry-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    will-change: transform;
}

/* Form validation styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: #10b981;
}

.form-group.focused label {
    color: var(--accent-blue);
}

/* Form success message */
.form-success-message {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #ecfdf5;
    border: 1px solid #10b981;
    border-radius: var(--radius-md);
    color: #065f46;
    margin-bottom: 2rem;
    animation: fadeInUp 0.4s ease;
}

.form-success-message.fade-out {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.form-success-message svg {
    color: #10b981;
    flex-shrink: 0;
}

/* Menu open body state */
body.menu-open {
    overflow: hidden;
}

/* Parallax container */
.hero-bg {
    will-change: transform;
}

/* Enhanced button hover states */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Image hover zoom effect */
.service-card-image,
.industry-card,
.team-card-image,
.about-image,
.service-featured-image {
    overflow: hidden;
}

.service-card-image::after,
.team-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(10, 22, 40, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Shimmer loading effect for images */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.image-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Glow effect on focus */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 4px rgba(45, 139, 218, 0.15);
}

/* Stats counter glow */
.stat-number,
.hero-stat-number {
    text-shadow: 0 0 40px rgba(45, 139, 218, 0.3);
}

/* Card lift shadow progression */
.service-card:hover,
.feature-card:hover,
.value-card:hover,
.team-card:hover {
    box-shadow: 
        0 4px 6px rgba(10, 22, 40, 0.05),
        0 10px 20px rgba(10, 22, 40, 0.1),
        0 20px 40px rgba(10, 22, 40, 0.15);
}

/* Gradient text animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero h1 span {
    background-size: 200% auto;
    animation: gradientShift 4s ease infinite;
}

/* Testimonial card quote animation */
.testimonial-card::before {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.testimonial-card:hover::before {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Nav link underline animation */
.nav-link::after {
    transform-origin: right;
}

.nav-link:hover::after {
    transform-origin: left;
}

/* Industry card content slide up */
.industry-card-content {
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.industry-card:hover .industry-card-content {
    transform: translateY(0);
}

/* Service list checkmark bounce */
.service-list-icon {
    transition: transform 0.3s ease;
}

.service-list li:hover .service-list-icon {
    transform: scale(1.2);
}

/* Pulse animation for CTA elements */
@keyframes subtlePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(45, 139, 218, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(45, 139, 218, 0); }
}

.nav-cta {
    animation: subtlePulse 3s infinite;
}

/* Loading spinner for forms */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 0.5rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .stats-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
    :root { --section-padding: 5rem; }
    .services-grid, .testimonials-grid, .team-grid, .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .about-intro, .service-featured, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .service-featured:nth-child(even) { direction: ltr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 2rem; }
}

@media (max-width: 768px) {
    :root { --section-padding: 4rem; }
    
    .nav {
        display: none;
        position: fixed;
        inset: 0;
        background: var(--navy);
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .nav.active { display: flex; }
    .nav-menu { flex-direction: column; align-items: center; gap: 1.5rem; }
    .nav-link { font-size: 1.25rem; color: var(--white); }
    .nav-cta { margin-top: 1rem; }
    .mobile-toggle { display: flex; }
    
    .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
    
    .hero-content { padding: 6rem 0 4rem; }
    .hero-stats { flex-direction: column; gap: 2rem; }
    .hero-stat { text-align: center; }
    
    .services-grid, .testimonials-grid, .team-grid, .features-grid, .stats-grid, .values-grid, .industries-grid { grid-template-columns: 1fr; }
    .btn-group { flex-direction: column; width: 100%; }
    .btn-group .btn { width: 100%; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .footer-legal { justify-content: center; }
    .stat-number { font-size: 3rem; }
    .about-image, .service-featured-image { height: 300px; }
}

@media (max-width: 480px) {
    .container, .header-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
    .hero h1 { font-size: 2.25rem; }
    .hero-stat-number { font-size: 2.5rem; }
    .section-header h2 { font-size: 1.75rem; }
    .contact-sidebar, .contact-form-wrapper { padding: 2rem; }
}
