:root {
    --primary-color: #1e40af;
    --secondary-color: #1f2937;
    --accent-color: #f59e0b;
    --text-light: #f9fafb;
    --text-dark: #111827;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}
#services i:before {
    color: white !important;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}


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

.btn-primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}

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

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

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

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

.section-padding {
    padding: 5rem 0;
}

.container-max {
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(31, 41, 55, 0.8) 50%, rgba(31, 41, 55, 0.6) 100%);
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.navbar-scrolled {
    background: rgba(31, 41, 55, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.8) !important;
    transition: color 0.3s ease;
    margin: 0 10px;
}

.navbar-nav .nav-link:hover {
    color: #f59e0b !important;
}

.navbar {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1050;
}

.navbar .dropdown-menu {
    z-index: 1051 !important;
}

.navbar .container-max {
    display: flex;
    align-items: center;
    width: 100%;
}

.navbar-brand {
    flex-shrink: 0;
    margin-right: auto;
}

@media (min-width: 992px) {
    .navbar-brand {
        margin-right: 2rem;
    }
}

.navbar-collapse {
    flex-grow: 1;
}

@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        margin: 0;
        padding: 10px 0;
    }
    
    .navbar-brand {
        margin-right: auto;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
    }
}

.hover-bg-primary:hover {
    background-color: rgba(30, 64, 175, 0.1) !important;
    color: var(--primary-color) !important;
}

/* Icon visibility fixes */
.card .bg-primary.bg-opacity-10 .bi {
    color: var(--primary-color) !important;
    opacity: 1 !important;
}

/* Services section icons should be white */
#services-content .bg-primary.bg-opacity-10 .bi {
    color: white !important;
    opacity: 1 !important;
}

.trust-section .bg-primary.bg-opacity-25 .bi {
    color: white !important;
    opacity: 1 !important;
}

/* i::after pseudo-element styling */
i::after {
    color: white !important;
}

.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    cursor: pointer;
}
