html {
    scroll-behavior: smooth;
}

/* For browsers that support it, this helps */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

* {
    font-family: "Noto Sans Bengali", sans-serif;
}
body {
    background-color: #ffffff;
    color: #1f2a36;
    font-family: "Noto Sans Bengali", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
}

:root {
    --primary: #00522e;
    --secondary: #d21335;
    --card-white: #fffffff0;
    --accent: #e67e22;
    --light-bg: #f8f9fa;
}

/* ===== Smooth Overlay Loader ===== */

body.loading {
    overflow: hidden;
}

#overlay-loader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;

    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.6s ease,
        visibility 0.6s ease;
}

#overlay-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Optional subtle spinner */
.loader-spinner {
    width: 140px;
    height: 140px;
    border: 4px solid #e5e5e5;
    border-top: 4px solid #006633;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.text-primary-custom {
    color: var(--primary) !important;
}
.bg-primary-custom {
    background-color: var(--primary) !important;
}
.border-primary-custom {
    border-color: var(--primary) !important;
}

.text-secondary-custom {
    color: var(--secondary) !important;
}
.bg-secondary-custom {
    background-color: var(--secondary) !important;
}
.border-secondary-custom {
    border-color: var(--secondary) !important;
}

/* navbar styling */
.navbar {
    background: transparent;
    padding: 14px 0;
    transform: translateY(0);
    transition:
        transform 0.35s ease,
        padding 0.35s ease,
        box-shadow 0.35s ease;
    will-change: transform;
}
.navbar.navbar-scrolled {
    padding: 10px 0;
}
.navbar.navbar-hidden {
    transform: translateY(-110%);
}
.navbar-shell {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border: 1px solid #d8ddd9;
    border-radius: 999px;
    min-height: 88px;
    padding: 10px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: 0 14px 28px rgba(16, 42, 28, 0.08);
    transition:
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}
.navbar.navbar-scrolled .navbar-shell {
    box-shadow: 0 18px 30px rgba(10, 34, 22, 0.12);
    border-color: #ccd4ce;
}
.navbar-brand {
    margin-right: 1.4rem;
    flex-shrink: 0;
    padding: 0;
}
.main_logo {
    width: 98px;
    height: 98px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0a7a4d;
    background: #fff;
    box-shadow: 0 8px 18px rgba(6, 61, 36, 0.16);
}
.navbar .navbar-collapse {
    justify-content: flex-end;
}
.navbar-toggler {
    border: 1px solid #c8d6cc;
    border-radius: 14px;
    padding: 0.42rem 0.58rem;
    background: #f7fbf8;
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(17, 139, 92, 0.18);
}
.nav-menu-list {
    gap: 0.35rem;
}
.nav-link-pill {
    border-radius: 999px;
    padding: 0.62rem 1.1rem !important;
    color: #2f3d4a !important;
    font-weight: 600;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}
