body {
  padding-bottom: 1rem;
  color: rgb(var(--bs-tertiary-color-rgb));
  height: 100%;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
.homepage {
    position: relative; /* Position context for absolute positioning */
    height: 100vh; /* Full height of the viewport */
    overflow: hidden; /* Hide overflow */
}

.background-image {
    position: absolute; /* Position the image absolutely */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    width: 100%; /* Full width */
    height: 100%; /* Maintain aspect ratio */
    object-fit: cover;
    object-position: top;
    transform: translate(-50%, -50%); /* Center the image */
    z-index: 0; /* Send it behind other content */
}

.carousel-caption {
    position: absolute; /* Position caption absolutely */
    top: 45%; /* Center vertically */
    transform: translate(-50%, -50%); /* Truly center */
    z-index: 1; /* Ensure it's above the background */
    margin-left: 33%;
}

.carousel-caption p {
    color: white; /* Text color for visibility */
    font-family: 'Inria Serif', serif; /* Use Inria Serif */
    font-size: 6rem; /* Adjust size */
    text-align: left;
}


.image-section {
    display: flex; /* Use flexbox to align images side by side */
    height: 100%; /* Set height to full viewport */
    overflow: hidden; /* Hide overflow */
}

.image-container {
    flex: 1; /* Make each container take equal space */
    position: relative; /* Position context for captions */
}

.image-container img {
    width: 100%; /* Make images responsive */
    height: 100%; /* Fill the container height */
    object-fit: cover; /* Crop the images to fill the space */
    display: block; /* Remove bottom space (gap) */
}

.caption {
    position: absolute; /* Position caption over image */
    top: 50%; /* Center vertically */
    left: 20px; /* Align to the left side with some margin */
    margin-right: 10px;
    transform: translateY(-50%); /* Center text vertically */
    color: #067F9D; /* Text color */
    text-align: left; /* Align text to the left */
    font-family: 'Inria Serif', serif; 

}

.caption h1 {
    margin: 0; /* Remove default margins */
    padding: 10px; /* Add padding for spacing around text */
    color: #067F9D; /* Text color */
    font-family: 'Inria Serif', serif; /* Use Inria Serif */
    background-color: rgba(255, 255, 255, 0.8); /* White background with some transparency */
    border-radius: 5px; /* Optional: rounded corners */
    display: inline-block; /* Ensures the background fits the text */
    font-weight: bold; 
    transition: all 0.5s;
    cursor: pointer;
}

.caption h1:hover {
    background-color: rgb(160, 135, 135); /* Change background on hover */
}

.caption p {
    margin: 0; /* Remove default margins */
    padding: 10px; /* Add padding for spacing around text */
    color: #ffffff; /* Text color */
    font-family: 'Inria Serif', serif; /* Use Inria Serif */
    font-weight: bold; 
}

.caption h1 span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.caption h1 span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.caption h1:hover span {
    padding-right: 25px;
}

.caption h1:hover span:after {
    opacity: 1;
    right: 0;
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
  letter-spacing: -.05rem;
}

/* rtl:end:remove */

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 600px) and (max-width: 1100px) {
    .carousel-caption p {
        font-size: 5rem; /* Larger size for larger screens */
    }
}

@media (max-width: 600px) {
    .carousel-caption p {
        font-size: 4rem; /* Adjust paragraph font size */
    }
}

.timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

    .timeline:before {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 40px;
        width: 2px;
        margin-left: -1.5px;
        content: "";
        background-color: #e9ecef;
    }

    .timeline > li {
        position: relative;
        min-height: 50px;
        margin-bottom: 50px;
    }

        .timeline > li:after, .timeline > li:before {
            display: table;
            content: " ";
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li .timeline-panel {
            position: relative;
            float: right;
            width: 100%;
            padding: 0 20px 0 100px;
            text-align: left;
        }

            .timeline > li .timeline-panel:before {
                right: auto;
                left: -15px;
                border-right-width: 15px;
                border-left-width: 0;
            }

            .timeline > li .timeline-panel:after {
                right: auto;
                left: -14px;
                border-right-width: 14px;
                border-left-width: 0;
            }

        .timeline > li .timeline-image {
            position: absolute;
            z-index: 100;
            left: 0;
            width: 80px;
            height: 80px;
            margin-left: 0;
            text-align: center;
            color: white;
            border: 7px solid #e9ecef;
            border-radius: 100%;
            background-color: #f0f5fa;
        }

            .timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
                font-size: 10px;
                line-height: 14px;
                margin-top: 12px;
            }

        .timeline > li.timeline-inverted > .timeline-panel {
            float: right;
            padding: 0 20px 0 100px;
            text-align: left;
        }

            .timeline > li.timeline-inverted > .timeline-panel:before {
                right: auto;
                left: -15px;
                border-right-width: 15px;
                border-left-width: 0;
            }

            .timeline > li.timeline-inverted > .timeline-panel:after {
                right: auto;
                left: -14px;
                border-right-width: 14px;
                border-left-width: 0;
            }

        .timeline > li:last-child {
            margin-bottom: 0;
        }

    .timeline .timeline-heading h4, .timeline .timeline-heading .h4 {
        margin-top: 0;
        color: inherit;
    }

        .timeline .timeline-heading h4.subheading, .timeline .timeline-heading .subheading.h4 {
            text-transform: none;
        }

    .timeline .timeline-body > ul,
    .timeline .timeline-body > p {
        margin-bottom: 0;
    }

@media (min-width: 768px) {
    .timeline:before {
        left: 50%;
    }

    .timeline > li {
        min-height: 100px;
        margin-bottom: 100px;
    }

        .timeline > li .timeline-panel {
            float: left;
            width: 41%;
            padding: 0 20px 20px 30px;
            text-align: right;
        }

        .timeline > li .timeline-image {
            left: 50%;
            width: 100px;
            height: 100px;
            margin-left: -50px;
        }

            .timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
                font-size: 13px;
                line-height: 18px;
                margin-top: 16px;
            }

        .timeline > li.timeline-inverted > .timeline-panel {
            float: right;
            padding: 0 30px 20px 20px;
            text-align: left;
        }
}

@media (min-width: 992px) {
    .timeline > li {
        min-height: 150px;
    }

        .timeline > li .timeline-panel {
            padding: 0 20px 20px;
        }

        .timeline > li .timeline-image {
            width: 150px;
            height: 150px;
            margin-left: -75px;
        }

            .timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
                font-size: 18px;
                line-height: 26px;
                margin-top: 30px;
            }

        .timeline > li.timeline-inverted > .timeline-panel {
            padding: 0 20px 20px;
        }
}

@media (min-width: 1200px) {
    .timeline > li {
        min-height: 170px;
    }

        .timeline > li .timeline-panel {
            padding: 0 20px 20px 100px;
        }

        .timeline > li .timeline-image {
            width: 170px;
            height: 170px;
            margin-left: -85px;
        }

            .timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
                margin-top: 40px;
            }

        .timeline > li.timeline-inverted > .timeline-panel {
            padding: 0 100px 20px 20px;
        }
}