/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */

:root {
    --primary-orange: #f26e21; /* Matches the button and logo orange */
    --hover-orange: #d95d18;
    --dark-bg: #1c2127;
    --card-dark: #23282f;
    --light-gray: #f8f9fa;
    --text-gray: #9ba0a6;
    --success-green: #28a745;
    --light-green: #eaf6ec;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Typography for Bengali */
.bengali-font {
    font-family: 'Hind Siliguri', sans-serif;
    line-height: 1.3;
}

/* Custom Colors */
.text-primary-orange { color: var(--primary-orange) !important; }
.bg-primary-orange { background-color: var(--primary-orange) !important; }
.text-gray { color: var(--text-gray) !important; }
.bg-light-gray { background-color: var(--light-gray) !important; }
.bg-card-dark { background-color: var(--card-dark) !important; }
.bg-light-green { background-color: var(--light-green) !important; }
.border-orange { border-color: var(--primary-orange) !important; }

/* Buttons */
.btn-primary-orange {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    transition: all 0.3s ease;
}

.btn-primary-orange:hover {
    background-color: var(--hover-orange);
    border-color: var(--hover-orange);
    color: white !important;
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: translateY(-2px);
}

/* Utilities */
.line-height-lg { line-height: 1.8; }
.tracking-wide { letter-spacing: 2px; }
.transition-all { transition: all 0.3s ease; }
.hover-color:hover { filter: none !important; opacity: 1 !important; }
.hover-orange:hover { color: var(--primary-orange) !important; }
.hover-bg-orange:hover { background-color: var(--primary-orange) !important; color: white !important; }

/* ==========================================================================
   Section Specific Styles
   ========================================================================== */

/* Navbar */
.navbar .nav-link {
    color: #555;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover, .navbar .nav-link.active {
    color: var(--primary-orange);
}

/* Hero Section */
.hero-section {
	position: relative;
	padding-bottom: 0;
	height: clamp(730px, 78vh, 900px);
	min-height: 900px;
	max-height: 900px;
	overflow: hidden !important;
}
#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    height: 100%;
}
#heroCarousel {
    position: relative;
    z-index: 1;
    max-height: none;
    overflow: hidden !important;
}
@media (max-width: 1599.98px) {
    .hero-section {
        height: 730px;
        min-height: 730px;
        max-height: 730px;
    }
}
@media (max-width: 991.98px) {
.hero-section {
	height: 560px;
    min-height: 520px;
    max-height: 600px;
}
}
@media (max-width: 767.98px) {
.hero-section {
	height: 78vh;
    min-height: 560px;
    max-height: 720px;
}
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 175, 75, 0.4) 0%, rgba(242, 110, 33, 0.1) 100%);
    z-index: 0;
    /* Creating the curved bottom effect */
    border-bottom-left-radius: 50% 15%;
    border-bottom-right-radius: 50% 15%;
}

.hero-title {
    font-size: 3.5rem;
    color: #4a2c0f !important; /* Dark brown honey vibe */
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #6a441e !important;
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.4rem; }
}

/* Our Concern */
.concern-section {
    background-color: var(--dark-bg);
}

.concern-card {
    cursor: pointer;
}

.concern-card:hover, .concern-card.active-card {
    border-color: var(--success-green) !important;
}

.concern-card:hover h5, .concern-card.active-card h5 {
    color: white !important;
}

/* About Us Section */
.about-section .badge {
    font-size: 0.85rem;
}
.about-home-stats {
    align-items: stretch;
    height: auto;
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .about-home-stats {
        align-items: center;
    }
}
@media (min-width: 992px) {
    .about-home-stats {
        height: 25%;
    }
}
@media (max-width: 767.98px) {
    .about-home-media > .about-home-col {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
    .about-home-stats {
        align-items: center;
        width: 100%;
    }
}

/* Trusted Brands */
.grayscale {
    filter: grayscale(100%);
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    position: relative;
}

/* FAQs */
.faq-columns {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
	align-items: start;
	width: min(100%);
	margin-left: auto;
	margin-right: auto;
}
.faq-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}
.faq-columns .accordion-item {
    margin-bottom: 0;
}
.faq-columns .accordion-button {
    white-space: normal;
    text-align: left;
    line-height: 1.45;
    box-shadow: none;
}
.faq-columns .accordion-button:focus {
    box-shadow: none;
}
@media (min-width: 768px) {
    .faq-columns {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }
}

.accordion-button:not(.collapsed) {
    color: var(--primary-orange);
    background-color: #fff;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

/* Blog */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

/* Footer */
.footer-logo {
    filter: brightness(0) invert(1);
}
.footer-links li {
    margin-bottom: 10px;
}

/* Custom Hero Slider Indicators */
.custom-indicator {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.4);
    transition: background-color 0.3s ease;
    cursor: pointer;
}
.custom-indicator:hover, .custom-indicator.active {
    background-color: white !important;
}

