:root {
    /* Primary Brand Colors */
    --primary-navy: #1e293b;
    --secondary-navy: #334155;
    --accent-gold: #f59e0b;
    --accent-gold-light: #fbbf24;
    
    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8fafc;
    --light-gray: #f1f5f9;
    --medium-gray: #64748b;
    --dark-gray: #475569;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    
    /* Border Colors */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --border-dark: #94a3b8;
    
    /* Shadow Colors */
    --shadow-light: rgba(30, 41, 59, 0.05);
    --shadow-medium: rgba(30, 41, 59, 0.1);
    --shadow-heavy: rgba(30, 41, 59, 0.15);
    
    /* Status Colors */
    --success-green: #059669;
    --warning-orange: #ea580c;
    --error-red: #dc2626;
    --info-blue: #3b82f6;
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background: #ffffff;
    font-display: optional;
}

/* Navigation */
.navbar {
    padding: 0.75rem 0 !important;
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 50%, var(--light-gray) 100%) !important;
    border-bottom: 2px solid var(--border-light) !important;
    box-shadow: 0 4px 20px var(--shadow-light) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
    transition: all 0.3s ease !important;
}

.navbar.bg-white {
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 50%, var(--light-gray) 100%) !important;
}

.navbar.navbar-light {
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 50%, var(--light-gray) 100%) !important;
}

.navbar-brand {
    padding: 0.5rem 0;
}

.navbar-brand img {
    transition: transform 0.3s ease;
    max-height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 4px var(--shadow-light));
}

.navbar-brand:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px var(--shadow-medium));
}

.navbar-nav {
    align-items: center;
}

.nav-link {
    font-weight: 500;
    padding: 0.75rem 1.25rem !important;
    transition: all 0.3s ease;
    color: var(--text-dark) !important;
    border-radius: 0.5rem;
    margin: 0 0.25rem;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--primary-navy) !important;
    background-color: var(--light-gray);
    transform: translateY(-1px);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link.active {
    color: var(--primary-navy) !important;
    font-weight: 600;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--off-white) 100%);
    box-shadow: 0 2px 8px var(--shadow-light);
}

.nav-link.active::before {
    width: 80%;
}

.navbar-toggler {
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(217, 119, 6, 0.1);
    border-color: var(--accent-gold);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15, 23, 42, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-menu {
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 25px var(--shadow-medium);
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
    border-radius: 0.75rem;
    padding: 0.5rem;
    margin-top: 0.5rem;
    min-width: 200px;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    color: var(--text-dark);
    font-weight: 500;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--off-white) 100%);
    color: var(--primary-navy);
    transform: translateX(4px);
}

.dropdown-item:active {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: var(--white);
}

/* Professional Navbar Scrolled State */
.navbar.scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-medium);
    box-shadow: 0 4px 30px var(--shadow-medium);
}

/* Professional Navbar Container */
.navbar .container {
    max-width: 1200px;
}

