/* Global Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color:#f8f9fa }

h2 {
    color: #003d80;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Animations */
@keyframes appear {
    from {
        opacity: 0;
        transform: scale(0.4);
    }    
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.col-md-4, .col-md-6 {
    animation: appear 5s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}

/* Navbar */
.navbar {
    background-color: #0056b3 !important;
    padding: 15px 0;
    transition: all 0.5s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


#code {
    font-size: 2rem;
    color: rgb(27, 6, 96);;
}

.navbar .nav-link {
    color: #5E3A98 !important;
    transition: color 0.5s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #000 !important;
}

.navbar.scrolled .nav-link,
.navbar.scrolled .navbar-brand {
    color: #fff !important;
}

.logo {
    height: 50px;
    margin-right: 10px;
}

.navbar-brand {
    color: #5E3A98;
}

.nav-item {
    position: relative;
}

.nav-item:active {
    color: #0056b3;
}

.nav-item::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -5px;
    background: #fff;
    display: block;
    transition: width 0.5s;
}

.nav-item:hover::after {
    width: 100%;
}

/* Hero Section */
.carousel-item img {
    height: 90vh;
    object-fit: cover;
   
}

.carousel-caption {
    position: absolute;
    bottom: 30%;
    text-align: center;
    animation: fadeInUp 1s ease-in-out;
}


.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #f8f9fa;
}

.btn-primary {
    margin-top: 15px;
    padding: 12px 25px;
    font-size: 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.btnz {
    margin-top: 0;
}

.btn-primary:hover {
    background-color: #003d80;
    transform: scale(1.05);
}

/* Sections */
section {
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.show {
    opacity: 1;
    transform: translateY(0);
}

#hero {
    padding: 0;
    transform: none;
}

/* About Section */
.about {
    text-align: center;
    min-height: 80vh;
    background-color: #fff;
    padding: 80px 20px;
    border-radius: 10px;
}

.sub-header .hero-title {
    padding-top: 100px;
}

.tech {
    padding: 40px 20px;
    text-align: justify;
}

.mission-vision, .value {
    min-height: 350px;
    padding-top: 50px;
    justify-content: center;
}
.value{
    text-align:left;
}

.about img {
    width: 90%;
    border-radius: 10px;
}

.tittle {
    color: #0056b3;
}

.team {
    justify-content: center;
}

/* Services Section */
#service {
    background-color: #f5f6f8;
    text-align: center;
}

.service-box {
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.service-box:hover {
    transform: scale(1.05);
}

.service-item {
    padding-bottom: 50px;
}

/* About Page */
.sub-header {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3)), url(./img/about-hero.jpeg);
    background-position: center;
    background-size: cover;
    text-align: center;
  
    color: #fff;
}

/* Testimonials */
.testimonials {
    background-color: #f8f9fa;
}

.testimonials blockquote {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    border-left: 4px solid #007bff;
    transition: transform 0.3s ease;
}

.testimonials blockquote:hover {
    transform: translateY(-5px);
}

.testimonials blockquote p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #333;
}

.testimonials blockquote footer {
    font-weight: bold;
    color: #007bff;
    font-size: 0.9rem;
}

/* Testimonials Carousel Specific Styles */
#testimonialsCarousel {
    margin-top: 30px;
}

#testimonialsCarousel .carousel-item {
    padding: 20px 0;
}

#testimonialsCarousel .carousel-control-prev,
#testimonialsCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 123, 255, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
    margin: 0 20px;
}

#testimonialsCarousel .carousel-control-prev-icon,
#testimonialsCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

#testimonialsCarousel .carousel-indicators {
    bottom: -50px;
}

#testimonialsCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #007bff;
    margin: 0 5px;
}

/* Contact Section */
.contact {
    background: #fff;
}

.contact h2 {
    color: #0056b3;
    text-align: center;
    padding-top: 20px;
}

.mt-4 {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.car img{
    padding-top: 10px;
    width: 100px;
    height: 100px;
}

/* Footer */
footer {
    background: rgb(27, 6, 96);;
    color: #fff;
    padding: 20px 0;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.row {
    padding-top: 30px;
}

/* Image Styles */
#one, #two, #three {
    padding-top: 40px;
    width: 45%;
    object-fit: contain;
}

#one {
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    box-shadow: 0px 9px 30px -6px rgba(92, 179, 56, 0.5);
}

#two {
    border-radius: 100%;
    box-shadow: 0px 9px 30px -6px rgba(76, 201, 254, 0.5);
}

#three {
    border-top-right-radius: 50%;
    border-bottom-left-radius: 50%;
    box-shadow: 0px 9px 30px -6px rgba(232, 37, 97, 0.5);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Additional Styles */
.contact-details {
    padding: 10px;
}

.card {
    max-width: 70vw;
    margin: 20px auto;
    height: 400px;
}

.col.active {
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    padding: 5px;
}

.list-group-item {
    margin: 5px 0;
    border-radius: 5px;
}

.strike-through {
    text-decoration: line-through;
    color: #6c757d;
}

/* Form Styles */
form {
    background-color: #f5f6f8;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    margin: 50px auto;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 15px;
}

.checkboxes {
    padding-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about img {
        width: 80%;
        margin: 0 auto;
    }

    .anime {
        margin-bottom: 25px;
    }

    .team img {
        width: 250px;
        height: 250px;
    }

    .services .col-md-4 {
        margin-bottom: 30px;
    }

    form {
        width: 95%;
        padding: 15px;
    }

    footer {
        padding: 10px 0;
    }

    .hero-title {
        font-size: 2.5rem;
      
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .btn-primary {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .carousel-item img {
        height: 70vh;
    }

    .navbar {
        padding: 10px 0;
    }

    .logo {
        height: 40px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-primary {
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    .carousel-item img {
        height: 60vh;
    }

    h2 {
        font-size: 2rem;
    }

    .about, .testimonials {
        padding: 40px 10px;
    }

    #one, #two, #three {
        width: 80%;
    }
}