/* Mobile Navigation Full Screen */
@media (max-width: 991.98px) {
    #navbarNav.offcanvas {
        background-color: #fff;
        color: #1a202c;
    }
    #navbarNav .offcanvas-header {
        border-color: rgba(26, 32, 44, 0.12) !important;
    }
    #navbarNav .offcanvas-body {
        padding: 1.25rem 1.5rem 1.5rem;
        justify-content: flex-start;
    }
    #navbarNav .mobile-nav-links {
        width: 100%;
        gap: 0.15rem;
        margin-top: 0.5rem;
    }
    #navbarNav .mobile-nav-links .nav-link {
        font-size: 1.2rem;
        font-weight: 600;
        color: #1a202c !important;
        padding: 0.7rem 0;
        transition: color 0.2s ease;
    }
    #navbarNav .mobile-nav-links .nav-link:hover,
    #navbarNav .mobile-nav-links .nav-link.active {
        color: var(--primary-orange) !important;
    }
    #navbarNav .mobile-menu-cta {
        margin-top: 1.75rem;
        width: 100%;
        letter-spacing: 0.08em;
    }
    html.theme-dark #navbarNav.offcanvas {
        background-color: var(--dark-bg);
        color: #fff;
    }
    html.theme-dark #navbarNav .offcanvas-header {
        border-color: rgba(255, 255, 255, 0.12) !important;
    }
    html.theme-dark #navbarNav .mobile-nav-links .nav-link {
        color: #fff !important;
    }
    html.theme-dark #navbarNav .mobile-nav-links .nav-link:hover,
    html.theme-dark #navbarNav .mobile-nav-links .nav-link.active {
        color: var(--primary-orange) !important;
    }
    html.theme-dark #navbarNav .btn-close {
        filter: invert(1) grayscale(100%) brightness(200%);
    }
    body:has(#navbarNav.show) .dark-mode-toggle {
        opacity: 0;
        pointer-events: none;
    }
}

/* Floating Animation */
@keyframes floatUpDown {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}
.floating-element {
    animation: floatUpDown 3s ease-in-out infinite;
}

/* Marquee Slider */
.marquee-wrapper {
    mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
}

.marquee-content {
    animation: scrollMarquee 20s linear infinite;
    width: max-content;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
}

.marquee-content:hover {
    animation-play-state: paused;
}

/* Shared page hero (inner pages) */
.page-hero-section,
.about-hero-section {
    background-size: cover;
    background-position: center;
}

/* Shared responsive image helpers */
.faq-side-img,
.testimonial-side-img,
.vision-img {
    width: 100%;
    object-fit: cover;
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1.15rem; }
    .section-title { font-size: 1.6rem; }
    .navbar.rounded-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
    .testimonial-card { padding: 20px; }
}

@media (min-width: 768px) {
    .border-md-end {
        border-right: 2px solid #dee2e6 !important;
    }
}


.product-card{
    background:#242930;
    border-radius:22px;
    overflow:hidden;
    transition:.35s;
    border:1px solid rgba(255,255,255,.05);
    height:100%;
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,.35);
}

.product-thumb{
    background:#fff;
    height:240px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:30px;
}

.product-thumb img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.product-content{
    padding:30px;
}

.product-title {
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 15px;
}
.product-description{
    color:#a5aab2;
    line-height:1.8;
    margin-bottom:25px;
}

.product-badge{
    background:#17a86b;
    color:#fff;
    font-size:13px;
    padding:8px 16px;
}

.product-card .btn{
    align-self:flex-start;
    padding:8px 16px !important;
    font-size:0.85rem;
    font-weight:600;
    line-height:1.2;
}
.product-badge {
	background: #22594c;
	color: #fff;
	font-size: 13px;
	padding: 8px 16px;
	position: absolute;
	bottom: -13px;
	border: 1px solid #1f523f;
}
.product-thumb {
	position: relative;
}
.brand-item {
	border: 1px solid #cccccc80;
}
.brand-item img {
	height: 90%;
	object-fit: contain;
	max-width: 100%;
	opacity: 1 !important;
}


.certification-card {
  padding: 0 !important;
  height: auto !important;
}
.certification-card img {
  margin: 0 !important;
}
.certification-card h5 {
  background: #F26522;
  padding: 10px;
  color: #fff;
}
.py-5.bg-orange-gray {
	background: #f265221f;
}

