@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background: #f4f7fc;
    color: #333;
    overflow: hidden;
    /* Hide scrollbar during preload */
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #18479B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-section {
    padding: 0;
    display: block;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.card {
    border: none;
    border-top: 4px solid #18479B;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

.text-primary {
    color: #18479B !important;
}

.btn-primary {
    background: #18479B;
    border: none;
}

.bg-primary {
    background: #18479B !important;
}

/* Navbar Styling */
.navbar {
    padding: 1rem 0;
}

.navbar .nav-link {
    color: #555;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.3rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar .nav-link:hover {
    color: #18479B;
    background-color: rgba(24, 71, 155, 0.05);
}

.navbar .nav-item.active .nav-link {
    color: #18479B;
    font-weight: 600;
    background-color: rgba(24, 71, 155, 0.1);
}

/* Workflow Box Styles */
.workflow-box {
    background: #ffffff;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    text-align: center;
    border-top: 4px solid #18479B;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workflow-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.workflow-box h4 {
    color: #18479B;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.workflow-box p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Screen Card Styles */
.screen-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.screen-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.screen-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top;
    border-bottom: 1px solid #eee;
    background-color: #f8f9fa;
}

.screen-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.screen-content h5 {
    color: #18479B;
    font-weight: 700;
    margin-bottom: 1rem;
}

.screen-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Section Titles */
.section-title {
    font-weight: 700;
    color: #18479B;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #18479B, #2563EB);
    border-radius: 2px;
}

/* Footer styling */
footer {
    background: #fff;
    color: #666;
    border-top: 1px solid #eee;
}