/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #f8a51e;
    --secondary-color: #2995cb;
    --text-color: #333;
    --bg-light-gray: #f8f9fa;
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    color: var(--text-color);
    position: relative;
    background-color: #fff;
}

/* --- Helper Classes --- */
.bg-primary-color { background-color: var(--primary-color) !important; }
.text-primary-color { color: var(--primary-color) !important; }
.bg-secondary-color { background-color: var(--secondary-color) !important; }
.text-secondary-color { color: var(--secondary-color) !important; }
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    padding: 10px 25px;
    font-weight: 600;
}
.btn-primary:hover {
    background-color: #e0941a;
    border-color: #e0941a;
    color: #fff;
}
.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    padding: 10px 25px;
    font-weight: 600;
}
.btn-secondary:hover {
    background-color: #2383b3;
    border-color: #2383b3;
    color: #fff;
}
.section-title {
    font-weight: 700;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
}
.section-title.text-start::after {
    left: 0;
    transform: translateX(0);
}
.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* --- Navbar --- */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    padding: 0.8rem 1rem;
}
.navbar-brand img {
    max-height: 50px;
}
.navbar .nav-link {
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
}
.navbar .nav-link:hover, .navbar .nav-link.active, .navbar .dropdown-item:hover, .navbar .dropdown-item.active {
    color: var(--primary-color);
}
.dropdown-menu {
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.dropdown-item {
    font-weight: 500;
}

/* --- Hero Section with Video --- */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.hero-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

/* --- Sections --- */
section {
    padding: 80px 0;
}
#about, #media, #contact, #products.bg-light {
    background-color: var(--bg-light-gray);
}

/* --- Page Header for Sub-pages --- */
.page-header {
    padding: 100px 0 60px 0;
    background-color: var(--secondary-color);
    color: white;
    margin-top: 76px; /* Adjust for fixed navbar height */
    text-align: center;
}
.page-content-inner {
    padding: 80px 0;
}

/* --- Product Card --- */
.product-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #fff;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.product-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.product-card .card-body {
    padding: 1.5rem;
    text-align: center;
}

/* --- Career Page --- */
.accordion-button {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
}
.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: var(--secondary-color);
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(41, 149, 203, 0.25);
}
.accordion-body {
    background-color: #fdfdfd;
}
.career-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.career-card form .form-label {
    font-weight: 500;
}

/* --- Contact Page --- */
.contact-info i {
    font-size: 1.5rem;
}
.contact-info h5 {
    color: var(--secondary-color);
}
.contact-page .career-card {
    background-color: #fff;
    padding: 2rem;
}
iframe {
    border-radius: 10px;
    border: 0;
}

/* --- Media Page Gallery --- */
.nav-tabs .nav-link {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.2rem;
}
.nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-color: var(--primary-color) var(--primary-color) #fff;
}
.gallery-img {
    cursor: pointer;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.modal-content {
    background-color: transparent;
    border: none;
}
.modal-header {
    border-bottom: none;
}
.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 1;
}

/* --- Multi-item Carousel --- */
.multi-carousel-container {
    position: relative;
    padding: 0px; /* Space for buttons */
}
.carousel-wrapper {
    overflow: hidden;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.carousel-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
.carousel-items {
    display: flex;
    transition: transform 0.5s ease;
}
.carousel-item-custom {
    flex: 0 0 100%;
    padding: 0 10px;
    box-sizing: border-box;
}
.carousel-item-custom img {
    width: 100%;
    height: auto;
    border-radius: 0px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    aspect-ratio: 16 / 9;
    object-fit: contain;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}
.carousel-btn:hover {
    background-color: #fff;
}
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

/* --- Footer --- */
.footer {
    background-color: #222;
    color: #ccc;
    padding: 50px 0 0 0;
}
.footer h5 {
    color: var(--primary-color);
    margin-bottom: 20px;
}
.footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}
.footer a:hover {
    color: #fff;
}
.footer .social-icons a {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #ccc;
}
.footer .social-icons a:hover {
    color: var(--primary-color);
}
.footer .bottom-bar {
    border-top: 1px solid #444;
    padding: 20px 0;
    margin-top: 30px;
}
.footer-logo {
    max-height: 60px; 
    background: white; 
    border-radius: 5px; 
    padding: 5px;
}

/* --- Scroll to Top Button --- */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 1030;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.scroll-top-btn:hover {
    background-color: #e0941a;
    color: white;
}
/* --- Responsive Adjustments --- */
@media (min-width: 768px) {
    .carousel-item-custom { flex: 0 0 calc(100% / 3); }
    
}
@media (min-width: 576px) and (max-width: 767.98px) {
    .carousel-item-custom { flex: 0 0 50%; }
}
@media (max-width: 991.98px) {
    .navbar-nav {
        background-color: #fff;
        padding: 1rem;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
}

@media (max-width: 767.98px) {
    .col-sm-6 {
        flex: 0 0 auto;
        width: 50%;
    }
    section, .page-content-inner {
        padding: 60px 15px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-section {
        height: 70vh;
    }
    .page-header {
        padding: 80px 0 40px 0;
    }
    .page-header h1 {
        font-size: 2.8rem;
    }
    .contact-info {
        margin-bottom: 3rem;
    }
    .multi-carousel-container {
        padding: 0;
    }
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .carousel-btn.prev { left: 5px; }
    .carousel-btn.next { right: 5px; }
}