/* Homepage Specific Styles */

/* Styling for active menu items */
.active-section {
    color: white;
    border-bottom: 2px solid #9b59b6;
}

ul {
    text-align: center;
}

#hero .owl-theme .owl-nav {
    display: none;
}

#hero .bg-cover {
    background-position: center;
    background-size: cover;
}

@keyframes slide-slow {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-slide-slow {
    display: flex;
    width: calc(100% * 2);
    animation: slide-slow 60s linear infinite;
}

/* Hero Section Layout */
.hero-container {
    display: flex;
    flex-wrap: nowrap;
    max-width: 100%;
    padding-left: 280px;
}

.hero-content {
    width: calc(100% - 280px);
    max-width: 1170px;
    margin: 0 auto;
}

@media (min-width: 1440px) {
    .hero-container {
        max-width: 1400px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        padding-left: 0;
    }
    .hero-content {
        width: 100%;
    }
    #hero-owl .owl-theme .owl-dots {
        right: 15px !important;
    }
    #hero-owl .owl-carousel .item {
        height: auto;
        padding: 100px 0;
    }
}

/* Owl Carousel Dots */
#hero-owl .owl-theme .owl-dots {
    position: absolute;
    bottom: 100px;
    right: 200px;
    z-index: 99999999999;
}

#hero-owl.owl-theme .owl-dots .owl-dot span {
    background-color: #ffffff;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    margin: 5px;
}

#hero-owl .owl-theme .owl-dots .owl-dot.active span {
    background-color: #48009F;
    width: 35px;
    border-radius: 20px;
}

/* Hero Carousel Styling */
#hero-owl .owl-carousel .item .background-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    height: 100%;
}

#hero-owl .owl-carousel .item .content {
    z-index: 10;
}

#hero-owl .owl-carousel .item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100vh;
}

/* Section Styling */
.section-name {
    font-size: 14px;
    font-weight: 700;
    color: white;
}

.inactive-line {
    width: 100%;
    height: 2px;
    background-color: white;
    display: inline-block;
    margin-top: 4px;
}

.active-section .section-name {
    display: block !important;
}

.active-section .inactive-line {
    display: none !important;
}

.section-name.hidden {
    display: none;
}

.section {
    padding: 50px;
    position: relative;
}

.section-title {
    font-size: 2rem;
    color: white;
    position: absolute;
    top: -30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section:hover .section-title {
    opacity: 1;
}

/* Background and Overlay */
.background-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.black-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
    z-index: 1;
}

.image-content {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.content {
    position: relative;
    z-index: 2;
}

/* Button Styling */
button.bg-primary:hover {
    background-color: #5a00e0;
}

.active-section {
    color: white;
    border-bottom-color: #5a00e0;
}

.scroll-to:hover {
    color: #fff;
}

/* Menu Styling */
.menu-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0px 10px 10px 10px;
    text-align: left;
    font-size: 12px;
    color: #ffffff69;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
    margin: 15px 0;
    height: 40px;
    font-weight: 400;
}

.menu-item a {
    opacity: 0;
    border-bottom: 2px solid transparent;
    transition: opacity 0.3s, border-bottom 0.3s;
    padding-bottom: 2px;
    display: inline-block;
}

.menu-item:hover a {
    opacity: 1;
}

.menu-item.active-section a {
    opacity: 1;
    border-bottom: 2px solid #6C63FF;
}

.menu-item.active,
.menu-item:hover {
    font-size: 12px;
    color: #fff;
    text-align: center;
    font-weight: 600;
}

.menu-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10px;
    width: 30%;
    height: 2px;
    background-color: rgba(162, 85, 255, .3);
}

.menu-item.active::after {
    width: 100% !important;
    background-color: rgba(162, 85, 255, 1);
}

.sticky-menu {
    position: fixed;
    top: 50%;
    left: 0;
    width: 10vw;
    flex-direction: column;
    align-items: flex-end;
    background-color: transparent;
    z-index: 99999;
    transform: translateY(-50%);
}

/* Background Wrapper */
.bg-wrapper {
    position: absolute;
    top: calc(200vh);
    left: 0;
    width: calc(100% + 0px);
    height: 200vh;
    z-index: 1;
    opacity: 0.3;
    background-image: url(http://quadranttechnologies.com/wp-content/uploads/2024/10/bg-service-1.png);
    background-size: cover;
    background-position: top left;
}

/* Carousel Styling */
.carousel-two .owl-stage-outer {
    padding: 35px 10px;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.youtube-iframe {
    width: 100vw;
    height: calc(100vw/1.77);
}