@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400&display=swap');

* {
  font-family: 'Rubik', sans-serif;
}


.navbar {
    background: black!important;
    padding: 0.8rem 1rem;
    z-index: 10;
    position: fixed; /* overlay on video */
    width: 100%;
  }

  .navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
  }

  .navbar-nav .nav-link:hover {
    color: #d32f2f !important;
  }

  

  .navbar-brand img {
    height: 35px;
    width: 200px;
  }

  .custom-navbar .nav-link {
  color: white !important;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.custom-navbar .nav-link:hover {
  color: #d32f2f !important;
}

/* Contact button styling */
.contact-btn {
  background-color: #a32a2a;
  color: white;
  border-radius: 50px;
  padding: 8px 10px;
  font-weight: 600;
  border: none;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #d32f2f;
}




@media (max-width: 992px) {
  .custom-navbar {
    background-color: black!important; 
  }

  .custom-navbar .navbar-collapse {
    background-color: black;
    border-radius: 10px;
    margin-top: 10px;
    padding: 15px 0;
  }

  .custom-navbar .nav-link {
    color: white !important;
  }

  .custom-navbar .nav-link:hover {
    color: #d32f2f !important;
  }

  
}


@media (max-width: 1400px) {
  .navbar-nav {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.3rem; 
  }

  .navbar .contact-btn {
    padding: 6px 14px;
    font-size: 0.9rem;
  }

  .navbar-brand img {
    height: 40px; 
  }
  

  
}


@media (max-width: 992px) {
  .navbar-nav {
    flex-direction: column !important;
    align-items: center;
  }
}

/* Base nav links */
.navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  margin: 0 5px;
  padding: 6px 16px;
  border-radius: 20px; 
  transition: all 0.3s ease;
}


.navbar-nav .nav-link:hover {
  background-color: #a32a2a; 
  color: #fff !important;
}


.navbar-nav .nav-link.active {
  background-color: #a32a2a;
  color: white !important;
}


.custom-navbar.scrolled {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}


.custom-navbar.menu-open {
  background-color: black !important;
}


.custom-navbar {
  transition: background-color 0.35s ease;
}




/* Mega Menu Base */
/* Base position */
.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 600px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.35s ease;
  z-index: 999;
}