.nav-link-pill.active,
.nav-link-pill:hover {
    background: #edf4ef;
    color: var(--primary) !important;
}
.nav-icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #bdd0c5;
    background: #f7fbf8;
    color: #1e4031;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nav-icon-btn:hover {
    background: #ffffff;
    color: #0c6e44;
    border-color: #9ab6a8;
}
.lang-dropdown .lang-toggle {
    border: 1px solid #c7d4cb;
    border-radius: 999px;
    background: #f7fbf8;
    color: #20372d;
    padding: 0.68rem 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.lang-dropdown .lang-toggle:hover,
.lang-dropdown .lang-toggle:focus {
    border-color: #94b09f;
    background: #ffffff;
    color: #163126;
}
.lang-dropdown .lang-toggle::after {
    margin-left: 0.25rem;
}
.lang-dropdown .lang-current {
    min-width: 1.8rem;
    text-align: center;
}
.lang-dropdown .lang-menu {
    border: 1px solid #cfd8d3;
    border-radius: 16px;
    padding: 0.5rem;
    min-width: 160px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}
.lang-dropdown .dropdown-item {
    border-radius: 12px;
    padding: 0.6rem 0.75rem;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.lang-dropdown .dropdown-item .lang-name {
    font-weight: 600;
    color: #11241c;
}
.lang-dropdown .dropdown-item .lang-code {
    color: #6f7e77;
    letter-spacing: 0.02em;
}
.lang-dropdown .dropdown-item.active,
.lang-dropdown .dropdown-item:active {
    background: #d8e5db;
    color: inherit;
}
.lang-dropdown .dropdown-item:hover {
    background: #edf4ef;
}
.btn-cta {
    background: var(--primary);
    color: white;
    border-radius: 40px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.68rem 1.35rem;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #1f8f65, #0f6f4e);
    transition: all 0.25s ease;
    box-shadow: 0 8px 18px rgba(11, 88, 58, 0.28);
    transform: none;
    border-radius: 999px;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    background: #003f23;
    color: white;
}
.btn-outline-secondary-custom {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    border-radius: 40px;
}
.btn-outline-secondary-custom:hover {
    background: var(--secondary);
    color: white;
}

/* hero section */
.hero-section {
    padding: 2rem 0 2rem;
    background-color: var(--light-bg);
}
.hero-title {
    font-size: 8rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary); /* primary text in hero */
}
.hero-accent {
    color: var(--secondary); /* secondary text for accent */
}
.hero-img {
    border-radius: 30px;
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.2);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    max-height: 600px;
    object-fit: cover;
}

/* about section */
.about-section {
    padding: 5rem 0;
    background: white;
}
.about-img {
    border-radius: 20px;
    box-shadow: 0 25px 35px -15px rgba(0, 0, 0, 0.1);
}

/* slider */
.slider-section {
    padding: 1rem 0;
    background: #fdfdfd;
}
.slider-card {
    background: white;
    border-radius: 28px;
    padding: 0.6rem 0.8rem;
    border: 1px solid #f0e4d9;
}
.slider-card i {
    color: var(--secondary);
    font-size: 2.2rem;
} /* secondary icons */
.slick-dots li button:before {
    color: var(--secondary);
}
.slick-prev:before,
.slick-next:before {
    color: var(--primary);
}

/* policy cards */
.policy-card {
    background: var(--card-white);
    border: 1px solid rgba(210, 19, 53, 0.2); /* subtle secondary */
    border-radius: 24px;
    padding: 2rem 1.5rem;
    height: 100%;
}
.policy-card:hover {
    border-color: var(--secondary);
}
.policy-icon {
    font-size: 2.2rem;
    color: var(--primary);
    background: #f0eae2;
    width: 65px;
    height: 65px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.3rem;
}

.btn-accent {
    background: var(--secondary);
    color: #1e2a33;
    border: none;
}
.btn-accent:hover {
    background: #a30f2b;
    color: white;
}
.text-secondary-custom-light {
    color: #d21335;
}

.cta:focus {
    outline: none;
    box-shadow:
        0 8px 18px rgba(11, 88, 58, 0.28),
        0 0 0 3px rgba(17, 139, 92, 0.25);
}

