:root {
    --primary: #0b7a78;
    --secondary: #f7931e;
    --dark: #1f2937;
    --light: #f8fafc;
}

html {
    scroll-padding-top: 120px;
}

body {
    font-family: 'Noto Sans Bengali', sans-serif;
    color: var(--dark);
    scroll-behavior: smooth;
    padding-top: 0;
}

/* NAVBAR */
.navbar {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
    height: auto;
    padding: 15px 0;
}

.navbar-brand img {
    height: 44px
}

.nav-link {
    font-weight: 500;
    margin-left: 18px;
    color: var(--dark) !important;
    font-family: 'Poppins', sans-serif;
    transition: .3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary) !important;
}

.text-green {
    color: var(--primary)
}

.text-orange {
    color: var(--secondary)
}

/* HERO */
#home {
    min-height: calc(100vh - 120px);
    background:
        linear-gradient(135deg, rgba(11, 122, 120, .92) 0%, rgba(247, 147, 30, .88) 100%),
        url('https://images.unsplash.com/photo-1537432376769-00aabc8f56c8') center/cover;
    color: #fff;
    display: flex;
    align-items: center;
    position: relative;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}

#home .container {
    position: relative;
    z-index: 1
}


/* SECTION */
section {
    padding: 90px 0
}

.section-title {
    text-align: center;
    margin-bottom: 60px
}

.section-title h2 {
    font-weight: 700;
    color: var(--primary);
    font-size: 42px;
}

.section-title p {
    max-width: 650px;
    margin: auto;
    color: #6b7280;
    font-size: 17px;
}

/* SERVICES */
.service-card {
    background: #fff;
    padding: 40px 35px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
    transition: .35s;
    height: 100%;
    border-left: 5px solid var(--secondary);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: var(--secondary);
    opacity: .05;
    border-radius: 50%;
    transition: .3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, .12);
}

.service-card:hover::before {
    top: -20%;
    right: -20%;
}

.service-card i {
    font-size: 48px;
    color: var(--secondary);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-card h5 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.service-card p {
    position: relative;
    z-index: 1;
    font-size: 15px;
    line-height: 1.6;
}

/* TEAM */
.team-card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .1);
    transition: .3s;
}

.team-card:hover {
    transform: translateY(-8px)
}

.team-card img {
    height: 280px;
    object-fit: cover
}

.team-card h5 {
    margin-top: 15px;
    font-weight: 600
}

.team-card span {
    color: var(--secondary);
    font-size: 14px
}

/* ABOUT SECTION */
.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* CONTACT */
.contact-info i {
    color: var(--secondary);
    font-size: 20px;
    margin-right: 10px;
}

footer {
    background: var(--primary);
    color: #fff;
}

footer a {
    color: #fff;
    margin: 0 10px;
    font-size: 18px
}

footer a:hover {
    color: var(--secondary)
}

/* CTA BUTTON */
.btn-primary-cta {
    background: var(--secondary);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 13px 35px;
    border-radius: 50px;
    transition: .3s;
    font-family: 'Poppins', sans-serif;
}

.btn-primary-cta:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

/* TOP BAR */
.top-bar {
    background: var(--primary);
    color: #fff;
    padding: 12px 0;
    font-size: 14px;
    border-bottom: 2px solid var(--secondary);
    width: 100%;
    z-index: 1000;
    display: none;
}

.top-bar.show {
    display: block;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
    transition: .3s;
}

.top-bar a:hover {
    color: var(--secondary);
}

.top-bar-left {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left i {
    color: var(--secondary);
    font-size: 15px;
}

.top-bar-right {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: flex-end;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .15);
    border-radius: 50%;
    font-size: 16px;
    transition: .3s;
}

.social-icon:hover {
    color: var(--primary) !important;
    background: var(--secondary);
    transform: translateY(-3px);
}

/* MOBILE SLIDER */
.top-bar-slider {
    display: none;
}

.slider-container {
    overflow: hidden;
    width: 100%;
}

.slider-items {
    display: flex;
    animation: slideAuto 12s infinite;
    transition: transform 0.4s ease-in-out;
}

.slider-item {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 0;
}

.slider-item i {
    color: var(--secondary);
    font-size: 16px;
}

.slider-dots {
    display: none;
    justify-content: center;
    gap: 6px;
    margin-top: 6px;
}

.dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, .4);
    border-radius: 50%;
    transition: .3s;
}

.dot.active {
    background: var(--secondary);
}

.contact-link a {
    color: black;
    text-decoration: none;
    transition: .3s;
}

.contact-link a:hover {
    color: var(--secondary);
}

@keyframes slideAuto {
    0% {
        transform: translateX(0);
    }

    16% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-100%);
    }

    36% {
        transform: translateX(-100%);
    }

    40% {
        transform: translateX(-200%);
    }

    56% {
        transform: translateX(-200%);
    }

    60% {
        transform: translateX(-300%);
    }

    76% {
        transform: translateX(-300%);
    }

    80% {
        transform: translateX(-400%);
    }

    96% {
        transform: translateX(-400%);
    }

    100% {
        transform: translateX(0);
    }
}

@media(max-width:767px) {
    body {
        padding-top: 0;
    }

    .top-bar-desktop {
        display: none;
    }

    .top-bar-slider {
        display: block;
    }

    /* MOBILE NAVBAR alignment fix */
    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar-collapse {
        margin-top: 15px;
        background: #f8f9fa;
        padding: 10px;
        border-radius: 8px;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
}