/* Professional Navbar Responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
        padding: 1.5rem;
        border-radius: 1rem;
        box-shadow: 0 10px 30px var(--shadow-medium);
        border: 1px solid var(--border-light);
        margin-top: 1rem;
    }
    
    .nav-link {
        padding: 1rem 1.5rem !important;
        margin: 0.25rem 0;
        border-radius: 0.75rem;
        text-align: center;
    }
    
    .nav-link:hover {
        background: linear-gradient(135deg, var(--light-gray) 0%, var(--off-white) 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px var(--shadow-light);
    }
    
    .nav-link.active {
        background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
        color: var(--white) !important;
        box-shadow: 0 4px 12px var(--shadow-medium);
    }
    
    .nav-link.active::before {
        display: none;
    }
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-navy);
    border-color: var(--primary-navy);
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.btn-primary:hover {
    background-color: var(--secondary-navy);
    border-color: var(--secondary-navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.2);
}

.btn-primary:focus {
    background-color: var(--secondary-navy);
    border-color: var(--secondary-navy);
    box-shadow: 0 0 0 0.2rem rgba(15, 23, 42, 0.25);
}

.btn-outline-primary {
    color: var(--primary-navy);
    border-color: var(--primary-navy);
    background-color: transparent;
}

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

/* Cards */
.card {
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.75rem;
    background-color: var(--white);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.card-body {
    padding: 1.5rem;
}

.text-primary {
    color: var(--primary-navy) !important;
}

.text-secondary {
    color: var(--medium-gray) !important;
}

.text-muted {
    color: var(--medium-gray) !important;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

.bg-primary {
    background-color: var(--primary-navy) !important;
}

/* Icons */
.fa-check-circle {
    color: var(--primary-navy);
}

/* Footer */
footer {
    background-color: var(--primary-navy);
    color: var(--white);
}

footer a {
    color: var(--white) !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

footer a:hover {
    color: var(--accent-gold) !important;
    opacity: 0.9;
}

.social-icons a {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: var(--white);
}

.social-icons a:hover {
    transform: translateY(-3px);
    color: var(--accent-gold);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: url('images/banner.jpg') no-repeat center center;
    background-size: cover;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

#heroVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Equipment Carousel */
.carousel-item {
    padding: 1rem;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Testimonials */
.blockquote-footer {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-section {
        height: 80vh;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.25rem;
    }
    
    .navbar-collapse {
        background-color: var(--white);
        padding: 1rem;
        border-radius: 0.75rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        border: 1px solid var(--border-light);
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .card-img-top {
        height: 180px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        height: 60vh;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .btn-primary {
        width: 100%;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#servicesVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

#projectsVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
} 

/* Professional Section Styling */
.section-header {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Professional Form Styling */
.form-control {
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 0.2rem rgba(15, 23, 42, 0.1);
}

.form-select {
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.form-select:focus {
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 0.2rem rgba(15, 23, 42, 0.1);
}

/* Professional Alert Styling */
.alert-success {
    background-color: rgba(5, 150, 105, 0.1);
    border-color: var(--success-green);
    color: var(--success-green);
}

.alert-warning {
    background-color: rgba(234, 88, 12, 0.1);
    border-color: var(--warning-orange);
    color: var(--warning-orange);
}

/* Professional Badge Styling */
.badge-primary {
    background-color: var(--primary-navy);
    color: var(--white);
}

.badge-secondary {
    background-color: var(--medium-gray);
    color: var(--white);
}

/* Professional Table Styling */
.table {
    border-color: var(--border-light);
}

.table thead th {
    background-color: var(--light-gray);
    border-color: var(--border-light);
    color: var(--text-dark);
    font-weight: 600;
}

.table tbody td {
    border-color: var(--border-light);
    color: var(--text-dark);
} 

/* Professional Banner Sections */
.page-header {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.page-header .lead {
    font-weight: 400;
    opacity: 0.9;
}

/* Professional Card Enhancements */
.card {
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1rem;
    background-color: var(--white);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px var(--shadow-heavy) !important;
    border-color: var(--border-medium);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Professional Icon Styling */
.fa-3x {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

/* Professional Background Sections */
.bg-light {
    background-color: var(--off-white) !important;
}

.bg-white {
    background-color: var(--white) !important;
}

/* Professional Button Enhancements */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-navy) 0%, var(--primary-navy) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px var(--shadow-heavy);
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
} 

/* Professional Section Styling */
.section-padding {
    padding: 5rem 0;
}

.section-padding-lg {
    padding: 7rem 0;
}

.section-padding-sm {
    padding: 3rem 0;
}

/* Professional Typography */
.display-4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.display-5 {
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-muted);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    text-align: center;
}

/* Exception for form labels - they should not be centered */
.form-label {
    text-align: left !important;
}

/* Exception for service section headings - they should be left-aligned */
.services-section h5 {
    text-align: left !important;
}

/* Professional Container Enhancements */
.container {
    max-width: 1200px;
}

.container-fluid {
    max-width: 1400px;
}

/* Professional Grid Enhancements */
.row {
    margin-left: -1rem;
    margin-right: -1rem;
}

.col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
.col-md, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
.col-lg, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Professional Spacing */
.mb-6 {
    margin-bottom: 4rem !important;
}

.mb-7 {
    margin-bottom: 5rem !important;
}

.mt-6 {
    margin-top: 4rem !important;
}

.mt-7 {
    margin-top: 5rem !important;
}

.py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.py-7 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

/* Professional Image Styling */
.img-fluid {
    border-radius: 0.75rem;
}

.card-img-top {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

/* Professional Link Styling */
a {
    color: var(--primary-navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Professional List Styling */
.list-unstyled li {
    margin-bottom: 0.5rem;
}

.list-unstyled li:last-child {
    margin-bottom: 0;
}

/* Professional Divider */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-light) 50%, transparent 100%);
    margin: 3rem 0;
}

/* Professional Badge Enhancements */
.badge {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.badge-primary {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: var(--white);
}

/* Professional Alert Enhancements */
.alert {
    border: none;
    border-radius: 1rem;
    padding: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1) 0%, rgba(5, 150, 105, 0.05) 100%);
    color: var(--success-green);
    border-left: 4px solid var(--success-green);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.1) 0%, rgba(234, 88, 12, 0.05) 100%);
    color: var(--warning-orange);
    border-left: 4px solid var(--warning-orange);
}

/* Professional Form Enhancements */
.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid var(--border-light);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.2rem rgba(217, 119, 6, 0.1);
    background-color: var(--white);
}

/* Professional Table Enhancements */
.table {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-light);
}

.table thead th {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--off-white) 100%);
    border: none;
    color: var(--text-dark);
    font-weight: 600;
    padding: 1.25rem 1rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.table tbody td {
    border: none;
    border-bottom: 1px solid var(--border-light);
    padding: 1.25rem 1rem;
    color: var(--text-dark);
    vertical-align: middle;
}

.table tbody tr:hover {
    background-color: var(--off-white);
}

/* Professional Footer Enhancements */
footer {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: var(--white);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-gold) 50%, transparent 100%);
}

footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Removed gold underline from footer h5 elements */

footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

footer a {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--accent-gold) !important;
    text-decoration: none;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-gold);
    transform: translateY(-3px);
    color: var(--white) !important;
} 