.cta:hover {
    background: linear-gradient(135deg, #23966d, #146d50);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(11, 88, 58, 0.34);
}

/************ Complient box **************/

/* eye‑catching main card */
.complaint-card {
    max-width: 950px;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 48px;
    box-shadow:
        0 30px 60px -15px rgba(0, 82, 46, 0.25),
        0 15px 30px -10px rgba(210, 19, 53, 0.2);
    border: 1px solid rgba(210, 19, 53, 0.15);
    overflow: hidden;
    transition: transform 0.2s;
}

.complaint-card:hover {
    box-shadow: 0 35px 70px -12px rgba(0, 82, 46, 0.3);
}

/* header stripe with primary & secondary */
.form-header {
    background: var(--primary);
    padding: 1.5rem 2.5rem;
    position: relative;
    border-bottom: 5px solid var(--secondary);
}

.form-header h2 {
    color: white;
    font-weight: 700;
    font-size: 2.4rem;
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
}

.form-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.form-header i {
    color: var(--secondary);
    margin-right: 8px;
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px;
    border-radius: 50%;
}

/* decorative secondary corner */
.form-header::after {
    content: "⚑";
    position: absolute;
    bottom: -18px;
    right: 40px;
    font-size: 3rem;
    color: var(--secondary);
    opacity: 0.4;
    transform: rotate(15deg);
    font-weight: bold;
}

/* form body */
.form-body {
    padding: 2.5rem 2.8rem 2.8rem;
}

.form-label {
    font-weight: 600;
    color: #1e2a33;
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

.form-label i {
    color: var(--secondary);
    margin-right: 6px;
    width: 1.4rem;
    font-size: 1.1rem;
}

.required-dot {
    color: var(--secondary);
    font-size: 1.3rem;
    line-height: 1;
    margin-left: 4px;
}

.form-control,
.form-select,
textarea {
    border: 1.5px solid #e0dad3;
    border-radius: 20px;
    padding: 0.75rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    transition: 0.2s;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 82, 46, 0.1);
    outline: none;
    background-color: white;
}

/* অভিযোগ / মতামত field special */
.complaint-field {
    background: #fffcf9;
    border-left: 5px solid var(--secondary);
}

.privacy-note {
    background: rgba(0, 82, 46, 0.05);
    border-radius: 24px;
    padding: 1.2rem 1.8rem;
    margin: 1.8rem 0 1.2rem;
    border: 1px dashed var(--primary);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.privacy-note i {
    font-size: 2.5rem;
    color: var(--secondary);
}

.privacy-note span {
    font-weight: 500;
    color: #1e2a33;
    font-size: 1.1rem;
    line-height: 1.4;
}

.btn-submit {
    background: var(--primary);
    border: none;
    border-radius: 60px;
    padding: 0.9rem 2.8rem;
    font-weight: 700;
    font-size: 1.3rem;
    color: white;
    box-shadow: 0 8px 18px -6px rgba(0, 82, 46, 0.5);
    transition: all 0.2s;
    border: 2px solid transparent;
}

.btn-submit:hover {
    background: #003f24;
    transform: translateY(-2px);
    box-shadow: 0 14px 24px -8px rgba(0, 82, 46, 0.7);
}

.btn-submit:active {
    transform: translateY(1px);
}

.btn-submit i {
    margin-right: 10px;
    color: var(--secondary);
    font-size: 1.5rem;
    vertical-align: middle;
}

/* আকর্ষণীয় ছোট ডিটেল */
.floating-icon {
    background: white;
    width: 48px;
    height: 48px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 2px solid var(--secondary);
    font-size: 1.5rem;
}

.row.gap-1 {
    --bs-gutter-y: 1.2rem;
}

/* responsive */
@media (max-width: 600px) {
    .form-header h2 {
        font-size: 1.9rem;
    }
    .form-body {
        padding: 1.8rem;
    }
    .privacy-note {
        flex-direction: column;
        text-align: center;
    }
}

/* ছায়া ও হোভার এফেক্ট */
.hover-lift {
    transition: transform 0.15s;
}
.hover-lift:hover {
    transform: scale(1.01);
}
/* মডেল কন্টেন্ট — অভিযোগ ফর্ম (eye‑catching) */
.modal-complaint .modal-content {
    border-radius: 48px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border: 2px solid var(--primary);
    box-shadow: 0 35px 70px -12px rgba(0, 82, 46, 0.3);
}
.modal-header {
    background: var(--primary);
    color: white;
    border-bottom: 5px solid var(--secondary);
    border-radius: 4px 4px 0 0;
    padding: 1.5rem 2rem;
}
.modal-header h3 {
    font-weight: 700;
    font-size: 2rem;
}
.modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.modal-body {
    padding: 2.5rem;
}
.form-label i {
    color: var(--secondary);
    margin-right: 6px;
}
.required-dot {
    color: var(--secondary);
    font-size: 1.3rem;
    margin-left: 4px;
}
.form-control,
.form-select,
textarea {
    border: 1.5px solid #e0dad3;
    border-radius: 20px;
    padding: 0.75rem 1.2rem;
}
.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 82, 46, 0.1);
}
.privacy-note {
    background: rgba(0, 82, 46, 0.05);
    border-radius: 24px;
    padding: 1.2rem 1.8rem;
    border: 1px dashed var(--primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}
.privacy-note i {
    font-size: 2.5rem;
    color: var(--secondary);
}
.btn-submit-modal {
    background: var(--primary);
    border: none;
    border-radius: 60px;
    padding: 0.9rem 2.8rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 8px 18px -6px #00522e;
}
.btn-submit-modal:hover {
    background: #003f24;
}

/********************* Exists work css *************************/

/* Card Hover Effects */
.hover-effect {
    transition: all 0.3s ease-in-out;
    border-radius: 15px;
    overflow: hidden;
    background: white;
}

.hover-effect:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(184, 94, 58, 0.2) !important;
}

