/* Navigation Styles */
.navbar {
    background-color: #fff;
}
.navbar-brand img {
    height: 50px;
}
.navbar-nav .nav-link {
    color: rgba(130, 22, 146, 1) !important;
    font-weight: 500;
}
.navbar-nav .nav-link:hover {
    color: rgba(130, 22, 146, 0.6) !important;
}
.dropdown-menu {
    min-width: 120px;
    color: rgba(130, 22, 146, 0.6) !important;
}
.dropdown-item:hover {
    background-color: rgba(130, 22, 146, 0.1);
}

/* Home Section Styles */
#home {
    height: 100vh;
}
#home h1 {
    color: #fff;
    font-weight: bold;
    font-size: 3.5rem;
}
@media (max-width: 767px) {
    #home h1 {
        font-size: 2rem;
    }
}

/* What We Offer Section Styles */
#what-we-offer {
    position: relative;
    min-height: 100vh;
    padding: 50px 0;
}
#what-we-offer .overlay-title {
    color: rgba(130, 22, 146, 0.7);
    font-size: 3rem;
    margin-bottom: 30px;
}
.offering-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.offering-box h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.offering-box p {
    font-size: 1rem;
}
.carousel-control-prev.custom-arrow,
.carousel-control-next.custom-arrow {
    width: 5%;
}
@media (max-width: 767px) {
    #what-we-offer .overlay-title {
        font-size: 2rem;
    }
    .offering-box h2 {
        font-size: 1.5rem;
    }
}

/* About Us Section Styles */
#about-us h1 {
    color: rgba(130, 22, 146, 0.7);
    font-size: 3rem;
}
.about-box {
    border: 2px solid rgba(130, 22, 146, 0.7);
    border-radius: 10px;
    padding: 20px;
}
.about-box h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.about-box ul {
    list-style-type: disc;
    padding-left: 20px;
}
.about-box li {
    font-size: 1rem;
    margin-bottom: 10px;
}
@media (max-width: 767px) {
    #about-us h1 {
        font-size: 2rem;
    }
    .about-box h2 {
        font-size: 1.5rem;
    }
}

/* Technologies Section Styles */
#technologies {
    min-height: 100vh;
    padding: 50px 0;
    position: relative;
}
#technologies .overlay-title {
    color: rgba(130, 22, 146, 0.7);
    font-size: 3rem;
    margin-bottom: 30px;
}
.tech-icon {
    text-align: center;
}
.tech-icon i {
    font-size: 3rem;
}
@media (max-width: 767px) {
    #technologies .overlay-title {
        font-size: 2rem;
    }
    .tech-icon i {
        font-size: 2rem;
    }
}

/* Partners Section Styles */
#partners {
    padding: 50px 0;
}
#partners h1 {
    color: rgba(130, 22, 146, 0.7);
    font-size: 3rem;
    margin-bottom: 30px;
}
.partner-logo {
    max-height: 100px;
    width: auto;
}
@media (max-width: 767px) {
    #partners h1 {
        font-size: 2rem;
    }
    .partner-logo {
        max-height: 80px;
    }
}

/* Contact Page Styles */
#contact {
    padding: 50px 0;
    background-color: #f8f9fa;
}
.contact-title {
    color: rgba(130, 22, 146, 0.7);
    font-size: 3rem;
    margin-bottom: 30px;
}
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}
#contact .form-group label {
    font-weight: 500;
}
#contact .form-control {
    border-radius: 10px;
    border: 1px solid #ced4da;
    padding: 10px;
}
#contact .btn-primary {
    background-color: rgba(130, 22, 146, 0.7);
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 500;
}
#contact .btn-primary:hover {
    background-color: rgba(130, 22, 146, 0.9);
}
.contact-info {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}
.contact-info-title {
    color: rgba(130, 22, 146, 0.7);
    font-size: 2rem;
    margin-bottom: 15px;
}
.contact-info-details p {
    margin-bottom: 10px;
    font-size: 1rem;
}
.contact-info-details a {
    color: #000000;
    text-decoration: none;
}
.contact-info-details a:hover {
    color: rgba(130, 22, 146, 0.7);
    text-decoration: underline;
}
@media (max-width: 767px) {
    .contact-title {
        font-size: 2rem;
    }
    #contact .form-control {
        font-size: 0.9rem;
    }
    #contact .btn-primary {
        width: 100%;
        padding: 8px;
        font-size: 0.9rem;
    }
    .contact-info {
        padding: 15px;
    }
    .contact-info-title {
        font-size: 1.5rem;
    }
    .contact-info-details p {
        font-size: 0.9rem;
    }
}
/* Partners Section Styles */
#partners {
    padding: 50px 0;
    text-align: center;
}
.partners-title {
    color: rgba(130, 22, 146, 0.7);
    font-size: 3rem;
    margin-bottom: 30px;
}
.partner-logo {
    max-height: 100px;
    width: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover transition */
}
.partner-link {
    display: block; /* Makes the entire area clickable */
    text-decoration: none; /* Remove default underline */
}
.partner-link:hover .partner-logo {
    transform: scale(1.1); /* Slight zoom on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}
@media (max-width: 767px) {
    .partners-title {
        font-size: 2rem;
    }
    .partner-logo {
        max-height: 80px;
    }
    .partner-link:hover .partner-logo {
        transform: scale(1.05); /* Reduced zoom on mobile */
    }
}