/* Professional Background Treatments */
.bg-white {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
}

.bg-light {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
}

.bg-off-white {
    background: linear-gradient(135deg, #fafafa 0%, #f1f5f9 100%) !important;
}

.bg-navy-light {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
}

.bg-navy-subtle {
    background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%) !important;
}

.bg-gold-subtle {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%) !important;
}

.bg-gradient-light {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #e2e8f0 100%) !important;
}

.bg-gradient-warm {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #f59e0b 100%) !important;
}

/* Section Background Patterns */
.bg-pattern-dots {
    background-image: radial-gradient(circle, var(--border-light) 1px, transparent 1px);
    background-size: 20px 20px;
    background-color: var(--off-white);
}

.bg-pattern-lines {
    background-image: linear-gradient(45deg, var(--border-light) 25%, transparent 25%), 
                      linear-gradient(-45deg, var(--border-light) 25%, transparent 25%), 
                      linear-gradient(45deg, transparent 75%, var(--border-light) 75%), 
                      linear-gradient(-45deg, transparent 75%, var(--border-light) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    background-color: var(--off-white);
}

/* Professional Section Backgrounds */
.section-bg-primary {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: var(--white);
}

.section-bg-secondary {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--text-dark);
}

.section-bg-accent {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: var(--text-dark);
}

.section-bg-warm {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #f59e0b 100%);
    color: var(--text-dark);
}

/* Card Background Enhancements */
.card {
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px var(--shadow-heavy) !important;
    border-color: var(--border-medium);
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

/* Remove gold bar on card hover */
.card::before,
.card:hover::before,
.glowing-card::before,
.glowing-card:hover::before {
    display: none !important;
    background: none !important;
    border-top: none !important;
    content: none !important;
}

.card,
.glowing-card {
    border-top: none !important;
    box-shadow: none !important;
}

/* Professional Container Backgrounds */
.container-bg-light {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
}

.container-bg-warm {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
}

.container-bg-navy {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
}

/* Professional Banner Backgrounds */
.banner-bg-primary,
.banner-bg-premium,
.banner-bg-navy-gold,
.banner-bg-warm,
.banner-bg-light {
    background: #ffffff !important;
    color: var(--text-dark) !important;
}

.banner-bg-primary::before,
.banner-bg-premium::before,
.banner-bg-navy-gold::before,
.banner-bg-warm::before,
.banner-bg-light::before {
    display: none !important;
}

/* Professional Content Areas */
.content-bg-primary {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: var(--white);
    padding: 3rem 0;
}

.content-bg-secondary {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--text-dark);
    padding: 3rem 0;
}

.content-bg-warm {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: var(--text-dark);
    padding: 3rem 0;
}

/* Professional Alternating Sections */
.section-alt {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.section-alt:nth-child(even) {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

/* Professional Feature Boxes */
.feature-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
}

.feature-box-primary {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: var(--white);
}

.feature-box-warm {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: var(--text-dark);
}

/* Professional Testimonial Backgrounds */
.testimonial-bg {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
}

.testimonial-bg::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-gold);
    font-family: serif;
    line-height: 1;
}

/* Professional CTA Backgrounds */
.cta-bg-primary {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-bg-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-bg-warm {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #f59e0b 100%);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

/* Professional Sidebar Backgrounds */
.sidebar-bg {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 1rem;
    padding: 2rem;
    border-left: 4px solid var(--accent-gold);
}

/* Professional Alert Backgrounds */
.alert-success {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1) 0%, rgba(5, 150, 105, 0.05) 100%);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-left: 4px solid var(--success-green);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.1) 0%, rgba(234, 88, 12, 0.05) 100%);
    border: 1px solid rgba(234, 88, 12, 0.2);
    border-left: 4px solid var(--warning-orange);
}