.hover-effect .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hover-effect:hover .card-img-top {
    transform: scale(1.05);
}

.hover-effect .card-body {
    padding: 1.5rem;
}

.hover-effect .card-title {
    color: #2c3e50;
    font-size: 1.25rem;
    line-height: 1.4;
}

.hover-effect .card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

.hover-effect .btn-outline-primary {
    color: #b85e3a;
    border-color: #b85e3a;
    border-width: 2px;
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.hover-effect .btn-outline-primary:hover {
    background-color: #b85e3a;
    border-color: #b85e3a;
    color: white;
    transform: translateX(5px);
}

.hover-effect .btn-outline-primary i {
    transition: transform 0.3s ease;
}

.hover-effect .btn-outline-primary:hover i {
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hover-effect .card-img-top {
        height: 200px;
    }

    .hover-effect .card-body {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .hover-effect .card-img-top {
        height: 180px;
    }
}

/* Optional Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/***************** * My exists Work ********************/
.notable-works-section {
    background:
        radial-gradient(
            circle at 12% 12%,
            rgba(0, 82, 46, 0.08),
            transparent 42%
        ),
        radial-gradient(
            circle at 88% 0,
            rgba(210, 19, 53, 0.08),
            transparent 40%
        ),
        #f8fbf9;
}

.notable-works-header {
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

.notable-works-kicker {
    display: inline-block;
    padding: 0.42rem 1rem;
    border-radius: 999px;
    background: rgba(0, 82, 46, 0.11);
    color: #0c5a36;
    font-size: 0.76rem;
    letter-spacing: 0.11em;
    font-weight: 700;
}

.notable-works-title {
    margin: 0.75rem 0 0.55rem;
    font-size: clamp(2rem, 3.2vw, 2.85rem);
    font-weight: 800;
    color: #143529;
    letter-spacing: -0.02em;
}

.notable-works-subtitle {
    color: #486156;
    font-size: 1.04rem;
}

.notable-work-card {
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid #dde6df;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(16, 42, 28, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.notable-work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(16, 42, 28, 0.14);
}

.notable-work-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.notable-work-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.notable-work-card:hover .notable-work-image {
    transform: scale(1.06);
}

.notable-work-date {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #f5fffa;
    background: rgba(0, 82, 46, 0.88);
}

.notable-work-body {
    padding: 1.1rem 1.2rem 1.25rem;
}

.notable-work-index {
    color: #0a7249;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 0.45rem;
}

.notable-work-heading {
    color: #1d342b;
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.notable-work-excerpt {
    color: #5b6e65;
    font-size: 0.96rem;
    line-height: 1.62;
}

.notable-work-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 999px;
    text-decoration: none;
    padding: 0.62rem 1rem;
    border: 1px solid #bed2c6;
    color: #0d5f3a;
    font-weight: 700;
    transition: all 0.2s ease;
}

.notable-work-btn:hover {
    background: #0e6c43;
    color: #ffffff;
    border-color: #0e6c43;
}

/* ——— আর্কষণীয় হেডার ডিজাইন ——— */
.main-heading {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(130deg, #1e3b2f, #2b5a42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 0.2rem;
    font-family: "Playfair Display", serif;
}
.main-heading i {
    background: none;
    -webkit-text-fill-color: #d48c5c;
    color: #d48c5c;
    margin-right: 10px;
}
.description-wrapper {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    border-radius: 60px;
    padding: 0.9rem 2rem 0.9rem 2rem;
    border: 1px solid rgba(210, 180, 140, 0.3);
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem 1.5rem;
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.05);
    margin-top: 0.5rem;
}
.description-text {
    font-size: 1.1rem;
    color: #2c4438;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}
.description-text i {
    color: #b85e3a;
    margin-right: 6px;
}
.image-count-badge-modern {
    background: #1e3b2f;
    color: #f3e2cf;
    padding: 0.45rem 1.6rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
    box-shadow: 0 6px 12px -6px #1e3b2f70;
    border: 1px solid #c7b595;
}
.image-count-badge-modern i {
    margin-right: 8px;
    color: #ffc9a2;
}
/* responsive */
@media (max-width: 768px) {
    .main-heading {
        font-size: 2.6rem;
    }
    .description-wrapper {
        padding: 0.8rem 1.5rem;
    }
}
@media (max-width: 576px) {
    .masonry-grid {
        column-count: 1;
    }
}

/* Add this to your gallery.css file or in a style tag */

.main-heading {
    font-size: 2.2rem;
    font-weight: 600;
    color: #333;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding: 10px 0;
    cursor: pointer;
}

.main-heading i {
    color: #e74c3c;
    font-size: 2.5rem;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.main-heading:hover i {
    transform: rotate(360deg) scale(1.2);
}

.main-heading span {
    background: linear-gradient(
        120deg,
        #333 0%,
        #333 50%,
        #e74c3c 50%,
        #e74c3c 100%
    );
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.5s;
}

.main-heading:hover span {
    background-position: 0 0;
}

.underline-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    transition: width 0.3s ease;
}

.main-heading:hover .underline-effect {
    width: 100%;
}

.gallery-header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 10px 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

/* Animated gradient overlay */
.gallery-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 3s infinite;
}

/* Decorative elements */
.gallery-header::after {
    content: "📸";
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 60px;
    opacity: 0.1;
    transform: rotate(-10deg);
    pointer-events: none;
}

.main-heading {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.main-heading i {
    font-size: 3rem;
    color: #b85e3a;
    background: rgba(255, 255, 255, 0.3);
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(184, 94, 58, 0.3);
    animation: bounce 2s infinite ease-in-out;
}

.main-heading span {
    background: linear-gradient(135deg, #b85e3a, #8b4513);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.description-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 10px;
}

.description-text {
    font-size: 1.1rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.6;
}

.description-text i {
    color: #b85e3a;
    font-size: 1.3rem;
    animation: pulse 2s infinite;
}

/********************** Publication **********************/
/* Publications Section Styles */
.publications-section {
    background-color: #f8f9fa;
}

/* Section Header */
.section-header h2 {
    color: #2c3e50;
    font-weight: 700;
}

.divider .line {
    background: linear-gradient(90deg, #b85e3a, #8b4513) !important;
}

.divider i {
    color: #b85e3a !important;
    font-size: 1.5rem;
}

/* Publication Cards */
.publication-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.publication-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(184, 94, 58, 0.1);
    border-color: rgba(184, 94, 58, 0.2);
}

/* Card Content */
.card-content {
    position: relative;
    z-index: 1;
}

/* Decorative background element */
.publication-card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: linear-gradient(
        135deg,
        rgba(184, 94, 58, 0.03) 0%,
        rgba(139, 69, 19, 0.03) 100%
    );
    border-radius: 50%;
    z-index: 0;
}

/* Publication Title */
.publication-title {
    font-size: 1.5rem;
    line-height: 1.4;
    color: #2c3e50;
    letter-spacing: -0.02em;
}

.publication-title .text-primary {
    color: #b85e3a !important;
    font-weight: 800;
}

/* Bengali Text */
.bengali-text {
    font-family: "Noto Sans Bengali", "Hind Siliguri", "Arial", sans-serif;
    font-size: 1.6rem;
    line-height: 1.3;
    color: #2c3e50;
}

/* Publication Subtitle */
.publication-subtitle {
    font-size: 1rem;
    color: #666;
    border-left: 3px solid #b85e3a;
    padding-left: 15px;
    margin-left: 5px;
}

/* List Items */
.publication-list .list-item {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

.publication-list .list-item:last-child {
    border-bottom: none;
}

.bullet-icon {
    width: 24px;
    text-align: center;
}

.bullet-icon i {
    font-size: 1.1rem;
}

.bullet-icon .fa-check-circle {
    color: #b85e3a !important;
}

.bullet-icon .fa-images,
.bullet-icon .fa-book {
    color: #b85e3a !important;
}

.list-text {
    color: #2c3e50;
    font-size: 1rem;
}

/* View Links */
.view-link a {
    color: #b85e3a;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.view-link a:hover {
    color: #8b4513;
}

.view-link a i {
    transition: transform 0.3s ease;
}

.view-link a:hover i {
    transform: translateX(5px);
}

/* Bottom Dotted Line */
.bottom-line {
    position: relative;
}

.dotted-line {
    border-bottom: 2px dotted #b85e3a;
    opacity: 0.3;
    width: 100px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .publication-title {
        font-size: 1.3rem;
    }

    .bengali-text {
        font-size: 1.4rem;
    }

    .list-text {
        font-size: 0.95rem;
    }

    .view-link {
        margin-left: 10px;
    }
}

@media (max-width: 576px) {
    .publication-card {
        padding: 10px;
    }

    .list-item {
        flex-wrap: wrap;
    }

    .view-link {
        margin-left: 37px;
        margin-top: 5px;
        width: 100%;
    }
}

.video-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 51, 0.15);
}

.video-card:hover .video-play-icon i {
    transform: scale(1.1);
    transition: transform 0.3s;
}

.video-play-icon i {
    transition: transform 0.3s;
}

.nav-pills .nav-link {
    color: #333;
    border-radius: 50px;
    padding: 10px 20px;
    margin: 0 5px;
}

.nav-pills .nav-link.active {
    background-color: #006633;
    color: white;
}

.nav-pills .nav-link i {
    margin-right: 5px;
}

/* Loading animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.fa-spinner {
    animation: spin 2s linear infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-pills {
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-pills .nav-link {
        width: 100%;
        text-align: center;
    }
}

/********************** Footer**********************/

/* Footer Styles - Green + Red Combination */
.footer {
    background: linear-gradient(135deg, #2e7d32 0%, #c62828 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Optional overlay pattern */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.03) 0px,
        rgba(255, 255, 255, 0.03) 10px,
        transparent 10px,
        transparent 20px
    );
    pointer-events: none;
}

.footer-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffffff);
    border-radius: 2px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* Social Links */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #ffd700;
    color: #2e7d32;
    transform: translateY(-3px);
}

/* Footer Links */
.footer-links li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: #ffd700;
    transform: translateX(5px);
}

