body {
    font-family: 'Arial', sans-serif;
    color: #ffffff;
    overflow-x: hidden;
    background: linear-gradient(270deg, #103756, #ff7b00, #103756);
    background-size: 600% 600%;
    animation: backgroundAnimation 15s ease infinite;
}



@keyframes backgroundAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}
.header{
    background-image: url(/images/bannerbackground.png);
    object-fit: cover;
    text-align: center;
    height: 200px;
    border-radius: 20px;
}

.main-box {
    background-color: rgba(16, 55, 86, 0.9);
    background-image: url("/images/bannerbackground.png");
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
    border-radius: 15px;
}

.main-box h1 {
    font-size: 3rem;
    font-weight: 700;
    animation: fadeInDown 1s ease-out;
}

.header p {
    font-size: 1.2rem;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category {
    padding: 60px 0;
}

.category h2{
    font-size: 2.3rem;
    margin-bottom: 50px;
    text-align: center;
}

.d-flex {
    display: flex;
}

.justify-content-around {
    justify-content: space-around; 
}

.category-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px; /* Increased padding for larger boxes */
    text-align: center;
    transition: transform 0.3s, background-color 0.3s;
    width: 270px; 
    height: 200px; 
    margin: 10px;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
}

.category-box:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.2);
}

.category-box i {
    color: #ff7b00;
}

.category-box h5 {
    margin-top: 15px; 
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .category-box {
        width: 80%; 
        max-width: 300px;
    }
}



.case-study {
    background-color: rgba(16, 55, 86, 0.8);
    padding: 60px 0;
    border-radius: 15px;
}

.case-study h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #ffffff;
    text-align: center;
}

.project {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, background-color 0.3s;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.project:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.2);
}

.project-images {
    flex: 1;
    display: flex;
    gap: 15px;
    object-fit: cover;
}

.project-images img {
    width: 100%;
    max-width: 200px; 
    height: auto;
    border-radius: 5px;
    object-fit: cover;
}
.carousel-item img {
    max-height: 150px; 
    object-fit: cover; 
    border-radius: 8px; 
}


.project-content {
    flex: 2;
    margin-left: 20px;
}

.project-content h4 {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.project-content p {
    font-size: 1rem;
    color: #e0e0e0;
}

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

    .project-images {
        margin-bottom: 15px;
    }

    .project-content {
        margin-left: 0;
    }
}

.call-to-action {
    text-align: center;
    padding: 60px 0;
}

.call-to-action h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    animation: zoomIn 1s ease-in-out;
}

.call-to-action p {
    font-size: 1.2rem;
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
.btn-custom {
    font-size: larger;
    color: #ffffff;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
}
.btn-custom:hover{
    color: #ff7b00;
}
.btn-link {
    font-size: medium;
    color: #ff7b00;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
}
.btn-link:hover{
    color: #ffffff;
}
