
.with-overlay {
    position: relative;
    isolation: isolate;
}

.with-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.5);
}

.section-py {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.footer-py {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.blog-photo {
    aspect-ratio: auto 900 / 500;
    height: auto;
}

:root {
    --primary-red: #272E6B;
    --deep-black: #111111;
    --light-gray: #f5f5f5;
    --text-color: #333333;
}

::selection {
    background: #272E6B;
    color: #f5f5f5;
    text-shadow: none;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: var(--primary-red);
}

.text-content ul  {
    padding-left: 0.5rem;
}

.text-content ul li {
    list-style: none;
    padding-left: 25px;
    position: relative;
}

.text-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    background-image: url(.././images/app/icon.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.bg-primary {
    background-color: var(--primary-red)!important;
}

/* carousel START*/

.main-slider .carousel-item {
    height: 100vh;
}

.carousel-control-next, .carousel-control-prev {
    position: absolute;
    width: 40px;
    bottom: calc(50% - 61px);
    top: unset;
    padding: 20px;
    color: #fff;
    text-align: center;
    background: 0 0;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 1;
    border-radius: 25px;
}

.carousel-control-next {
    right: 30px!important;
    height: 56px!important;
    z-index: 99;
}

.carousel-control-prev {
    left: 30px!important;
    height: 56px!important;
    z-index: 99;
}

/* carousel END */

.img-desaturated {
    filter: grayscale(100%) opacity(20%);
    transition: filter 0.7s ease;
}

.card:hover .img-desaturated {
    filter: grayscale(0%) opacity(100%);
}

.offer-cards .card {
    border-bottom: 3px solid var(--bs-card-border-color);
}

.offer-cards .card:hover {
    border-bottom: 3px solid var(--primary-red);
}

.list-group-item.active a {
    color: var(--bs-list-group-active-color);
}

.btn.btn-lg {
    font-size: 0.9rem;
    line-height: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.btn {
    border-radius: 2px;
}

.btn .fas, .btn .fa, .btn .fa-solid {
    transition: all 0.5s;
    margin-left: 0.5rem;
}

.btn:hover .fas, .btn:hover .fa, .btn:hover .fa-solid {
    margin-left: 10px;
}

.btn-primary {
    background: linear-gradient(120deg, #272e6b, #272E6B, #272E6B, #272E6B, #1D245A);
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(48, 56, 126, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(120deg, #303983, #303983, #303983, #303983, #303983);
    border: none;
    box-shadow: 0 6px 8px rgba(48, 57, 131, 0.3);
    transform: translateY(-1px);
}

.btn-primary:active, .btn-primary:focus {
    background: linear-gradient(120deg, #303983, #303983, #303983, #303983, #303983);
    border: none;
    box-shadow: 0 2px 4px rgb(48, 57, 131, 0.3);
    transform: translateY(1px);
}

.main-video {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.main-video-overlay {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.4;
}

.btn-dark {
    background-color: var(--deep-black);
    border-color: var(--deep-black);
}

.section-title {
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-red);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.list-group-item.active {
    z-index: 2;
    color: var(--bs-list-group-active-color);
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.section-title-left {
    margin-bottom: 3rem;
    position: relative;
}

.section-title-left:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-red);
    bottom: -10px;
    left: 0;
}

.bg-light-pattern {
    background-color: var(--light-gray);
    background-image: url('./../images/app/bg.png');
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-light-pattern:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(245,245,245,0.5);
    border-radius: 50%;
    top: -150px;
    right: -150px;
    z-index: 0;
}

.hero-section {
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 500px;
}

.hero-section video, .hero-section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
    background-color: rgba(0,0,0,0.4);
    color: white;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    height: 100%;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.text-primary-red {
    color: var(--primary-red);
}

.product-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.article-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.article-meta {
    font-size: 0.9rem;
    color: #777;
}

.accordion-button:not(.collapsed) {
    background-color: #ececec;
    color: black;
}


footer {
    background-color: var(--deep-black);
    color: white;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

.carousel-control-prev {
    left: -30px;
}
.carousel-control-next {
    right: -30px;
}

@media (max-width: 767.98px) {

    .hero-section {
        height: 100vh;
    }
}

.mega-dropdown {
    position: static !important;
}

.mega-dropdown .dropdown-menu {
    width: 100%;
    border-radius: 0;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    background: rgba(255,255,255,0.9);
}

.mega-dropdown .dropdown-item {
    padding: 0.75rem 0;
    border: none;
    white-space: normal;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.mega-dropdown .dropdown-item:hover {
    background-color: transparent;
}

@media (max-width: 991px) {

    .mega-dropdown .dropdown-menu {
        padding: 1rem;
    }

    .nav-item {
        text-align: right;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        padding-right: 0.5rem;
    }
}