body {
    font-family: "Montserrat", sans-serif;
    color: #333;
}

@font-face {
    font-family: "Handel Gothic";
    src: url("../fonts/Handel-Gothic-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

.font-another {
    font-family: "Handel Gothic", Arial, sans-serif;
}

.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    /* Vertically centers the text */
}

/* HERO */
.hero {
    height: 60vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("./assets/download.jpg") center/cover no-repeat;
    color: #fff;
}

/* CARDS */
.card-box {
    border-radius: 12px;
    transition: 0.3s;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* MAIN WRAPPER */
.bx-body {
    font-family: "Poppins", sans-serif;
    background: radial-gradient(circle at top, #1e293b, #020617);
    color: #fff;
}

/* NAVBAR */
.bx-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bx-logo {
    font-size: 22px;
    font-weight: 700;
}

.bx-nav-links {
    display: flex;
    gap: 30px;
}

/* HERO */
.hero {
    height: 60vh;
    background:
        linear-gradient(rgba(10, 124, 74, 0.7), rgba(0, 0, 0, 0.7)),
        url("./assets/download.jpg") center/cover no-repeat;
    color: #fff;
}

.bx-nav-links a {
    text-decoration: none;
    color: #cbd5e1;
    transition: 0.3s;
}

.bx-nav-links a:hover {
    color: #fff;
}

.bx-nav-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #6366f1, #22d3ee);
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
}

/* HERO */
.bx-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 160px 8% 100px;
    min-height: 100vh;
    gap: 40px;
    background: radial-gradient(circle at top, #1e293b, #020617);
    color: #fff;
}

/* TEXT */
.bx-hero-text {
    max-width: 600px;
}

/* TOP TEXT */
.bx-marquee-wrap {
    overflow: hidden;
    margin-bottom: 20px;
}

.bx-marquee {
    display: inline-block;
    animation: bx-scroll 14s linear infinite;
    white-space: normal;
    /* এটা যোগ করো */
}

.bx-welcome {
    font-size: 18px;
    color: #fff;
    margin-right: 10px;
}

.bx-brand {
    font-weight: 700;
    background: linear-gradient(90deg, #6366f1, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    font-size: clamp(16px, 5vw, 30px);
    word-break: keep-all;
    /* 👈 magic */
}

/* MAIN TEXT */
.bx-hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.bx-hero-text p {
    color: #94a3b8;
    margin-bottom: 30px;
}

/* BUTTONS */
.bx-buttons {
    display: flex;
    gap: 15px;
}

.bx-btn-primary {
    padding: 12px 25px;
    background: linear-gradient(135deg, #6366f1, #22d3ee);
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
}

.bx-btn-secondary {
    padding: 12px 25px;
    border: 1px solid #6366f1;
    background: transparent;
    border-radius: 8px;
    color: #6366f1;
    cursor: pointer;
}

/* IMAGE */
.bx-hero-img img {
    width: 480px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* FLOAT */
.bx-hero-img {
    animation: bx-float 4s ease-in-out infinite;
}

@keyframes bx-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* SCROLL TEXT */
@keyframes bx-scroll {
    0% {
        transform: translateX(50%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .bx-hero {
        flex-direction: column;
        text-align: center;
    }

    .bx-hero-img img {
        width: 100%;
    }

    .bx-buttons {
        justify-content: center;
    }
}

.card-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Fix for clicking navigation buttons over the overlay */
.swiper-button-next,
.swiper-button-prev {
    z-index: 10 !important;
}

/* Smooth Navbar Transition */
.transition-all {
    transition: all 0.4s ease-in-out;
}
/* Default transparent navbar */
#mainNav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: transparent !important;
    transition: all 0.4s ease;
}

/* Navbar after scroll */
#mainNav.nav-scrolled {
    background: #333333 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Default nav links */
#mainNav .nav-link {
    color: #fff !important;
    transition: color 0.3s ease;
}

/* Nav links after scroll */
#mainNav.nav-scrolled .nav-link {
    color: #222 !important;
}

#mainNav.nav-scrolled .nav-link.active {
    color: #0d6efd !important;
}

/* Contact button */
#mainNav.nav-scrolled #navBtn {
    border-color: #0d6efd !important;
    color: #0d6efd !important;
}

#mainNav.nav-scrolled #navBtn:hover {
    background: #0d6efd;
    color: #fff !important;
}
/* This class will be added via JS on scroll */
.nav-scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    letter-spacing: 2px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link.active {
    color: #0d6efd !important;
    /* Bootstrap Primary */
}

/* Custom spacing for the "About" section */
.tracking-widest {
    letter-spacing: 4px;
}

.leading-relaxed {
    line-height: 1.8;
}

/* Premium button hover */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3) !important;
}

/* Dropdown Menu Styling */
.dropdown-menu {
    background-color: #ffffff;
    margin-top: 15px !important;
    /* Spacing from navbar */
    min-width: 200px;
}

.dropdown-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #0d6efd;
    /* Your primary blue */
    color: #fff;
    padding-left: 20px;
    /* Subtle slide effect on hover */
}

