
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Syne:wght@400..800&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: Poppins, sans-serif;
  font-weight: 300;
  font-style: normal;
}

/* Abstract Background - Stays Fixed */
.abstract-bg {
    background-image: url('/assets/images/x-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0; /* ensure the fixed background stays behind page content */
}

/* ensure hero and following sections sit above the fixed background */
.hero-wrapper {
    position: relative; /* reinforce stacking context */
    z-index: 2;
}

/* second section: white and above the abstract bg */
.how-it-works-section{
    background-color: #fff !important;
    position: relative;
    z-index: 2;
}

/* Navigation */
.navbar {
    z-index: 100;
    padding: 1.2rem 0;
}

.brand-logo {
    height: 45px;
}

.nav-link {
    color: black;
    font-weight: 400;
    padding: 0.5rem 1.2rem;
    transition: color 0.2s;
}

.feature-width{
    width: 33.33% !important;
}

.nav-link:hover {
    color: #2d6666;
}

.btn-contact {
    background: #1a3d3d;
    color: white;
    transition: all 0.3s;
}

.bi-check-circle-fill{
    color : #1a3d3d;
}

.btn-contact:hover {
    background: #2d6666;
    color: white;
    transform: translateY(-1px);
}


.carousel-item {
    min-height: 75vh;
    display: flex;
    align-items: center;
    transition: opacity 0.6s ease-in-out;
}

.carousel-item:not(.active) {
    display: none;
}

.carousel-item.active {
    display: flex;
}

.hero-row {
    gap: 4rem;
}

@media (width < 992px) {
    .hero-row {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Left Side - Image Section */
.image-section {
    flex: 0 0 45%;
}


.main-image-wrap img {
    display: block;
}

@media (width < 1200px) {
    .text-section h1 {
        font-size: 3rem;
    }
}

@media (width < 768px) {
    .text-section h1 {
        font-size: 2.2rem;
    }
}

.btn-get-started {
    background: #1a3d3d;
    color: white;
}

.btn-get-started:hover {
    background: #2d6666;
    transform: translateY(-2px);
}

.btn-learn-more {
    color: #1a3d3d;
    border: 2px solid #1a3d3d;
}

.btn-learn-more:hover {
    background: #1a3d3d;
    color: white;
}

/* Carousel Indicators - Vertical on Right */
.carousel-indicators {
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    z-index: 100;
}

.carousel-indicators [data-bs-target] {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #5a5a5a4d;
    border: none;
    margin: 10px 0;
    transition: all 0.3s;
    text-indent: 0;
    opacity: 1;
}

.carousel-indicators [data-bs-target].active {
    background-color: #1a3d3d;
    border-radius: 50%;
    border: white 2px solid ;
}

.feature-icon{
    background-color: #1a3d3d;
}

.list-icon{
    color: #1a3d3d;
}

.icon-btn:hover{
    background-color: #2d6666;
}

.pricing-btn{
    background-color: #e3e3e3;
    font-size: 15px;
    font-weight: 600;
    color: #1a3d3d;
}

.price-card{
    border: 1px solid #e5e5e5;
}

.contact-btn {
    background-color: #1a3d3d !important;
    font-size: 18px;
    font-weight: 500 !important;
    border: none !important;
}

.contact-btn:hover {
    background-color: #2d6666 !important;
    color: #fff !important;
}

/* Prevent transparency on click */
.contact-btn:active,
.contact-btn:focus,
.contact-btn:focus-visible {
    background-color: #1a3d3d !important;
    color: #fff !important;
    box-shadow: none !important;
    outline: none !important;
}


form .form-control{
    border-radius: 12px;
    background: #ededed;
    border: none;
    font-size: 15px;
    padding: 15px;
}

.pricing-btn:hover{
    background-color: #1a3d3d;
    color: white;
}

.carousel-control-prev,
.carousel-control-next {
    display: none;
}

@media (width < 768px) {
    .carousel-indicators {
        right: 1rem;
    }

    .hero-image{
        width: 280px !important;
        margin-left: 30px;
    }

    .mobile-text{
        text-align: center;
        font-size: 25px !important;
    }

    .mobile-btn{
        text-align: center;
    }

    .mobile-text-two{
        text-align: center;
        font-size: 12px;
    }

    .action-buttons{
        text-align: center;
    }
}

.carousel-fade .carousel-item {
    transition: opacity 0.9s ease-in-out !important;
}

.how-it-works-section{
    background-color: #fff !important;
}

/* Tablets in portrait mode only */
@media (width > 600px) and (width < 900px) and (orientation: portrait) {
    /* Place any styles you need here */
    .hero-image{
        width: 490px !important;
        margin-left: 100px;
    }

    .mobile-text{
        font-size: 30px !important;
        text-align: center;
    }

    .mobile-text-two{
        text-align: center;
    }

    .action-buttons{
        text-align: center;
    }
    
    .mobile-btn{
        text-align: center;
    }

    .tablet-features{
        text-align: start !important;
    }

    .tablet-features-two{
        text-align: end !important;
    }
}

 .navbar.scrolled {
    background-color: white !important;
    box-shadow: 0 2px 10px #0000001a;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.offcanvas {
    --bs-offcanvas-width: 300px;
}

.offcanvas-body .nav-link {
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
}

.offcanvas-body .nav-item {
    border-bottom: 1px solid #0000001a;
}

.offcanvas-body .nav-item:last-child {
    border-bottom: none;
}

/* Ensure desktop nav shows properly */
@media (width > 992px) {
    .navbar-collapse {
        display: flex !important;
    }
}

.how-it-works-section , section {
    scroll-margin-top: 70px !important; 
}

.hero-image{
    height: 600px !important;
}