/* ===== Base & Typography ===== */
.navbar-brand {
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--light) !important;
}

.glow-text {
    text-shadow: 0 0 10px rgba(0, 120, 212, 0.3);
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-25 {
    opacity: 0.25;
}

.hover-opacity-100:hover {
    opacity: 1;
}

/* ===== Hero Section - Fixed for CSP ===== */
.hero-section-wrapper {
    position: relative;
    overflow: hidden;
    padding: 140px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

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

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 36, 99, 0.9), rgba(10, 36, 99, 0.95));
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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='%231E40AF' fill-opacity='0.1'%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");
    opacity: 0.3;
}

/* ===== Stats Section - Fixed for CSP ===== */
.stats-section-wrapper {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

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

.stats-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 36, 99, 0.95), rgba(10, 36, 99, 0.95));
}

/* ===== Layout & Sections ===== */
.services-highlight-section {
    background: var(--light);
}

.msp-benefits {
    background: var(--light);
}

.about-section-dark {
    background: var(--dark);
}

/* Contact Section - Added to fix error */
#contact {
    background-color: white;
}

/* ===== Navigation ===== */
.custom-navbar {
    background: var(--primary) !important;
}

.navbar-logo {
    height: 40px;
    width: auto;
    margin-left: 60px;
}

.nav-link.active {
    color: white !important;
    font-weight: 600;
    border-bottom: 2px solid white;
}

/* ===== Cards & Components ===== */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(10, 36, 99, 0.1);
    border-color: var(--accent);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(0, 120, 212, 0.15);
}

/* ===== Buttons ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 120, 212, 0.2);
}

.btn-outline-light {
    border: 2px solid white;
    padding: 12px 30px;
    font-weight: 600;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

/* ===== Badges ===== */
.service-badge {
    background: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 0 5px 5px 0;
    display: inline-block;
}

.retention-badge {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 0 5px 5px 0;
    display: inline-block;
}

.cmmc-badge {
    background: linear-gradient(135deg, #7C3AED, #8B5CF6);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 0 5px 5px 0;
    display: inline-block;
}

.security-badge {
    background: linear-gradient(135deg, #DC2626, #EF4444);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 0 5px 5px 0;
    display: inline-block;
}

/* ===== Gradient Elements ===== */
.msp-features {
    background: linear-gradient(135deg, #1F2937, #374151);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    border-left: 4px solid var(--accent);
}

.gradient-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.gradient-circle i {
    color: white;
    font-size: 1.25rem;
}

/* Accent Circles (used in About section) */
.accent-circle {
    width: 50px;
    height: 50px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.accent-circle i {
    color: white;
    font-size: 1.25rem;
}

/* ===== Image Overlays ===== */
.image-overlay-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    max-width: 300px;
    color: white;
    padding: 1rem;
    margin: 0.75rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.image-overlay-accent {
    background: var(--accent);
    max-width: 300px;
    color: white;
    padding: 1rem;
    margin: 0.75rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* ===== Forms ===== */
.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.25rem rgba(0, 120, 212, 0.25);
}

.subscribe-input {
    background: #374151;
    border-color: #4B5563;
    color: white;
}

.subscribe-input:focus {
    background: #374151;
    border-color: var(--accent);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(0, 120, 212, 0.25);
}

.subscribe-button {
    background: var(--accent);
    color: white;
    min-width: 120px;
    border: none;
    transition: all 0.3s ease;
}

.subscribe-button:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
}

.subscribe-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.subscription-input-group {
    max-width: 400px;
}

/* ===== Content Blocks ===== */
.service-highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
}

.service-approach {
    border-left: 4px solid var(--success);
    padding-left: 20px;
    margin: 30px 0;
    background: rgba(5, 150, 105, 0.05);
    padding: 20px;
    border-radius: 0 10px 10px 0;
}

.contact-info {
    margin-bottom: 2rem;
}

.footer-column {
    margin-bottom: 1.5rem;
}

/* ===== Icons ===== */
.service-icon {
    color: var(--accent);
    transition: transform 0.3s ease;
}

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

/* ===== Alerts & Messages ===== */
.alert-success {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    border: none;
}

.alert-danger {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    border: none;
}

.subscription-success {
    color: #059669;
    font-size: 0.9rem;
}

.subscription-error {
    color: #dc2626;
    font-size: 0.9rem;
}

/* ===== Footer ===== */
footer {
    background: linear-gradient(135deg, #111827, #1F2937);
}

.footer-logo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ===== Utility Classes ===== */
.text-start {
    text-align: left !important;
}

.position-relative {
    position: relative !important;
}

.position-absolute {
    position: absolute !important;
}

.bottom-0 {
    bottom: 0 !important;
}

.start-0 {
    left: 0 !important;
}

.text-white {
    color: white !important;
}

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

.text-muted {
    color: #6c757d !important;
}

.rounded-circle {
    border-radius: 50% !important;
}

.rounded {
    border-radius: 0.375rem !important;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.d-flex {
    display: flex !important;
}

.align-items-center {
    align-items: center !important;
}

.justify-content-center {
    justify-content: center !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.d-none {
    display: none !important;
}

.d-inline {
    display: inline !important;
}

.d-block {
    display: block !important;
}