/* Basic Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General styling for the header */
.jumbotron {
    position: relative;
    padding: 0 0px;
}

header#home {
    height: 100vh;
    min-height: 600px;
    background: no-repeat center center;
    background-size: cover;
    position: relative;
}

header#home .carousel {
    height: 100%;
}

header#home .carousel-item {
    height: 100vh;
    min-height: 600px;
    background: no-repeat center center;
    background-size: cover;
    position: relative;
}

header#home .carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

header#home .carousel-caption h1 {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation-delay: 0.5s;
}

header#home .carousel-caption p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation-delay: 1s;
}

header#home .carousel-caption a.btn {
    font-size: 1.2rem;
    padding: 10px 30px;
    animation-delay: 1.5s;
}

/* Animations */
.animated {
    animation-duration: 1.5s;
    animation-fill-mode: both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes bounceIn {
    from, 20%, 40%, 60%, 80%, to {
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    0% {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    20% {
        transform: scale3d(1.1, 1.1, 1.1);
    }
    40% {
        transform: scale3d(0.9, 0.9, 0.9);
    }
    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }
    80% {
        transform: scale3d(0.97, 0.97, 0.97);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

.fadeInDown {
    animation-name: fadeInDown;
}

.fadeInUp {
    animation-name: fadeInUp;
}

.fadeInLeft {
    animation-name: fadeInLeft;
}

.fadeInRight {
    animation-name: fadeInRight;
}

.bounceIn {
    animation-name: bounceIn;
}

/* Navbar */
.navbar {
    background-color: rgb(183, 13, 235);
}

.navbar-toggler {
    /*color: white;*/
    border: 1px solid white;
}

/*.navbar-toggler:focus {
    background-color: white;
}*/

/* Section Styles */
#section {
    padding-top: 60px; /* Adjust this value based on your navbar height */
    margin-top: -60px; /* Adjust this value to match the padding-top value */
}

#services .card {
    border: none;
    margin-top: 20px;
    margin-bottom: 15px;
}

/* About Section */
#about img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
}

#about h4 {
    color: #333;
    margin-bottom: 10px;
}

#about p {
    color: #555;
}

#about a {
    color: rgb(183, 13, 235);
    text-decoration: none;
}

#about a:hover {
    text-decoration: underline;
}

/* Contact Section */
#contact {
    padding: 60px 20px;
}

/* Footer */
footer {
    background: #343a40;
    color: white;
    padding: 10px 0;
    text-align: center;
}

footer p {
    font-size: 1rem; /* Adjusts the font size for readability */
}

/*logo part*/
.logo-img {
    width: 150px;
    height: 150px;
    margin: 15px;
}
/* Responsive Design */
@media (max-width: 768px) {
    header#home .carousel-caption h1 {
        font-size: 2.5rem;
    }

    header#home .carousel-caption p {
        font-size: 1.2rem;
    }

    header#home .carousel-caption a.btn {
        font-size: 1rem;
        padding: 8px 20px;
    }

    #services .card {
        margin-top: 20px;
    }

    footer p {
        font-size: 0.875rem; /* Smaller font size on small screens */
    }

    .logo-img { /* logo responsive*/
        width: 80px;
        height: auto;
        margin: 10px;
    }

}

@media (max-width: 576px) {
    header#home .carousel-caption h1 {
        font-size: 2rem;
    }

    header#home .carousel-caption p {
        font-size: 1rem;
    }

    header#home .carousel-caption a.btn {
        font-size: 0.9rem;
        padding: 6px 15px;
    }
}