/* Homepage hero video: fills the hero, stop/play sits in the left corner */
.hero-video-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}
.hero-video-wrap video,
.hero-yt-crop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    pointer-events: none;
}
.hero-yt-crop {
    overflow: hidden;
}
.hero-yt-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: opacity .35s ease;
}
.hero-yt-crop iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    transform: none !important;
    border: 0;
    pointer-events: none;
    opacity: 0;
}
.hero-video-wrap.is-playing .hero-yt-crop iframe {
    top: 50% !important;
    left: 50% !important;
    width: auto !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: 16 / 9;
    transform: translate(-50%, -50%) !important;
    transform-origin: center center !important;
    opacity: 1;
}
@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
    .hero-video-wrap.is-playing .hero-yt-crop iframe {
        --yt-scale: 80;
        --yt-overscan: 1.2;
        width: calc(var(--yt-scale) * var(--yt-overscan) * 100%) !important;
        height: calc(var(--yt-scale) * var(--yt-overscan) * 100%) !important;
        min-width: 0 !important;
        min-height: 0 !important;
        aspect-ratio: auto;
        left: calc((1 - var(--yt-overscan)) / 2 * 100%) !important;
        top: calc((1 - var(--yt-overscan)) / 2 * 100%) !important;
        transform: scale(calc(1 / var(--yt-scale))) !important;
        transform-origin: 0 0 !important;
    }
}
.hero-video-wrap.is-playing .hero-yt-poster {
    opacity: 0;
}
.hero-slide-video::cue,
video.hero-slide-video::-webkit-media-text-track-container,
video.hero-slide-video::-webkit-media-text-track-display {
    display: none !important;
    opacity: 0 !important;
}
.hero-video-toggle {
    position: absolute;
    left: 1.25rem;
    bottom: 1.5rem;
    top: auto;
    z-index: 5;
    width: 76px;
    height: 76px;
    border: 0;
    border-radius: 50%;
    background: rgba(21, 21, 21, 0.72);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.hero-video-toggle i {
    font-size: 1.25rem;
    line-height: 1;
}
.hero-video-toggle span {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.hero-video-toggle:hover,
.hero-video-toggle:focus-visible {
    background: var(--primary-orange);
    color: #fff;
    outline: none;
}
@media (max-width: 991.98px) {
    .hero-video-toggle {
        left: 1rem;
        bottom: 1.15rem;
        width: 68px;
        height: 68px;
    }
}
@media (max-width: 767.98px) {
    .hero-video-toggle {
        left: 0.75rem;
        bottom: 0.75rem;
        width: 60px;
        height: 60px;
    }
    .hero-video-toggle i { font-size: 1rem; }
    .hero-video-toggle span { font-size: 0.58rem; }
}

/* Sticky public dark-mode switch */
.dark-mode-toggle {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 0;
    border-radius: 999px;
    padding: 0.72rem 1rem;
    background: #151515;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}
.dark-mode-toggle:hover,
.dark-mode-toggle:focus-visible {
    background: var(--primary-orange);
    color: #fff;
    outline: none;
}
html.theme-dark .dark-mode-toggle {
    background: #f4f5f7;
    color: #151515;
}
html.theme-dark .dark-mode-toggle:hover,
html.theme-dark .dark-mode-toggle:focus-visible {
    background: var(--primary-orange);
    color: #fff;
}

/* Public site dark theme. Existing dark blocks (footer, product cards, heroes) stay as they are. */
html.theme-dark {
    color-scheme: dark;
}
html.theme-dark body {
    background-color: #121418 !important;
    color: #e6e8eb !important;
}
html.theme-dark .bg-white:not(.brand-item):not(.product-thumb),
html.theme-dark .bg-light,
html.theme-dark .bg-light-gray,
html.theme-dark .bg-orange-gray,
html.theme-dark .card,
html.theme-dark .card-body,
html.theme-dark .accordion-item,
html.theme-dark .accordion-button,
html.theme-dark .accordion-body,
html.theme-dark .testimonial-card,
html.theme-dark .navbar.bg-white,
html.theme-dark article,
html.theme-dark .leader-profile,
html.theme-dark .leader-info,
html.theme-dark .leadership-card,
html.theme-dark .md-ceo-card,
html.theme-dark .form-control,
html.theme-dark .form-select,
html.theme-dark .list-group-item,
html.theme-dark .contact-form-card,
html.theme-dark .contact-chip-green,
html.theme-dark .contact-chip-blue,
html.theme-dark .career-card,
html.theme-dark .career-detail-card,
html.theme-dark .career-apply-card,
html.theme-dark .brand-detail-section,
html.theme-dark .timeline-section,
html.theme-dark .timeline-badge,
html.theme-dark .timeline-card {
    background-color: #1c2127 !important;
    color: #e6e8eb !important;
    border-color: #2e353d !important;
}
html.theme-dark .testimonial-section-bg {
	background: #1c2127 !important;
}


html.theme-dark .brand-item,
html.theme-dark .product-thumb {
    background-color: #fff !important;
}
html.theme-dark .leader-photo-wrap,
html.theme-dark .accordion-button:not(.collapsed) {
    background-color: #23282f !important;
    color: #e6e8eb !important;
}
html.theme-dark .text-dark,
html.theme-dark .text-secondary,
html.theme-dark .text-muted,
html.theme-dark .navbar .nav-link,
html.theme-dark .leader-info h5,
html.theme-dark .leader-info p,
html.theme-dark h1,
html.theme-dark h2,
html.theme-dark h3,
html.theme-dark h4,
html.theme-dark h5,
html.theme-dark h6,
html.theme-dark p,
html.theme-dark li,
html.theme-dark label,
html.theme-dark .form-label,
html.theme-dark .text-dark  {
    color: #e6e8eb !important;
}
html.theme-dark  .navbar-brand img{
   filter: brightness(0) invert(1) !important;
}


html.theme-dark .text-white,
html.theme-dark .text-white-50,
html.theme-dark .footer,
html.theme-dark .footer h5,
html.theme-dark .footer p,
html.theme-dark .footer li,
html.theme-dark .concern-section,
html.theme-dark .concern-section h2,
html.theme-dark .concern-section p,
html.theme-dark .product-title,
html.theme-dark .product-description,
html.theme-dark .page-hero-section,
html.theme-dark .page-hero-section h1,
html.theme-dark .about-hero-section,
html.theme-dark .about-hero-section h1,
html.theme-dark .btn,
html.theme-dark .btn-primary-orange,
html.theme-dark .badge {
    color: inherit;
}
html.theme-dark .text-white,
html.theme-dark .page-hero-section .text-white,
html.theme-dark .about-hero-section .text-white,
html.theme-dark .concern-section .text-white,
html.theme-dark .footer .text-white,
html.theme-dark .btn-primary-orange,
html.theme-dark .btn.text-white {
    color: #fff !important;
}
html.theme-dark .text-white-50,
html.theme-dark .footer .text-gray,
html.theme-dark .product-description {
    color: #a5aab2 !important;
}
html.theme-dark .navbar .nav-link:hover,
html.theme-dark .navbar .nav-link.active,
html.theme-dark .text-primary-orange,
html.theme-dark a.text-primary-orange {
    color: var(--primary-orange) !important;
}
html.theme-dark .nav-pills.custom-pills .nav-link {
    background-color: #1c2127 !important;
    color: #e6e8eb !important;
    border-color: #3a424c !important;
}
html.theme-dark .nav-pills.custom-pills .nav-link.active,
html.theme-dark .nav-pills.custom-pills .show > .nav-link {
    background-color: #fd7e14 !important;
    color: #fff !important;
    border-color: #fd7e14 !important;
}
html.theme-dark .form-control,
html.theme-dark .form-select,
html.theme-dark textarea.form-control {
    background-color: #121418 !important;
    color: #e6e8eb !important;
}
html.theme-dark .form-control::placeholder {
    color: #8b939c;
}
html.theme-dark .badge.bg-light,
html.theme-dark .bg-danger-subtle {
    background-color: #2a3138 !important;
    color: #e6e8eb !important;
    border-color: #3a424c !important;
}
html.theme-dark [style*="color: #1a202c"],
html.theme-dark [style*="color:#1a202c"],
html.theme-dark [style*="color: #212529"],
html.theme-dark [style*="color:#212529"] {
    color: #e6e8eb !important;
}
html.theme-dark [style*="background-color: #fff"],
html.theme-dark [style*="background-color:#fff"],
html.theme-dark [style*="background: #fff"],
html.theme-dark [style*="background:#fff"],
html.theme-dark [style*="background-color: #ffffff"],
html.theme-dark [style*="background-color:#ffffff"],
html.theme-dark [style*="background-color: #f8fafc"],
html.theme-dark [style*="background-color:#f8fafc"],
html.theme-dark [style*="background-color: #fffaf5"],
html.theme-dark [style*="background-color:#fffaf5"],
html.theme-dark [style*="background-color: #f8f9fa"],
html.theme-dark [style*="background-color: #E6F8F6"],
html.theme-dark [style*="background-color: #EFF5FF"] {
    background-color: #1c2127 !important;
    color: #e6e8eb !important;
}
html.theme-dark .border-md-end {
    border-color: #3a424c !important;
}
@media (max-width: 575.98px) {
    .dark-mode-toggle span { display: none; }
    .dark-mode-toggle { padding: 0.8rem; }
}
a {
	color: rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));
	text-decoration: none;
}