@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
     --primary: #2F3E83;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #3f37c9;
    border-color: #3f37c9;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

/*
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}
*/

.section-header p {
    font-size: 1.1rem;
    color: #6c757d;
}



/* Hero Section */
.hero-section {
    color: white;
    padding: 150px 0;
    position: relative;
    background-size: cover !important;
    background-position: center;
    background-repeat: no-repeat !important;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgb(47 62 131 / 80%)), url(https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80);
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-image-container {
    position: relative;
    z-index: 1;
}

.floating-image {
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-icons div {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    animation: float 4s ease-in-out infinite;
}

.floating-icons .icon-1 {
    width: 60px;
    height: 60px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-icons .icon-2 {
    width: 40px;
    height: 40px;
    top: 95%;
    left: 10%;
    animation-delay: 0.5s;
}

.floating-icons .icon-3 {
    width: 50px;
    height: 50px;
    top: 30%;
    right: 10%;
    animation-delay: 1s;
}

.floating-icons .icon-4 {
    width: 70px;
    height: 70px;
    bottom: 10%;
    right: 5%;
    animation-delay: 1.5s;
}

/* Services Section */
.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.8rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: white;
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #6c757d;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.service-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* How It Works Section */
.work-step {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    height: 100%;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.work-step:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.work-step h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.work-step p {
    color: #6c757d;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
    text-align: center;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-cta {
    padding: 12px 30px;
    font-size: 18px;
    border-radius: 30px;
    color: white;
    background-color: var(--primary);
    font-weight: 500;
    transition: all 0.3s;
}

.btn-cta:hover {
    color: white;
    transform: translateY(-3px);
    background-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #3f37c9;
    transform: translateY(-5px);
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 120px 0 80px;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .hero-content .d-flex {
        justify-content: center;
    }

}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .col-md-6.text-center.text-md-start,
    .col-md-6.text-center.text-md-end {
        text-align: center !important;
    }
}
