/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

    .hero-overlay h1 {
        font-size: 2.8em;
        font-weight: 700;
        margin-bottom: 10px;
        letter-spacing: 1px;
    }

    .hero-overlay p {
        font-size: 1.2em;
        max-width: 600px;
        line-height: 1.5;
        font-weight: 300;
    }

/* Overview Section */
.overview-section {
    padding: 60px 20px;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

    .overview-section h2 {
        text-align: center;
        font-size: 2.4em;
        color: #0b3954;
        margin-bottom: 20px;
    }

    .overview-section p {
        font-size: 1.1em;
        line-height: 1.8;
        color: #555;
    }

section {
    margin-bottom: 60px;
}

/* Animated Bar */
.animated-bar {
    margin: 20px auto;
    height: 4px;
    width: 50%;
    background: linear-gradient(to right, #ff6b6b, #feca57, #48dbfb);
    animation: move-bar 3s infinite linear;
}

@keyframes move-bar {
    from {
        background-position: 0%;
    }

    to {
        background-position: 100%;
    }
}

/* Features and Core Components */

features-section, .core-components-section {
    margin-bottom: 60px;
    width: 100%;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #0b3954;
}

.features-container, .core-components-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    min-width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

    .features-container.three-columns .feature-item {
        width: calc(33.333% - 15px);
    }

    .features-container.two-columns .feature-item {
        width: calc(50% - 10px);
    }

    .core-components-container.three-columns .core-component-item {
        width: calc(33.333% - 15px);
    }

    .core-components-container.two-columns .core-component-item {
        width: calc(50% - 10px);
    }

.feature-item, .core-component-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .feature-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        background: linear-gradient(to bottom, #f3f9ff, #ffffff);
    }

    .feature-item i {
        font-size: 3em;
        color: #0b3954;
        margin-bottom: 20px;
    }

    .feature-item h3 {
        font-size: 1.8em;
        color: #0b3954;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .feature-item p {
        font-size: 1em;
        color: #555;
        line-height: 1.6;
    }

    /* Core Components Section */

    .core-component-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .core-component-item i {
        font-size: 2.5em;
        color: #0b3954;
        margin-bottom: 15px;
    }

.core-components-section h2 {
    text-align: center;
    font-size: 2.5em;
    color: #0b3954;
    margin-bottom: 30px;
}


.core-component-item h3 {
    font-size: 1.5em;
    color: #0b3954;
    margin-bottom: 10px;
    font-weight: 600;
}

.core-component-item p {
    margin: 10px;
}

.core-component-item ul {
    margin-top: 10px;
    text-align: left;
    padding-left: 40px;
    padding-right: 20px;
    list-style: disc outside;
}

    .core-component-item ul li {
        margin-bottom: 12px;
        font-size: 1em;
        color: #555;
        line-height: 1.6;
        position: relative;
    }

.details-section {
    padding: 60px 48px;
    background-color: #eef3f7;
    color: #333;
    text-align: center;
}

    .details-section h2 {
        font-size: 2.4em;
        color: #0b3954;
        margin-bottom: 20px;
    }


.details-list {
    list-style-type: none;
    padding: 0px 5px;
    font-size: 14px;
    color: #555;
    display: grid;
    grid-template-columns: 1fr;
}

    .details-list li {
        margin-bottom: 15px;
        line-height: 1.8;
    }

/* grid layout for large screens only */
@media (min-width: 768px) {
    .details-list {
        padding: 0 20px;
    }

        .details-list.items-12 {
            grid-template-columns: repeat(2, 1fr);
            gap: 2px 20px;
        }

            .details-list.items-12 li {
                text-align: left;
            }

        .details-list.items-20 {
            grid-template-columns: repeat(3, 1fr);
            gap: 2px 20px;
        }

            .details-list.items-20 li {
                text-align: left;
            }

        .details-list.items-30 {
            grid-template-columns: repeat(4, 1fr);
            gap: 2px 20px;
        }

            .details-list.items-30 li {
                text-align: left;
            }

        .details-list.items-40 {
            grid-template-columns: repeat(5, 1fr);
            gap: 2px 20px;
        }

            .details-list.items-40 li {
                text-align: left;
            }
}

/* AOS Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition-property: opacity, transform;
    transition-duration: 0.8s;
    transition-timing-function: ease-out;
}

    [data-aos].aos-animate {
        opacity: 1;
        transform: translateY(0);
    }



/* Consultation Call-To-Action Section */
.consultation-call-to-action {
    background: linear-gradient(to bottom, #f9f9f9, #e6f0ff);
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin: 40px auto;
    max-width: 800px;
}

    .consultation-call-to-action h2 {
        font-size: 2em;
        color: #004080;
        margin-bottom: 15px;
        font-weight: bold;
    }

    .consultation-call-to-action p {
        font-size: 1.2em;
        color: #555;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .consultation-call-to-action .consultation-btn {
        display: inline-block;
        background-color: #004080;
        color: #ffffff;
        padding: 12px 25px;
        font-size: 1.2em;
        font-weight: bold;
        border: none;
        border-radius: 8px;
        text-decoration: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }

        .consultation-call-to-action .consultation-btn:hover {
            background-color: #005bb5;
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
            transform: translateY(-2px);
        }

/* mobile styles */

@media (max-width: 767px) {
    .hero-section {
        height: 300px;
    }

    .hero-overlay h1 {
        font-size: 2em;
    }

    .hero-overlay p {
        font-size: 1em;
    }

    .overview-section {
        padding: 40px 15px;
    }

        .overview-section h2 {
            font-size: 1.8em;
        }

    .features-container, .core-components-container {
        flex-direction: column;
        align-content: center;
    }

    .feature-item, .core-component-item {
        max-width: 100%;
        min-width: 100%;
        margin-bottom: 20px;
    }

        .feature-item h3 {
            font-size: 1.5em;
        }

        .feature-item i {
            font-size: 2.5em;
        }

        .core-component-item h3 {
            font-size: 1.3em;
        }

        .core-component-item ul {
            text-align: left;
            margin-top: 5px;
            padding-left: 20px;
            list-style: disc outside;
        }

    section h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }


    .consultation-call-to-action {
        padding: 30px 15px;
        margin: 30px 15px;
    }

        .consultation-call-to-action h2 {
            font-size: 1.6em;
        }

        .consultation-call-to-action p {
            font-size: 1.1em;
        }

        .consultation-call-to-action .consultation-btn {
            width: 100%;
            text-align: center;
            padding: 15px;
        }
}
