/* first secton  */
/* Container styling */
.features-container {
    display: flex;
    /* Display children in a row */
    justify-content: space-around;
    /* Evenly distribute items */
    align-items: center;
    /* Center align items vertically */
    margin: 20px auto;
    /* Margin for spacing */
    max-width: 1100px;
    /* Maximum width for responsiveness */
}

/* Individual feature box styling */
.feature-box {
    text-align: center;
    /* Center align text */
    flex: 1;
    /* Flex to grow equally */
    padding: 20px;
    /* Padding for spacing */
    background-color: #f0f0f0;
    /* Background color */
    border-radius: 8px;
    /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Shadow for depth */
    transition: transform 0.3s ease;
    /* Smooth transition on hover */
    margin: 0 10px;
    /* Margin for spacing */
}

/* Hover effect */
.feature-box:hover {
    transform: translateY(-5px);
    /* Move up slightly on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* Enhanced shadow on hover */
}

/* Heading styling */
.feature-box h1 {
    color: #333;
    /* Heading color */
    font-size: 24px;
    /* Font size */
    margin-bottom: 10px;
    /* Bottom margin */
}

/* Paragraph styling */
.feature-box p {
    color: #666;
    /* Paragraph color */
    font-size: 16px;
    /* Font size */
}

/* Icon styling */
.feature-box i {
    font-size: 48px;
    /* Icon size */
    color: rgb(96, 63, 129);
    /* Icon color */
    margin-bottom: 10px;
    /* Bottom margin */
}

/* end first secton  */


/* start second secton  */
/* Container styling */
.service-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    animation: fadeIn 1s ease-in-out;
    background-color: rgb(238, 255, 249);

}

.text-container {
    flex: 1;
    padding-right: 20px;
    margin-left: 10%;
    width: 180%;
}

.text-container h1 {
    font-size: 40px;
    font-weight: bold;
}

.text-container h3 {
    font-weight: bold;
    color: #0000008f;
    font-size: 24px;
}

.image-container {
    flex: 1;
    text-align: right;
}

.image-container img {
    max-width: 100%;
    height: auto;
    animation: slideInFromRight 1s ease-in-out;
    margin-right: 30%;

}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.with-arrow {
    position: relative;
    padding-left: 20px;
    color: green;
}

.pera {
    color: orange;
}

.with-arrow::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    /* Adjust the size as needed */
    color: #000;
    /* Adjust the colour as needed */
}

/* end second secton  */
/* third secton  */

#service-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    animation: fadeIn 1s ease-in-out;
    background-color: rgb(238, 255, 249);
    margin-top: 6%;
}

#image-container {
    flex: 1;
    text-align: left;
    margin-left: 14%;
    
}

#image-container img {
    max-width: 60%;
    height: auto;
    animation: slideInFromLeft 1s ease-in-out;
}

#text-container {
    flex: 1;
    padding-left: 20px;
    margin-right: 5%;
}

#text-container h1 {
    font-size: 40px;
    font-weight: bold;
}

#text-container h3 {
    font-weight: bold;
    color: #0000008f;
    font-size: 24px;
}

#with-arrow {
    position: relative;
    padding-left: 20px;
    color: green;
}

#with-arrowse {
    position: relative;
    padding-left: 20px;
    color: orange;
}



#with-arrow::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    /* Adjust the size as needed */
    color: #000;
    /* Adjust the colour as needed */
}

#with-arrowse::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    /* Adjust the size as needed */
    color: #000;
    /* Adjust the colour as needed */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* end third secton  */

/* last */
#resultsSection {
    padding: 20px;
    background-color: #f9f9f9;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
    margin-top: 5%;
}

#resultsSection h1 {
    font-size: 30px;
    /* Responsive font size */
    color: #333;
    margin-bottom: 10px;
    animation: slideInDown 1s ease-in-out;
    font-weight: bold;
}

#resultsSection h2 {
    font-size: 1.5em;
    /* Responsive font size */
    color: #555;
    margin-bottom: 20px;
    animation: slideInDown 1.2s ease-in-out;
}

#quoteContainer {
    margin-top: 20px;
    animation: fadeInUp 1s ease-in-out;
}

#quoteContainer p {
    font-size: 1em;
    /* Responsive font size */
    color: #666;
    margin-bottom: 10px;
}

#quoteContainer button {
    padding: 10px 20px;
    font-size: 1em;
    /* Responsive font size */
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#quoteContainer button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Keyframe animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    #resultsSection h1 {
        font-size: 1.5em;
    }

    #resultsSection h2 {
        font-size: 1.25em;
    }

    #quoteContainer p {
        font-size: 0.875em;
    }

    #quoteContainer button {
        font-size: 0.875em;
    }
}

@media (max-width: 480px) {
    #resultsSection h1 {
        font-size: 1.25em;
    }

    #resultsSection h2 {
        font-size: 1em;
    }

    #quoteContainer p {
        font-size: 0.75em;
    }

    #quoteContainer button {
        font-size: 0.75em;
    }
}

/* end last */