@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

:root {
    --primary: #003e91;
    --secondary: #008dff;
    --dark: #1a1f26;
    --light: #f5f7fa;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light);
}

.navbar .nav-link {
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: var(--primary);
}

.navbar-logo {
    max-height: 50px;
}

.hero-section {
    margin-top: 2rem;
    padding-top: 2rem;
    margin-bottom: 3rem;
}

#heroSlider {
    height: 55vh;
    min-height: 380px;
}

#heroSlider .carousel-inner,
#heroSlider .carousel-item,
#heroSlider .carousel-item picture,
#heroSlider .carousel-item img {
    height: 100%;
}

#heroSlider .carousel-item picture {
    width: 100%;
    display: block;
}

#heroSlider .carousel-item img {
    width: 100%;
    object-fit: cover; 
}

.slider-title {
    font-size: 2.4rem;
    font-weight: 700;
    text-shadow: 0 3px 8px rgba(0, 0, 0, .55);
}

.section-title {
    margin-top: 2rem;
    margin-bottom: 2rem;
    color: var(--primary);
    font-weight: 600;
}

.gradient-card {
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    transition: transform .35s, box-shadow .35s;
    background-color: transparent;
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, var(--primary), var(--secondary)) 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gradient-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 56px rgba(0, 0, 0, .15);
}

.card-top-bar {
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.card {
    border: none;
    border-radius: 12px;
    background-color: transparent;
}

.service-logo {
    height: 200px;
    object-fit: contain;
    padding: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    background: linear-gradient(180deg, #fff, #f0f3fa);
}

.card-body {
    position: relative;
    z-index: 1;
    background: #fff;
}

.card-title {
    font-weight: 600;
    color: var(--dark);
}

.btn {
    border-radius: 40px;
    font-weight: 500;
    font-size: .9rem;
}

.btn-primary {
    background: var(--primary);
    border: none;
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
}

.desc {
    font-size: .9rem;
    line-height: 1.55;
    color: #333;
}

.service-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.service-block h3 {
    color: var(--primary);
    font-weight: 600;
}

.footer {
    background: var(--dark);
}

.footer-link {
    color: #c8d1e0;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-bar {
    background: #11161f;
    font-size: .9rem;
    color: #7b8696;
}


@media (max-width: 575.98px) {
    .hero-section {
        margin: 0;
        padding: 0;
        margin-bottom: .5rem;
    }

    #heroSlider {
        height: 38vh;
        min-height: 220px;
    }

    #heroSlider .carousel-item img {
       
        object-fit: contain;
       
    }

    .slider-title {
        font-size: 1.7rem;
    }

    h2.section-title {
        margin-top: .6rem;
        margin-bottom: .9rem;
    }

    main#services {
        padding-top: .9rem !important;
        padding-bottom: 1.4rem !important;
        margin-top: 0 !important;
    }

    .service-logo {
        height: 130px;
        padding: 16px;
    }
}