:root {
    /* Strict Logo Colors Only */
    --primary-color: #506A8C;      /* Logo Right: Steel Blue */
    --primary-hover: #3E5472;      
    --dark-bg: #1B2B41;          /* Logo Left: Dark Navy */
    --dark-hover: #111C2B;       
}
body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #334155;
}
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }

/* OVERRIDE BOOTSTRAP COLORS TO STRICTLY MATCH LOGO */
.text-dark { color: var(--dark-bg) !important; }
.bg-dark { background-color: var(--dark-bg) !important; }

/* Removing Green, Yellow, Red, Light Blue from all service cards and badges */
.text-success, .text-warning, .text-info, .text-danger, .text-secondary {
    color: var(--primary-color) !important;
}
.bg-success, .bg-warning, .bg-info, .bg-danger, .bg-secondary {
    background-color: var(--primary-color) !important;
}
/* Ensure the light backgrounds for icons also match the exact logo blue */
.bg-success.bg-opacity-10, .bg-warning.bg-opacity-10, .bg-info.bg-opacity-10, .bg-danger.bg-opacity-10, .bg-secondary.bg-opacity-10 {
    background-color: rgba(80, 106, 140, 0.15) !important;
}
/* Badge strict colors */
.badge.bg-success, .badge.bg-warning, .badge.bg-info, .badge.bg-danger, .badge.bg-secondary {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}
.badge.bg-dark {
    background-color: var(--dark-bg) !important;
    color: #ffffff !important;
}

/* Typography Helpers */
.fs-7 { font-size: 0.875rem; }
.tracking-wider { letter-spacing: 0.1em; }
.tracking-wide { letter-spacing: 0.05em; }
.max-w-700 { max-width: 700px; }
.z-index-1 { z-index: 1; }
.z-index-0 { z-index: 0; }

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}
.custom-btn-hover {
    transition: all 0.3s ease;
}
.custom-btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(80, 106, 140, 0.3) !important;
}
.custom-btn-outline {
    border-width: 2px;
    border-color: rgba(255,255,255,0.7);
    color: white;
    transition: all 0.3s ease;
}
.custom-btn-outline:hover {
    background-color: white;
    color: var(--dark-bg);
}
.custom-btn-light {
    transition: all 0.3s ease;
    color: var(--primary-color) !important;
}
.custom-btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

/* Nav Links */
.hover-primary-text {
    transition: color 0.2s ease;
}
.hover-primary-text:hover {
    color: var(--primary-color) !important;
}

/* Service Cards */
.service-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-top: 4px solid transparent !important;
}
.service-arrow {
    bottom: 24px;
    right: 24px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1.5rem 3rem rgba(0,0,0,.08)!important;
    border-top: 4px solid var(--primary-color) !important;
}
.service-card:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
}
.service-card:hover .service-icon-box {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Footer Links */
.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}
.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}
.social-icon {
    transition: all 0.3s ease;
}
.social-icon:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-3px);
}

/* Floating Animations */
.hero-image-wrapper {
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Dropdown */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; 
        animation: fadeIn 0.3s ease;
    }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ======== NATIVE BOOTSTRAP CAROUSEL HERO ======== */
.carousel-item {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.carousel-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, var(--dark-bg) 0%, rgba(27, 43, 65, 0.7) 50%, rgba(27, 43, 65, 0.4) 100%);
}
.carousel-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.carousel-item.active .carousel-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: #fff;
    opacity: 0.5;
}
.carousel-indicators .active {
    opacity: 1;
    background-color: var(--primary-color);
    transform: scale(1.3);
}

/* Header Links Hover Animation */
.custom-nav-links .nav-link {
    position: relative;
    padding: 10px 15px !important;
}
.custom-nav-links .nav-link::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: 5px; left: 15px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.custom-nav-links .nav-link:hover::after {
    width: calc(100% - 30px);
}