/* Luxury Touch: Open dropdown on Hover for Desktop */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        animation: fadeIn 0.3s ease forwards;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Transition for the fixed navbar colors */
.transition-all {
    transition:
        background-color 0.4s ease,
        padding 0.4s ease;
}
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);

        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        padding: 15px;
        margin-top: 10px;
    }

    .navbar-collapse .nav-link {
        color: #fff !important;
    }

    #mainNav.nav-scrolled .navbar-collapse {
        background: rgba(255, 255, 255, 0.9);
    }

    #mainNav.nav-scrolled .navbar-collapse .nav-link {
        color: #222 !important;
    }
}
/* Hero Section Styles */
.hero-section {
    height: 100vh;
    background: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80")
        no-repeat center center/cover;
    margin-top: -85px;
    /* Adjust this based on your Navbar height to pull hero under it */
}

/* Footer Styles */
.footer-section {
    background-color: #0e1111;
    /* Deep Rich Black */
    color: #a0a0a0;
}

.footer-section h5 {
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Links Hover Animation */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #0d6efd;
    /* Brand Blue */
    padding-left: 8px;
}

/* Social Icons */
.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    border-radius: 0;
    /* Keep it sharp for luxury feel */
    transition: 0.3s;
}

.social-icon:hover {
    background: #0d6efd;
    color: #fff;
    transform: translateY(-3px);
}

.heroSwiper {
    width: 100%;
    height: 100vh;
}

.hero-section {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    height: 100vh;
}

/* Luxury "Text Outline" effect */
.text-outline {
    -webkit-text-stroke: 1.5px #fff;
    color: transparent;
}

/* Customizing Swiper Navigation */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: #0d6efd !important;
    opacity: 1;
}

/* Content Animation: Hide by default, show when slide is active */
.slide-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.swiper-slide-active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for text elements */
.swiper-slide-active h6 {
    transition-delay: 0.3s;
}

.swiper-slide-active h1 {
    transition-delay: 0.5s;
}

.swiper-slide-active p {
    transition-delay: 0.7s;
}

.swiper-slide-active a {
    transition-delay: 0.9s;
}

.contact-item p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-card {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.icon-box {
    font-size: 40px;
    color: #0d6efd;
}

.tracking-widest {
    letter-spacing: 2px;
}

.ad-box {
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    /* ✅ ADD THIS ONLY */
}

.ad-box img {
    transition: transform 0.5s ease;
    height: 350px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.ad-box:hover img {
    transform: scale(1.1);
}

/* Overlay */
.ad-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    transition: all 0.3s ease;
    z-index: 2;
}

.ad-box:hover .ad-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.mv-card {
    background: #ffffff;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid #0d6efd;
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.mv-card .icon {
    font-size: 40px;
    color: #0d6efd;
}

.tracking-widest {
    letter-spacing: 2px;
}

/* Product Card */
.product-card {
    border-radius: 10px;
    transition: 0.3s;
    background: #fff;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* Company Slider */
.company-slider {
    overflow: hidden;
    position: relative;
}

.slide-track {
    display: flex;
    width: calc(200px * 10);
    animation: scroll 20s linear infinite;
}

.slide-track img {
    width: 120px;
    margin: 0 20px;
    opacity: 0.7;
    transition: 0.3s;
}

.slide-track img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.tracking-widest {
    letter-spacing: 2px;
}

.about-card {
    border-radius: 12px;
    transition: 0.3s;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.values-list li {
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.feature-box {
    border-radius: 10px;
    background: #f8f9fa;
    transition: 0.3s;
}

.feature-box:hover {
    background: #e9f2ff;
    transform: scale(1.05);
}

.stats-box h4 {
    font-size: 1.8rem;
}

.tracking-widest {
    letter-spacing: 2px;
}

/* Tracking for brand logo in footer */
.tracking-wider {
    letter-spacing: 2px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.2)
    );
    z-index: 1;
}

.text-outline {
    -webkit-text-stroke: 1px #fff;
    color: transparent;
}

/* Scroll Mouse Animation */
.mouse-icon {
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.mouse-icon::before {
    content: "";
    width: 4px;
    height: 8px;
    background: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 8px;
    border-radius: 2px;
    animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

/* Subtle Entrance Animations */
.animate-up {
    animation: fadeInUp 1s ease forwards;
}

.animate-up-delayed {
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.animate-up-more {
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* rgba(18, 18, 18, 0.8) is a deep 'Off-Black' 
       We fade from 80% opacity to 20% opacity 
    */
    background: linear-gradient(
        105deg,
        rgba(18, 18, 18, 0.9) 0%,
        rgba(18, 18, 18, 0.4) 50%,
        rgba(18, 18, 18, 0.1) 100%
    );
    z-index: 1;
}

/* 1. Define the Animation Keyframes */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 2. Create helper classes with different delays */
.animate-up {
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
}

.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
}

.delay-3 {
    animation-delay: 0.6s;
    opacity: 0;
}
