body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(135deg, #e0f7fa, #ffffff);
    background-size: 600% 600%;
    text-decoration-color: azure;
    background-color: rgb(255, 255, 255);
    font-family: Arial, sans-serif;
    color: #333;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

header {
    background: linear-gradient(135deg, #4eb5f1, #259EE4);
    color: #f1f1f1;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.back-image img {
    position: absolute;
    height: 50px;
    left: 0;
    width: 120px;
    margin-top: 0;
    margin-left: 0;
    top: 25px;
}

.header-image img {
    position: absolute;
    height: 125px;
    right: 0;
    margin-right: 0;
    width: 150px;
    top: 0;
}

.back-image img:hover, .header-image img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

header h1 {
    font-family: 'RockFont', Arial, sans-serif;
    font-size: 48px;
    margin: 0;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    padding-top: 10px;
}

nav ul li {
    display: inline-block;
    margin-right: 20px;
}

nav a {
    text-decoration: none;
    color: #f1f1f1;
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ff9900;
    text-shadow: 0 0 5px rgba(255, 153, 0, 0.6);
}

main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the blocks */
    padding: 40px;
}

.algo-block {
    flex: 0 0 calc(33.333% - 40px); /* Each block takes 33.33% of the row */
    box-sizing: border-box;
    margin: 20px;
    text-align: center;
    padding: 20px;
    border: 1px solid #0CC0DF;
    background-color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
    max-width: 400px; /* Ensure each block has a max width */
}

.algo-block:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.algo-block img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out;
}

.algo-block img:hover {
    transform: scale(1.15);
}

.algo-block a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 18px;
}

.algo-block a:hover {
    color: #ff9900;
}

.algo-block h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
    transition: color 0.3s ease;
}

.algo-block h2:hover {
    color: #ff9900;
}



.large-text {
    font-size: 50px;
    color: #259EE4;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
}

/* Ensure responsiveness on smaller screens */
@media (max-width: 900px) {
    .algo-block {
        flex: 0 0 calc(50% - 40px); /* 2 blocks per row for smaller screens */
    }
}

@media (max-width: 600px) {
    .algo-block {
        flex: 0 0 100%; /* Stack blocks vertically on small screens */
        max-width: 100%;
    }
}
.auto-write-container {
    width: 100%;
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}

.auto-write-text {
    font-size: 36px;
    font-weight: bold;
    color: #259EE4;
    font-family: 'Arial', sans-serif;
    border-right: 2px solid #333; /* Cursor */
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    animation: blink-cursor 0.75s step-end infinite;
}

@keyframes blink-cursor {
    50% {
        border-color: transparent;
    }
}
/* Background color, image, and padding for the container-fluid */
.container-fluid.bg-primary.py-5.mb-5.page-header {
    background-color: #007bff; /* Bootstrap primary color */
    background-image: url('breadcrumb.jpeg'); /* Add background image */
    background-size: cover; /* Ensure image covers the entire section */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    padding: 5rem 0;
    margin-bottom: 5rem;
}

/* Styling for the container inside the header */
.container.py-5 {
    padding: 5rem 0;
}

/* Styling for the row and centering the content */
.row.justify-content-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Styling for the heading */
h1.display-3.text-white.animated.slideInDown {
    color: #f7f7f7;
    font-size: 4rem; /* Display 3 size */
    animation: slideInDown 1s ease; /* Slide-in animation */
}

/* Breadcrumb styling */
.breadcrumb {
    background-color: transparent; /* Remove background from breadcrumb */
    padding: 0; /* Remove padding */
    margin-top: 1rem;
}

/* Breadcrumb links */
.breadcrumb-item a.text-white {
    color: #e1e1e1; /* White links */
    text-decoration: none; /* Remove underline */
}

.breadcrumb-item a.text-white:hover {
    text-decoration: underline; /* Add underline on hover */
}

/* Active breadcrumb item */
.breadcrumb-item.text-white.active {
    color: rgb(255, 255, 255); /* Slightly lighter white for the active item */
}
nav ol {
    list-style: none;
}
/* Example of custom animation for slideInDown */
@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


footer {
    background-color: #259EE4;
    color: #fff;
    padding: 20px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-container div {
    flex: 1;
    text-align: center;
    position: relative;
}

/* Divider styling */
.footer-container div:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 80px;
    background-color: #fff;
    opacity: 1;
}

.quick-links ul {
    list-style: none;
}

.quick-links ul li {
    margin-bottom: 10px;
}

.quick-links ul li a {
    color: #fff;
    text-decoration: none;
}

.quick-links ul li a:hover {
    text-decoration: underline;
}

.contact-details p {
    margin: 5px 0;
}

.qr-code img {
    width: 150px;
    height: 150px;
}

@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-container div {
        margin-bottom: 20px;
    }


    .footer-container div:not(:last-child)::after {
        display: none;
    }
}