.alert-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-left: 4px solid var(--info-blue);
} 

/* Alternative Professional Navbar Styles */
.navbar.navbar-premium {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-gray) 50%, var(--medium-gray) 100%) !important;
}

.navbar.navbar-navy-subtle {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-gray) 75%, var(--border-medium) 100%) !important;
}

.navbar.navbar-warm {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, var(--accent-gold) 100%) !important;
}

.navbar.navbar-navy-light {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-gray) 100%) !important;
}

.navbar.navbar-sophisticated {
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 30%, var(--light-gray) 70%, var(--border-light) 100%) !important;
} 

.navbar.navbar-dark-professional {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--medium-gray) 50%, var(--dark-gray) 100%) !important;
}

.navbar.navbar-navy-gradient {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%) !important;
    color: var(--white) !important;
}

.navbar.navbar-navy-gradient .nav-link {
    color: var(--white) !important;
}

.navbar.navbar-navy-gradient .nav-link:hover {
    color: var(--accent-gold) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.navbar.navbar-navy-gradient .nav-link.active {
    color: var(--accent-gold) !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
} 

/* Light Blue Solid Navbar */
.navbar.navbar-light-blue {
    background: #ffffff !important;
    border-bottom: 2px solid var(--border-light) !important;
    box-shadow: 0 4px 20px var(--shadow-light) !important;
}

.navbar.navbar-light-blue .nav-link {
    color: var(--primary-navy) !important;
}

.navbar.navbar-light-blue .nav-link.active,
.navbar.navbar-light-blue .nav-link:hover {
    color: var(--accent-gold) !important;
    background-color: rgba(245, 158, 11, 0.07) !important;
    border-radius: 0.5rem;
} 

/* Glowing Pulsating Card Effect - Softer Gold Glow */
.glowing-card {
    position: relative;
    border-radius: 1rem;
    background: #fff;
    overflow: visible !important;
    z-index: 1;
}

.glowing-card::after {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    right: -16px;
    bottom: -16px;
    border-radius: 1.5rem;
    z-index: -1;
    pointer-events: none;
    box-shadow: 0 0 0 0 rgba(245,158,11,0.28), 0 0 16px 4px rgba(251,191,36,0.16);
    opacity: 0.28;
    animation: goldPulse 2s infinite;
    transition: box-shadow 0.3s;
}

.glowing-card:hover::after {
    animation: goldPulseHover 1s infinite;
    opacity: 0.4;
}

@keyframes goldPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245,158,11,0.28), 0 0 16px 4px rgba(251,191,36,0.16);
    }
    50% {
        box-shadow: 0 0 0 3px rgba(251,191,36,0.16), 0 0 24px 8px rgba(245,158,11,0.28);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245,158,11,0.28), 0 0 16px 4px rgba(251,191,36,0.16);
    }
}
@keyframes goldPulseHover {
    0% {
        box-shadow: 0 0 0 0 rgba(245,158,11,0.32), 0 0 24px 8px rgba(251,191,36,0.22);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(251,191,36,0.22), 0 0 32px 16px rgba(245,158,11,0.32);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245,158,11,0.32), 0 0 24px 8px rgba(251,191,36,0.22);
    }
}

/* Increase spacing between glowing cards */
.glowing-card {
    margin-bottom: 3.5rem;
    margin-top: 3.5rem;
}

@media (max-width: 767.98px) {
    .glowing-card {
        margin-bottom: 2rem;
        margin-top: 2rem;
    }
}

/* Light blue card background and centered text for card-blue */
.card-blue {
    background: linear-gradient(135deg, #eaf4fb 0%, #dbeafe 100%) !important;
    border: none !important;
}
.card-blue .card-body {
    text-align: center;
}

/* Gold underline for all major titles */
.gold-underline {
    height: 4px;
    width: 80%;
    max-width: 480px;
    margin: 0 auto 2.5rem auto;
    background: linear-gradient(90deg,#fbbf24 0%,#f59e0b 100%);
    border-radius: 2px;
}
.gold-underline.card-title {
    width: 240px;
    max-width: 90vw;
    margin: 0 auto 1.2rem auto;
}

/* Services Page Optimizations */
.industries-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    white-space: nowrap;
}

/* Optimize image loading */
.services-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 70%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    will-change: transform;
}

/* Prevent font switching during page transitions */
* {
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure consistent font rendering */
html {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}