/* I Cube Engineering - Custom Styles */

/* General Setup */
body {
    background-color: #ffffff;
    /* White Theme */
    color: #333333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Primary Color Definition - Blue */
.bg-primary {
    background-color: #0056b3 !important;
    /* Professional Deep Blue */
}

.text-primary {
    color: #0056b3 !important;
}

.border-primary {
    border-color: #0056b3 !important;
}

.btn-primary {
    background-color: #0056b3;
    border-color: #004494;
}

.btn-primary:hover {
    background-color: #004494;
    border-color: #003366;
}

/* Navbar Tuning */
.navbar-brand i {
    color: #ffffff;
}

.nav-link {
    cursor: pointer;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link.active {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* SPA Section Hiding/Showing */
.page-section {
    display: none !important;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.page-section.active-section {
    display: block !important;
    opacity: 1;
    animation: fadeIn 0.6s;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Cards Hover Effect */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Typography Enhancements */
.text-justify {
    text-align: justify;
}

.card-title {
    margin-bottom: 20px;
}

/* Home Title Background */
/* Home Title Background */
.home-title-bg {
    background-image: url('bg.ce.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* optional: parallax effect */
    background-attachment: fixed;
    padding: 100px 20px;
    border-radius: 15px;
    /* Reducing overlay opacity to make image more visible */
    background-blend-mode: overlay;
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}