/* Show on hover (desktop only) */
@media (min-width: 769px) {
  .nav-item.dropdown:hover .mega-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Headings and items */
.mega-heading {
  margin-bottom: 10px;
  color: #9A221B;
}

.mega-menu ul li {
  color: #111;
  margin-bottom: 6px;
  cursor: pointer;
  transition: color 0.25s ease;
}

.mega-menu ul li:hover {
  color: #d32f2f;
}

/* ✅ Mobile view */
@media (max-width: 768px) {
  .mega-menu {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none; 
    background: rgba(255, 255, 255, 0.98);
    margin-top: 10px;
  }

  .mega-menu.show {
    display: block; 
  }

  .mega-menu .row {
    flex-direction: column;
  }

  .mega-menu .col-12 {
    margin-bottom: 15px;
  }
}

/* Submenu hidden initially */
.cd-submenu {
  display: none;
  margin-left: 15px;
  padding-top: 5px;
  
}

/* Toggle layout */
.cd-toggle {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cd-toggle i {
  transition: transform 0.3s ease;
}

/* When open */
.cd-dropdown.open .cd-submenu {
  display: block;
}

.cd-dropdown.open .cd-toggle i {
  transform: rotate(180deg);
}

.cd-submenu li a {
  color: #333;        /* normal text color */
  text-decoration: none;  /* remove underline */
  font-size: 0.95rem;
}

.cd-submenu li a:hover {
  color: #9A221B;     /* hover color */
}

@media (max-width: 768px) {
  .navbar-collapse {
    max-height: 80vh; 
    overflow-y: auto; 
    scrollbar-width: thin; 
  }
 
  .mega-menu ul li {
    text-align: center !important;
  }



  /* Optional: smooth scroll inside dropdown */
  .mega-menu {
    max-height: 60vh;
    overflow-y: auto;
  }
}
.contact-btn {
  background-color: #a32a2a;
  color: white;
  border-radius: 50px;
  padding: 8px 10px;
  font-weight: 600;
  border: none;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color:#d32f2f;
}

  .navbar-nav 
  .contact-btn {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  }

  .contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #9A221B;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: #7b1915;
}

.circle-arrow {
  background: #fff;
  color: #9A221B;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}





/* ================= Product Details Section ================= */
.product-details-section {
  background-color:white;
  color: black;
  padding-top: 120px;
}

/* Larger Image */
.product-image-container {
  position: relative;
  justify-content: center;
  display:flex;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
}

.product-image {
  justify-content: center;
  height: 250px;
  object-fit: cover; 
  border-radius: 15px;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* .product-image:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
} */

.product-description {
  margin-top: 15px;
}
.btn-danger {
  background-color: #9A221B;
  border: none;
  border-radius: 30px;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.btn-danger:hover {
 background-color: #b91d1d;
  transform: translateY(-2px);
}


.btn-download {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: #9A221B;
  color: #fff;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-download:hover {
  background-color: #b91d1d;
  transform: translateY(-2px);
}


@media (max-width: 768px) {
 .product-image-container {
    position: static;
    text-align: center;
    display: block;
  }

  .btn-download {
    position: static;
    margin-top: 10px;
    display: inline-block;
  }

  .product-image {
    height: auto;
    max-width: 100%;
    object-fit: contain;
    padding-left: 60px;
    
  }
}

/* Product Description */
.product-description p,
.product-description li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: black;
}

.product-description h4 {
  font-size: 1.5rem;
}


.product-box {
  background-color: rgba(17, 17, 17, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}

.product-box ul li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.3s ease;
}

.product-box ul li:last-child {
  border-bottom: none;
  
}

.product-box ul li:hover {
  color: #d32f2f;
  
}


@media (max-width: 992px) {
  .product-image {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .product-details-section {
    padding-top: 100px;
    text-align: center;
  }

  .product-image {
    max-width: 90%;
    aspect-ratio: auto; 
  }

  .product-description {
    text-align: left;
    padding: 0 1rem;
  }
}



/* ---- CATEGORY CONTAINER ---- */
.category-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


/* ---- CATEGORY CARD ---- */
.category-card {
  display: flex;
  align-items: flex-start;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 6px solid #9A221B;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* ---- ICON ---- */
.category-icon {
  flex-shrink: 0;
  background: #9A221B;
  color: #fff;
  font-size: 1.8rem;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

/* ---- CONTENT ---- */
.category-content {
  flex: 1;
}

.category-title {
  font-weight: 700;
  font-size: 1.2rem;
  color: #9A221B;
  margin-bottom: 10px;
}

/* ---- SCROLLABLE PRODUCT LIST ---- */
.category-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;

  /* Enable scroll inside the box */
  max-height: 180px; 
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #9A221B #f1f1f1; 
  padding-right: 4px;
}

/* ---- Custom Scrollbar (Chrome, Edge, Safari) ---- */
.category-list::-webkit-scrollbar {
  width: 6px;
}

.category-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.category-list::-webkit-scrollbar-thumb {
  background-color: #9A221B;
  border-radius: 10px;
}

.category-list::-webkit-scrollbar-thumb:hover {
  background-color: #7a1915;
}

/* ---- LIST ITEMS ---- */
.category-list li {
  color: #333;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
  transition: color 0.3s ease;
  cursor: pointer;
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list li:hover {
  color: #9A221B;
}

.category-link {
  text-decoration: none;
  color: #333;
  display: block;
}

.category-link:hover {
  color: #9A221B;
}


/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .category-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-left: none;
    border-top: 5px solid #9A221B;
  }

  .category-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }

  /* On mobile, allow full expansion (no scroll cut-off) */
  .category-list {
    max-height: none;
    overflow-y: visible;
  }
}


/* Dropdown Container */
.dropdown-category {
  position: relative;
}

/* Toggle text */
.dropdown-toggle-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

/* Arrow animation */
.dropdown-toggle-list i {
  transition: transform 0.3s ease;
}

/* Subcategory list initially hidden */
.subcategory-list {
  list-style: none;
  padding-left: 15px;
  margin-top: 6px;

  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.35s ease;
}

/* When opened */
.subcategory-list.active {
  max-height: 400px;
  opacity: 1;
}

/* Submenu styling */
.subcategory-list li {
  padding: 4px 0;
  border-bottom: none !important;
}

.subcategory-link {
  color: #444;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  text-decoration: none;
}

.subcategory-link:hover {
  color: #9A221B;
}

/* Rotate arrow */
.dropdown-category.open .dropdown-toggle-list i {
  transform: rotate(180deg);
}

@media (max-width: 768px) {

  .dropdown-toggle-list {
    justify-content: center;
    text-align: center;
  }


  .dropdown-toggle-list i {
    margin-left: 8px;
  }

 
  .subcategory-list {
    padding-left: 0;
    text-align: center;
  }
}



/* Related Products */

.related-products {
  background-color: white;
}

/* Card styling */
.related-card {
  text-align: left; 
  background-color: #fff;
  
 
}



/* Image styling */
.related-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.3s ease;
  display: block; 
}

.related-card:hover  {
  transform: scale(1.05);
}

/* Headings and text */
.related-card h5 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.related-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}
.related-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}