.footer-links li i {
    color: #ffd700;
    font-size: 0.8rem;
}

/* Contact Info */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact li i {
    color: #ffd700;
    font-size: 1.2rem;
    margin-top: 3px;
}

/* Newsletter Form */
.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 12px 15px;
    border-radius: 8px 0 0 8px;
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffd700;
    box-shadow: none;
    outline: none;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.btn-subscribe {
    background: #ffd700;
    color: #2e7d32;
    border: none;
    padding: 12px 20px;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background: #ffffff;
    color: #c62828;
}

/* Copyright Bar */
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}
.copyright-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.visit-counter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.95rem;
}
.visit-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
    .copyright-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .visit-counter {
        justify-content: flex-end;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 8px 0;
    }

    .navbar-shell {
        border-radius: 30px;
        padding: 12px 14px;
        min-height: auto;
        gap: 10px;
    }

    .main_logo {
        width: 72px;
        height: 72px;
    }

    .navbar .navbar-collapse {
        margin-top: 0.8rem;
        width: 100%;
    }

    .navbar .navbar-nav {
        align-items: flex-start !important;
        gap: 0.55rem;
        width: 100%;
    }

    .nav-menu-list .nav-item {
        width: 100%;
    }

    .nav-link-pill {
        width: 100%;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .lang-dropdown .lang-toggle {
        width: 100%;
        justify-content: center;
    }

    .lang-dropdown .lang-menu {
        width: 100%;
    }

    .cta {
        width: 100%;
    }

    .footer-title {
        margin-top: 20px;
    }

    .footer .row.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* Optional: Different gradient variations */

/* Variation 1: Diagonal split */
.footer-variation-1 {
    background: linear-gradient(
        45deg,
        #2e7d32 0%,
        #2e7d32 50%,
        #c62828 50%,
        #c62828 100%
    );
}

/* Variation 2: Vertical split */
.footer-variation-2 {
    background: linear-gradient(
        to right,
        #2e7d32 0%,
        #2e7d32 40%,
        #c62828 60%,
        #c62828 100%
    );
}

/* Variation 3: Radial gradient */
.footer-variation-3 {
    background: radial-gradient(circle at 20% 50%, #2e7d32, #c62828);
}

/* Variation 4: Striped */
.footer-variation-4 {
    background: repeating-linear-gradient(
        45deg,
        #2e7d32,
        #2e7d32 20px,
        #c62828 20px,
        #c62828 40px
    );
}

/***** Video Gallery ******/

.card-grid-wrapper {
    width: 100%;
}

/* card styling: crisp, elevated, with smooth hover */
.yt-card {
    border: none;
    border-radius: 24px;
    background: #ffffff;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.08),
        0 4px 10px rgba(0, 0, 0, 0.02);
    transition:
        transform 0.2s ease,
        box-shadow 0.3s ease;
    height: 100%;
    overflow: hidden;
    backdrop-filter: blur(2px);
}

.yt-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 28px 45px rgba(0, 0, 0, 0.12),
        0 10px 18px rgba(0, 0, 0, 0.06);
}

/* thumbnail area — makes the "video" pop */
.thumbnail-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: #1a1a1a;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.yt-card:hover .thumbnail-bg {
    transform: scale(1.03);
}

/* fake play button overlay (subtle, yet YouTube) */
.play-overlay {
    position: absolute;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff0000;
    font-size: 1.5rem;
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.yt-card:hover .play-overlay {
    opacity: 1;
}

/* duration badge (like YouTube) */
.duration-badge {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* channel area */
.channel-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b6b6b, #3d3d3d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.channel-name {
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.1s;
}
.channel-name:hover {
    color: #0a58ca;
    text-decoration: underline;
}

.meta-info {
    font-size: 0.85rem;
    color: #5f5f5f;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.verify-badge {
    color: #606060;
    font-size: 0.7rem;
    margin-left: 4px;
}

.trend-icon {
    color: #ff4d4d;
}

/* responsive fine tuning */
@media (max-width: 768px) {
    .card-title {
        font-size: 1rem;
    }
}

/* extra glow for "eye-catching" */
.section-header {
    margin-bottom: 2.5rem;
}
.section-header h2 {
    font-weight: 700;
    background: linear-gradient(130deg, #212529, #ff3b3b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    letter-spacing: -0.5px;
    border-left: 6px solid #ff0000;
    padding-left: 1rem;
}