/* Full-Screen Image Carousel Styles (fullscreen-carousel.blade.php) */
#fullscreenCarousel.carousel {
    width: 100vw;
    height: 100vh;
}
#fullscreenCarousel .carousel-item {
    height: 100vh;
}
#fullscreenCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
#fullscreenCarousel .carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}
@media (max-width: 767px) {
    #fullscreenCarousel .carousel-caption {
        display: none !important;
    }
    #fullscreenCarousel .carousel-item img {
        object-fit: contain;
    }
}

/* Div-Based Carousel with Text Overlay Styles (div-carousel.blade.php) */
#divCarousel.carousel {
    height: 85vh;
    width: 80vw;
    margin: auto;
    position: relative;
}
#divCarousel .carousel-item {
    height: 100vh;

}
#divCarousel .carousel-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
}
#divCarousel .slide-1 {
    background-image: url('../images/Corusel1.png');
}
#divCarousel .slide-2 {
    background-image: url('../images/Corusel2.png');
}
#divCarousel .slide-3 {
    background-image: url('../images/Corusel3.png');
}
#divCarousel .slide-4 {
    background-image: url('../images/Corusel4.png');
}
#divCarousel .text-overlay {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    max-width: 40%;
    z-index: 1;
}
#divCarousel .text-overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: rgba(130, 22, 146, 0.9); /* Brand color */
}
#divCarousel .text-overlay p {
    font-size: 1.2rem;
    color: #000000; /* Black text */
    margin: 0; /* Reset margin for custom spacing */
}
#divCarousel .text-overlay p + p {
    margin-top: 15px; /* Adds spacing between paragraphs */
}
#divCarousel .carousel-overlay {
    position: absolute;
    top: 10px;
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    z-index: 12;
}
#divCarousel .carousel-overlay a {
    text-align: center;
    white-space: break-spaces;
    color: white;
    transform: translateY(-1px);
    background: rgba(130, 22, 146, 1);
    border-radius: 10px;
    padding: 2%;
}
@media (max-width: 767px) {
    #divCarousel.carousel {
        width: 90vw;
        height: 50vh; /* Half screen height on mobile */
    }
    #divCarousel .carousel-item {
        height: 50vh; /* Match mobile carousel height */
        min-height: 200px; /* Reduced minimum for mobile */
    }
    #divCarousel .carousel-slide {
        min-height: 200px; /* Ensure text overlay space on mobile */
    }
    #divCarousel .slide-1 {
        background-size: contain; /* Fit background on mobile */
        background-repeat: no-repeat;
    }
    #divCarousel .slide-2,
    #divCarousel .slide-3,
    #divCarousel .slide-4 {
        background: none; /* Confirm no background on mobile */
        width: 100%;
    }
    #divCarousel .text-overlay {
        max-width: 90%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 15px;
        width: 100%;
    }
    #divCarousel .text-overlay h2 {
        font-size: 1.8rem;
    }
    #divCarousel .text-overlay p {
        font-size: 1rem;
    }
    #divCarousel .text-overlay p + p {
        margin-top: 10px;
    }
    #divCarousel .carousel-overlay {
        height: 8vh;
        font-size: 0.9rem;
    }
    #divCarousel .carousel-overlay a {
        padding: 1.5%;
    }
}