/* Responsive adjustments */
@media (max-width: 768px) {
  .related-products h3 {
    font-size: 1.6rem;
  }
  .related-img {
    height: 180px;
  }
}



.footer {
  background-color: #9A221B;
  color: #fff;
  position: relative;
  padding: 4rem 5%;
}


.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-logo{
 /* background-color: black; */
 width: 250px;
 height: auto;
 /* padding: 1rem; */
 border-radius: 1rem;
}

.footer-logo img {
  width: 210px;
  object-fit: cover;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex: 1;
  gap: 10rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 0.6rem;
}

.footer-links ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #ffcccb;
}

/* Social icons */
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-social a {
 
  color: #9A221B;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #9A221B;
  color: #fff;
  transform: translateY(-5px);
  
}

/* Scroll to top button */
.scroll-top {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  background-color: white;
  border: 3px solid #9A221B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-top i {
  color: #9A221B;
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.scroll-top:hover i {
  transform: translateY(-5px);
}

.scroll-top:hover {
 
  border-color: #9A221B;
}


/* Responsive */
@media (max-width: 768px) {
  .footer-links {
    flex-direction: row;
    gap: 1.5rem;
    text-align: left;
  }

  .footer-social {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 1001px){
 .footer-social{
  flex-direction: row;
 }

 .footer-logo{
  padding: 0rem;
 }
}

/* Default: show mobile logo, hide desktop logo */
.logo-mobile {
  display: block;
}

.logo-desktop {
  display: none;
}

/* Large screens and above */
@media (min-width: 992px) {
  .logo-mobile {
    display: none;
  }

  .logo-desktop {
    display: block;
  }
}

.animate-on-scroll {
    opacity: 0;
  }

  .animate-on-scroll.animated {
    opacity: 1;
  }

  .animate__animated {
    --animate-duration: 1.4s;
    animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  }


  /* Section Styling */
        .career-section {
            padding: 60px 0;
            
        }

        .career-title {
            font-size: 28px;
            font-weight: bold;
            color: #9A221B;
            margin-bottom: 20px;
        }

        .career-text {
            font-size: 16px;
            line-height: 1.7;
            color: #444;
        }

        .career-email {
            color: #c41717;
            font-weight: bold;
            text-decoration: none;
        }

        .career-email:hover {
            text-decoration: underline;
        }

        .career-img {
           
            border-radius: 10px;
            width: 100%;
            max-width: 450px;
        }

        @media (max-width: 768px) {

        
            .career-section{
                margin-left: 2.5px;
            }
            .career-img {
                margin-top: 20px;
                max-width: 100%;
            }
        }





        /* Gallary Styling */

        

        .gallery-wrapper {
            display: flex;
            height: 100vh;
            overflow: hidden;
            margin-top: 60px;
        }

        .gallery-item {
            flex: 1;
            cursor: pointer;
            position: relative;
            transition: flex 0.5s ease, padding 0.4s ease;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            text-align: center;
            padding: 25px;
            color: white;
        }

        .gallery-item h1 {
            font-size: 42px;
            font-weight: 700;
            transition: 0.4s ease;
            margin-bottom: 10px;
        }

        .gallery-item img {
            width: 220px;
            transition: 0.4s ease;
            height: auto;
        }

        /* DESCRIPTION */
        .description {
            display: none;
            margin-top: 20px;
            font-size: 18px;
            max-width: 500px;
        }

        /* --------------------------- */
        /* COLLAPSED ITEM FIX */
        /* --------------------------- */

        .collapsed {
            flex: 0.3 !important;
            padding: 10px !important;   /* ⬅ smaller padding */
            overflow: hidden;
        }

        .collapsed h1 {
            font-size: 18px !important;
            margin-bottom: 5px;
        }

        .collapsed img {
            width: 80px !important;
        }

        .collapsed .description {
            display: none !important; /* ⬅ hide description */
        }

        /* EXPANDED */
        .expanded {
            flex: 2 !important;
        }

        .expanded .description {
            display: block !important;
        }

        /* Vertical title when collapsed */
.collapsed h1 {
    transform: rotate(-90deg);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 26px !important;
    margin: 0;
    transition: 0.4s ease;
}

/* Ensure image stays below the rotated title */
.collapsed img {
    margin-top: 20px;
}

/* Expanded - reset rotation */
.expanded h1 {
    transform: rotate(0deg);
    writing-mode: horizontal-tb;
}


        /* Colors */
        #product1 { background:#D82727; }
        #product2 { background:white; color:black; }
        #product3 { background:#D82727; }
        
 #product5 { background:#F2C788; color:#442200; }
        @media (max-width: 768px) {
            .gallery-wrapper {
                flex-direction: column;
                height: auto;
            }
            

            .collapsed {
                flex: 0.5 !important;
            }
        }
 



  /* Client Styling */
  .client-tabs .nav-link {
  border-radius: 30px;
  padding: 8px 20px;
  margin: 0 5px;
  font-weight: 600;
  color: #9A221B;
  background: #f5f5f5;
}

.client-tabs .nav-link.active {
  background: #9A221B;
  color: #fff;
}

.logo-box {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-box img {
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.logo-box:hover img {
  transform: scale(1.05);
}




/* Galley Styling */

.gallery-img-large {
  height: 350px;
  width: 100%;
  object-fit: cover;
  transition: height 0.4s ease;
}

/* Small images with equal height */
.gallery-img-small {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

/* Responsive: smoothly reduce height on smaller screens */
@media (max-width: 992px) {
  .gallery-img-large {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .gallery-img-large {
    height: 220px;
  }
}

/* 🔥 Key Fix: Stack vertically between 675px → 768px */
@media (min-width: 675px) and (max-width: 768px) {
  .gallery-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}


/* Make slides equal height */
.swiper-slide {
  display: flex;
}

/* Make all cards equal height */
.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Keep Read More at bottom */
.news-card a {
  text-decoration: none;
  margin-top: auto;
}

/* Optional: same height equalization */
.news-card p {
  flex-grow: 1;
 
}

.mega-heading{
  color: #9A221B !important;
  animation: fadeDown 1s ease;
}

/* Force fixed slide width */
.myNewsSlider .swiper-slide {
    width: 320px !important;   /* FIXED WIDTH */
    height: auto;
    display: flex;
}

/* Card fills slide completely */
.myNewsSlider .news-card {
    width: 100%;
    height: 175px;             /* FIXED HEIGHT */
    display: flex;
    flex-direction: column;
}

/* Description takes remaining space */
.myNewsSlider .news-card p {
    flex-grow: 1;
    overflow: hidden;
}

/* Button always at bottom */
.myNewsSlider .news-card a {
    margin-top: auto;
    text-decoration: none;
}







/* Section Styling */
        body {
            background: #f2f4f7;
            font-family: 'Segoe UI', sans-serif;
        }

        /* Animated Heading */
        .section-title {
            font-size: 32px;
            font-weight: 600;
            color: #9A221B;
            text-align: center;
            margin-bottom: 30px;
            animation: fadeDown 1s ease;
            margin-top: 50px;
        }

        @keyframes fadeDown {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Card form styling */
        .support-card {
            background: #ffffff;
            border-radius: 12px;
            padding: 20px 25px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            border-top: 5px solid #9A221B;
        }

        /* .form-label {
            font-weight: 600;
            color: #203a64;
        }

        .form-control, .form-select {
            border-radius: 6px;
        } */

        .btn-custom {
            background: #9A221B;
            color: #fff;
            padding: 10px 25px;
            border-radius: 6px;
            transition: 0.3s;
        }
        .btn-custom:hover {
            background: #7a1b15;
        }

        .required {
            color: red;
        }

        /* FIX: Make select fully responsive */
        /* Full responsive modern select */


.responsive-select {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #c9c9c9;
    box-sizing: border-box;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5.5 7.5l4.5 4.5 4.5-4.5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    transition: 0.3s ease;
}



/* Mobile optimization */
@media (max-width: 450px) {
    .responsive-select {
        font-size: 14px;
        padding: 10px 12px;
        background-position: right 10px center;
        width: auto;
    }
}

/* Make form fully responsive on small screens */
@media (max-width: 576px) {
    .support-card {
        padding: 15px !important;
    }

    .form-label {
        font-size: 14px;
    }

    .form-control,
    .form-select {
        font-size: 14px;
        padding: 8px 10px;
    }

    .row .col-md-6,
    .row .col-md-4,
    .row .col-md-3 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 15px;
    }
}


/* Make both left & right boxes equal height */
.application-row {
  display: flex;
  align-items: stretch;
}

.application-box {
  height: 100%;
  display: flex;
  flex-direction: column;
}



/* Serstech Detail Styling */


    body {
      padding-top: 20px;
      font-family: Arial, sans-serif;
      background: #f8f9fa;
    }

    /* Product Card */
    .product-card {
      background: #fff;
      border-radius: 14px;
      padding: 25px;
      border: 1px solid #e6e6e6;
      box-shadow: 0 3px 10px rgba(0,0,0,0.08);
      transition: 0.3s ease;
    }

    .product-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    }

    .product-img {
  width: 100%;
  height: auto;       /* ⭐ No fixed height → responsive */
  max-height: 300px;  /* Limit height but keep ratio */
  object-fit: contain;
  border-radius: 10px;
}


    .product-title {
      font-size: 22px;
      color: #9A221B;
      font-weight: 700;
      margin-bottom: 10px;
    }

    /* See More link */
    .see-more {
      color: #9A221B;
      font-weight: 600;
      cursor: pointer;
      display: inline-block;
      margin-top: 5px;
    }

    /* Hidden content */
    .product-full {
      display: none;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    /* Expanded state */
    .product-card.expanded .product-full {
      display: block;
      opacity: 1;
    }

    .learn-more-btn {
  background-color: #9A221B;
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.learn-more-btn:hover {
  background-color: #7d1b15;
  color: #fff;
}


    /* Mobile Image Height */
    @media (max-width: 767px) {
  .product-img {
    max-height: 200px;
  }
}

.application-box {
    background: #fff;
    border-left: 4px solid #9A221B;
}

.app-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.app-list li {
    border-bottom: 1px solid #ddd;
}

.app-list li:last-child {
    border-bottom: none;
}

/* Make clickable items look clean */
.app-list li a {
    text-decoration: none;
    color: #000;
    display: block;
    padding: 8px 0;
    font-family: "Rubik", sans-serif;
    transition: all 0.2s ease;
}

.app-list li a:hover {
    color: #9A221B;
    font-weight: 500;
    padding-left: 5px;
}




/* Application Styling */

/* Make both left & right boxes equal height */
.application-row {
  display: flex;
  align-items: stretch;
}

.application-box {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.app-list a{
  text-decoration: none;
  color: #333;

}
.app-list a:hover {
  color:#9A221B /* change to your desired hover color */
}





/* Lab Services */
    

      .lab-heading {
          text-align: center;
          font-size: 38px;
          font-weight: 700;
          color: #9A221B;
          animation: fadeDown 1s ease;
          margin-bottom: 40px;
      }
       @keyframes fadeDown {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }

      /* POSTER WRAPPER */
      .poster-card {
          position: relative;
          border-radius: 16px;
          overflow: hidden;
          box-shadow: 0 8px 25px rgba(0,0,0,0.12);
          background: #fff;
          transition: 0.3s ease;
          margin-bottom: 4rem
      }

      .poster-card:hover {
          transform: translateY(-5px);
      }

      .poster-img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          ;
      }

      /* Always visible overlay (no animation) */
      .poster-overlay {
          position: absolute;
          bottom: 0;
          left: 0;
          width: 100%;
          background: rgba(0,0,0,0.55);
          color: white;
          padding: 12px 20px;
          font-size: 24px;
          font-weight: 700;
          text-transform: uppercase;
      }

      /* Content always visible */
      .poster-content {
          padding: 20px;
      }

      .poster-text h3 {
          color: #9A221B;
          font-weight: 700;
          margin-bottom: 12px;
      }

      .poster-text p {
          font-size: 16px;
          line-height: 1.5;
          color: #333;
      }
 


  /* Client Styling */

  .header-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin-top: 53px;
}

/* On smaller screens — decrease height */
@media (max-width: 992px) {
    .header-img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .header-img {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .header-img {
        height: 180px;
    }
}

body {
            background-color: #f9f9f9;
            font-family: Arial, sans-serif;
        }

        .page-header {
          
          color: black;
          padding: 25px 0;
          text-align: center;
          animation: fadeDown 1s ease;
          
        }
         @keyframes fadeDown {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .client-category h4{
          color: #9A221B;
        }

        h1{
            font-weight: 800;
            color: #9A221B;
        }

        .accordion-button {
            font-weight: 600;
            font-size: 18px;
        }

        .accordion-body ul {
            padding-left: 20px;
        }

        .accordion-body li {
            margin-bottom: 6px;
            font-size: 16px;
        }

        /* .section-title {
            text-align: center;
            margin-top: 40px;
            margin-bottom: 10px;
            font-size: 28px;
            font-weight: bold;
            color: #333;
        } */
/* 
        .client-logos img {
  max-width: 100%;
  max-height: 55px;
  object-fit: contain;
  
  transition: all 0.3s ease;
}

.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
}

.logo-box:hover img {
  transform: scale(1.05);
} */

.client-tabs .nav-link {
  border-radius: 30px;
  padding: 8px 20px;
  margin: 0 5px;
  font-weight: 600;
  color: #9A221B;
  background: #f5f5f5;
}

.client-tabs .nav-link.active {
  background: #9A221B;
  color: #fff;
}

.logo-box {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-box img {
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.logo-box:hover img {
  transform: scale(1.05);
}


/* ContactUs Styling */
.contact-hero {
    margin-top: 53px;   
}



.contact-hero {
    background: linear-gradient(135deg, #9A221B, #7a1b17);
    color: white;
    padding: 25px 0;
    text-align: center;
}

.contact-hero h1 {
    font-size: 42px;
    font-weight: 700;
}

.contact-hero p {
    margin-top: 10px;
    font-size: 18px;
}


/* LOCATIONS SECTION */
.locations-section h2 {
    font-size: 32px;
    font-weight: 600;
    color: #333;
}

/* CARD DESIGN */
.location-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: 0.3s ease;
    border-top: 6px solid #9A221B;
    position: relative;
    overflow: hidden;
}
.location-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
}


.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.18);
}

/* Background decoration */
.location-card::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    top: -60px;
    right: -60px;
    background: rgba(154,34,27,0.12);
    border-radius: 50%;
}

/* Titles */
.location-card h4 {
    font-size: 23px;
    color: #9A221B;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Sub-headings (EMAIL, ADDRESS etc.) */
.sub-head {
    font-size: 14px;
    font-weight: 600;
    color: #9A221B;
    margin: 12px 0 4px 0;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.location-card p {
    margin: 6px 0;
    font-size: 15px;
    color: #333;
}

/* Icon + text row */
.info-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.info-row i {
    color: #9A221B;
    margin-top: 2px;
}


.fade-up {
    animation: fadeUp 0.9s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}



@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 32px;
    }
    .contact-hero p {
        font-size: 16px;
    }
}

.head{
  color: white;
}


/* AboutUs Styling */
.hero-section {
        background: linear-gradient(135deg, #9A221B, #7a1b17);
              
          min-height: 100px;
          display: flex;
          align-items: center;
          justify-content: center;
          text-align: center;
          color: white;
          padding: 50px 20px;
          background-blend-mode: darken;
        
          margin-top: 53px;   
      }
      .hero-section h1 {
          font-size: 32px;   /* smaller */
          font-weight: 800;
      }

      /* SECTION TITLES */
      .section-title {
          font-size: 30px;  /* reduced */
          font-weight: 700;
          color: #9A221B;
          margin-bottom: 15px;
      }

      /* PARAGRAPHS */
      .content-text {
          font-size: 17px;   /* small text */
          line-height: 1.6;
          color: #444;
      }

      /* DIRECTOR CARDS */
      .director-card {
          background: #ffffff;
          border-radius: 14px;
          padding: 20px;
          box-shadow: 0 4px 16px rgba(0,0,0,0.1);
          transition: 0.3s ease;
          min-height: 340px; /* equal height */
      }

      .director-card:hover {
          transform: translateY(-4px);
      }

      .director-name {
          font-size: 20px;   /* smaller */
          font-weight: 700;
          color: #203a64;
          margin-bottom: 4px;
      }

      .director-role {
          font-size: 13px;   /* smaller */
          color: #9A221B;
          font-weight: 600;
          margin-bottom: 8px;
      }

      .director-card p {
          font-size: 15px;   /* small text */
          line-height: 1.45;
      }
 


.footer-credit {
  color: #ffffff;
  text-decoration: none;
}

.footer-credit:hover {
  text-decoration: none;
  color: #ffffff;
}


