/* 
========================================================================
   Manisha Infracon Project Pvt. Ltd. - Premium Corporate Stylesheet
   Theme: Stone Crusher & Aggregates Manufacturing Company
   Created with CSS3 Variables, Glassmorphism & Responsive Design Systems
========================================================================
*/

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- Root Variables & Theme System --- */
:root {
  --primary-color: #0B3D91;
  /* Deep Corporate Blue */
  --primary-dark: #062354;
  /* Dark Blue */
  --primary-light: #1558C5;
  /* Vibrant Blue */
  --secondary-color: #FF6B00;
  /* Industrial Orange */
  --secondary-hover: #E05E00;
  /* Darker Orange */
  --accent-color: #FFB020;
  /* Amber Gold */
  --text-dark: #212529;
  /* Charcoal Text */
  --text-muted: #5A626A;
  /* Slate Gray */
  --bg-light: #F8F9FA;
  /* Soft Background */
  --bg-card: #FFFFFF;
  /* Card Pure White */
  --border-color: #E9ECEF;
  /* Light Border */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease-in-out;

  --shadow-sm: 0 4px 6px -1px rgba(11, 61, 145, 0.05);
  --shadow-md: 0 12px 30px -5px rgba(11, 61, 145, 0.08), 0 8px 12px -6px rgba(11, 61, 145, 0.05);
  --shadow-lg: 0 25px 50px -12px rgba(11, 61, 145, 0.15);
  --shadow-glass: 0 8px 32px 0 rgba(11, 61, 145, 0.07);
}

/* --- Theme Helper Utilities --- */
.text-orange {
  color: var(--secondary-color) !important;
}

.bg-orange {
  background-color: var(--secondary-color) !important;
}

.text-navy {
  color: var(--primary-color) !important;
}

.bg-navy {
  background-color: var(--primary-color) !important;
}

.text-gold {
  color: var(--accent-color) !important;
}

.bg-gold {
  background-color: var(--accent-color) !important;
}

.bg-navy-dark {
  background-color: var(--primary-dark) !important;
}

/* --- Base Reset & Typography --- */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
  width: 100%;
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* --- Preloader Screen --- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.spinner-box {
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.custom-spinner {
  width: 65px;
  height: 65px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--secondary-color);
  border-right-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 0.8s infinite linear;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: #FFFFFF;
  margin-top: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.preloader-logo span {
  color: var(--secondary-color);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* --- Top Address Header Bar --- */
.topbar {
  background-color: var(--primary-dark);
  font-size: 0.85rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 500;
}

.topbar a {
  color: #E9ECEF;
}

.topbar a:hover {
  color: var(--secondary-color);
}

.topbar-divider {
  width: 1px;
  height: 14px;
  background-color: rgba(255, 255, 255, 0.2);
  display: inline-block;
  vertical-align: middle;
}

/* --- Sticky Modern Glass Navbar --- */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: var(--transition-smooth);
  z-index: 1030;
  padding: 18px 0;
  background-color: rgba(11, 61, 145, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1200px) {
  .navbar {
    top: 44px;
    /* aligns below topbar on desktop */
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .navbar .container {
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .navbar-brand img {
    height: 42px !important;
  }

  .navbar .nav-link {
    padding: 6px 6px !important;
    font-size: 0.8rem !important;
    margin: 0;
  }

  .navbar .btn-custom {
    padding: 8px 12px !important;
    font-size: 0.76rem !important;
  }
}

.navbar.navbar-scrolled {
  position: fixed;
  top: 0 !important;
  padding: 12px 0;
  background-color: var(--primary-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  color: #FFFFFF !important;
}

.navbar-brand span {
  color: var(--secondary-color);
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85) !important;
  margin: 0 1px;
  padding: 8px 10px !important;
  border-radius: 6px;
  transition: var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #FFFFFF !important;
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 25px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.toggler-icon {
  width: 24px;
  height: 3px;
  background-color: #FFFFFF;
  display: block;
  margin: 5px 0;
  transition: var(--transition-smooth);
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -7px);
}

/* --- Buttons System --- */
.btn-custom {
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 6px;
  transition: var(--transition-smooth);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary-custom {
  background-color: var(--secondary-color);
  color: #FFFFFF;
  border: 2px solid var(--secondary-color);
}

.btn-primary-custom:hover {
  background-color: var(--secondary-hover);
  border-color: var(--secondary-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.35);
}

.btn-secondary-custom {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.btn-secondary-custom:hover {
  background-color: #FFFFFF;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-dark-custom {
  background-color: var(--primary-color);
  color: #FFFFFF;
  border: 2px solid var(--primary-color);
}

.btn-dark-custom:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11, 61, 145, 0.25);
}

/* --- Hero Banner Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #FFFFFF;
  padding-top: 140px;
  padding-bottom: 80px;
  /* bottom padding to guarantee buttons don't hit the screen edge */
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 35, 84, 0.92) 0%, rgba(3, 15, 38, 0.75) 100%);
  z-index: 1;
}

.hero-bg-img,
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-bg-img {
  animation: zoom-out-slow 20s infinite alternate;
}

@keyframes zoom-out-slow {
  0% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1.0);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  background-color: rgba(255, 107, 0, 0.15);
  color: var(--secondary-color);
  border: 1px solid rgba(255, 107, 0, 0.3);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 15px;
  /* reduced from 22px */
}

.hero-title {
  font-size: 2.8rem;
  /* reduced from 3.8rem to prevent overlap/overflow */
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 15px;
  /* reduced from 24px */
}

.hero-title span {
  color: var(--secondary-color);
}

.hero-description {
  font-size: 1.1rem;
  /* reduced from 1.2rem */
  color: #E9ECEF;
  margin-bottom: 25px;
  /* reduced from 35px */
  max-width: 700px;
}

.hero-products {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
  max-width: fit-content;
}

.hero-product-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #F8F9FA;
  transition: var(--transition-fast);
}

.hero-product-chip:hover {
  background: rgba(255, 107, 0, 0.2);
  border-color: var(--secondary-color);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* --- Responsive Hero Section --- */
@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-description {
    font-size: 1.05rem;
    margin-bottom: 20px;
  }

  .hero-products {
    margin-bottom: 20px;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand img {
    height: 42px !important;
  }

  .navbar {
    padding: 8px 0 !important;
  }

  .hero-section {
    padding-top: 110px;
    padding-bottom: 50px;
    height: auto !important;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center !important;
  }

  .hero-section .text-start {
    text-align: center !important;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }

  .hero-products {
    justify-content: center;
    margin-bottom: 15px;
    max-width: 100%;
  }

  .hero-product-chip {
    font-size: 0.75rem;
    padding: 5px 10px;
  }

  .hero-btns {
    justify-content: center;
  }

  .section-title {
    font-size: 1.85rem !important;
  }

  /* Show floating buttons side-by-side ONLY on mobile (hidden on desktop) */
  .whatsapp-float {
    display: flex !important;
    bottom: 20px !important;
    right: 80px !important;
  }
  .chat-widget {
    display: block !important;
    bottom: 20px !important;
    right: 20px !important;
  }
  .back-to-top {
    bottom: 20px !important;
    left: 20px !important;
    right: auto !important;
  }
  .chat-window {
    bottom: 85px !important;
    right: 20px !important;
    width: calc(100vw - 40px) !important;
    max-height: calc(100vh - 120px) !important;
  }
}

@media (max-width: 575.98px) {
  .hero-btns {
    flex-direction: column !important;
    width: 100%;
  }

  .hero-btns .btn,
  .hero-btns .btn-custom {
    width: 100% !important;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    margin: 0 !important;
  }
}

/* --- Section Layouts --- */
.section-padding {
  padding: 100px 0;
}

.bg-slate {
  background-color: var(--bg-light);
}

.section-title-wrapper {
  margin-bottom: 60px;
}

.section-subtitle {
  color: var(--secondary-color);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 15px;
}

.section-title-line {
  width: 70px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

/* --- Inner Page Hero Header --- */
.inner-hero {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  color: #FFFFFF;
  padding-top: 140px;
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .inner-hero {
    padding-top: 100px;
    height: 320px;
  }
}

.inner-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(11, 61, 145, 0.95) 40%, rgba(11, 61, 145, 0.6) 100%);
  z-index: 1;
}

.breadcrumb-item a {
  color: #CBD5E1;
}

.breadcrumb-item a:hover {
  color: var(--secondary-color);
}

.breadcrumb-item.active {
  color: #FFFFFF;
}

/* --- Premium Info Cards (Hover Actions) --- */
.info-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.info-card:hover::before {
  transform: scaleX(1);
}

.info-card.accent-card::before {
  background-color: var(--secondary-color);
}

.icon-box {
  width: 60px;
  height: 60px;
  background-color: rgba(11, 61, 145, 0.06);
  color: var(--primary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 25px;
  transition: var(--transition-smooth);
}

.info-card:hover .icon-box {
  background-color: var(--primary-color);
  color: #FFFFFF;
}

.info-card.accent-card:hover .icon-box {
  background-color: var(--secondary-color);
  color: #FFFFFF;
}

/* --- Stat Counter Layout --- */
.stats-section {
  background-color: var(--primary-dark);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.stats-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: linear-gradient(#FFFFFF 1px, transparent 1px), linear-gradient(90deg, #FFFFFF 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
}

.stat-item {
  position: relative;
  z-index: 1;
  text-align: center;
}

.stat-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1.1;
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #E9ECEF;
  font-weight: 600;
}

/* --- Product Cards --- */
.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(11, 61, 145, 0.1);
}

.product-img-wrapper {
  position: relative;
  height: 245px;
  overflow: hidden;
  background-color: var(--primary-dark);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary-color);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 30px;
  z-index: 2;
  text-transform: uppercase;
}

.product-card:hover .product-badge {
  background-color: var(--secondary-color);
}

.product-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.product-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-features-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.product-features-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  color: var(--text-dark);
}

.product-features-list li i {
  color: var(--secondary-color);
  margin-right: 8px;
  margin-top: 2px;
}

.product-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-app-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* --- Timeline Process styling --- */
.timeline-container {
  position: relative;
  padding: 30px 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color) 0%, var(--secondary-color) 100%);
  transform: translateX(-50%);
  z-index: 0;
  border-radius: 4px;
}

.timeline-row {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  margin-bottom: 80px;
}

.timeline-row:last-child {
  margin-bottom: 0;
}

.timeline-content-col {
  width: 45%;
}

.timeline-icon-col {
  width: 10%;
  display: flex;
  justify-content: center;
}

.timeline-spacer-col {
  width: 45%;
}

.timeline-row:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-icon-circle {
  width: 60px;
  height: 60px;
  background-color: var(--bg-card);
  border: 4px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.timeline-row:nth-child(even) .timeline-icon-circle {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.timeline-row:hover .timeline-icon-circle {
  transform: scale(1.15);
  background-color: var(--primary-color);
  color: #FFFFFF;
}

.timeline-row:nth-child(even):hover .timeline-icon-circle {
  background-color: var(--secondary-color);
  color: #FFFFFF;
}

.timeline-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
}

@media (max-width: 767.98px) {
  .timeline-line {
    left: 20px;
    transform: none;
  }

  .timeline-row,
  .timeline-row:nth-child(even) {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
  }

  .timeline-content-col,
  .timeline-spacer-col {
    width: 100%;
    padding-left: 50px;
  }

  .timeline-spacer-col {
    display: none;
  }

  .timeline-icon-col {
    width: auto;
    position: absolute;
    left: 0;
    top: 15px;
  }

  .timeline-icon-circle {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

/* --- Testimonials Styling --- */
.testimonial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  position: relative;
  margin: 15px 0;
}

.testimonial-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: -20px;
  font-size: 4rem;
  font-family: serif;
  color: rgba(255, 107, 0, 0.15);
  z-index: -1;
  line-height: 1;
}

.stars-rating {
  color: var(--accent-color);
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(11, 61, 145, 0.1);
}

.author-name {
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--primary-color);
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
  font-weight: 500;
}

/* --- Gallery Preview & Page Grid --- */
.gallery-item-wrapper {
  position: relative;
  height: 280px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(11, 61, 145, 0.9) 10%, rgba(11, 61, 145, 0.3) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 2;
}

.gallery-item-icon {
  width: 45px;
  height: 45px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.2rem;
  margin-bottom: 15px;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.gallery-item-wrapper:hover .gallery-item-img {
  transform: scale(1.1);
}

.gallery-item-wrapper:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-wrapper:hover .gallery-item-icon {
  transform: translateY(0);
}

/* --- Lightbox Modal Styles --- */
.lightbox-modal-img {
  border: 4px solid #FFFFFF;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  max-width: 100%;
}

.lightbox-modal-caption {
  font-weight: 600;
  font-size: 1rem;
}

/* --- Call To Action (CTA) Banner Section --- */
.cta-banner {
  position: relative;
  background-color: var(--primary-dark);
  color: #FFFFFF;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 107, 0, 0.15) 2px, transparent 2.5px);
  background-size: 30px 30px;
  opacity: 0.15;
  z-index: 0;
}

/* --- Contact Page Form Layout --- */
.custom-form-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-info-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.contact-info-list li {
  display: flex;
  margin-bottom: 35px;
}

.contact-info-list li:last-child {
  margin-bottom: 0;
}

.contact-icon-box {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 107, 0, 0.08);
  color: var(--secondary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.4;
}

.contact-value a:hover {
  color: var(--secondary-color);
}

.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

/* --- Corporate Footer --- */
.footer {
  background-color: var(--primary-dark);
  color: #FFFFFF;
  padding: 80px 0 0 0;
  font-size: 0.95rem;
}

.footer-logo {
  margin-bottom: 25px;
}

.footer-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: #CBD5E1;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.footer-links li a i {
  font-size: 0.8rem;
  margin-right: 8px;
  color: var(--secondary-color);
  transition: var(--transition-fast);
}

.footer-links li a:hover {
  color: #FFFFFF;
  padding-left: 5px;
}

.footer-links li a:hover i {
  color: #FFFFFF;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.social-btn:hover {
  background-color: var(--secondary-color);
  color: #FFFFFF;
  transform: translateY(-3px);
}

.footer-newsletter-text {
  color: #CBD5E1;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.newsletter-form .input-group {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  overflow: hidden;
  padding: 4px;
}

.newsletter-form input {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 0.9rem;
  padding-left: 12px;
}

.newsletter-form input::placeholder {
  color: #94A3B8;
}

.newsletter-form input:focus {
  background: transparent;
  color: #FFFFFF;
  box-shadow: none;
}

.newsletter-form .btn {
  background-color: var(--secondary-color);
  color: #FFFFFF;
  border-radius: 4px;
  padding: 8px 16px;
}

.newsletter-form .btn:hover {
  background-color: var(--secondary-hover);
}

.footer-bottom {
  margin-top: 60px;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #94A3B8;
  font-weight: 500;
}

.footer-bottom-links a {
  color: #94A3B8;
  margin-left: 20px;
}

.footer-bottom-links a:hover {
  color: #FFFFFF;
}

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--secondary-color);
  color: #FFFFFF;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 85px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 998;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.whatsapp-float:hover {
  background-color: #128C7E;
  color: #FFFFFF;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* --- AI Chatbot Widget Styling --- */
.chat-widget {
  position: fixed;
  bottom: 150px;
  right: 20px;
  z-index: 999;
  /* Always below sticky navbar (z-index: 1030) */
}

.chat-toggle-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  transition: all 0.3s ease;
}

.chat-toggle-btn:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
}

.chat-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #DC3545;
  color: #FFFFFF;
  font-size: 0.7rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.chat-window {
  width: 380px;
  height: 480px;
  max-height: calc(100vh - 80px);
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  position: fixed;
  bottom: 20px;
  right: 85px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-color);
  animation: slideUpChat 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 999;
  /* Always below sticky navbar (z-index: 1030) */
}

@keyframes slideUpChat {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-header {
  background: var(--primary-color);
  color: #FFFFFF;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-close-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.chat-close-btn:hover {
  color: #FFFFFF;
}

.chat-body {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  background-color: #F8F9FA;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chat-message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.4;
  position: relative;
}

.chat-message.bot {
  background-color: #FFFFFF;
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.chat-message.user {
  background-color: var(--primary-color);
  color: #FFFFFF;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  box-shadow: 0 4px 10px rgba(11, 61, 145, 0.1);
}

.message-time {
  font-size: 0.68rem;
  color: #94A3B8;
  display: block;
  margin-top: 5px;
  text-align: right;
}

.chat-message.user .message-time {
  color: rgba(255, 255, 255, 0.7);
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 10px 15px;
  background: #FFFFFF;
  border-radius: 12px;
  align-self: flex-start;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.typing-dot {
  width: 6px;
  height: 6px;
  background-color: var(--text-muted);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typingBounce {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

.chat-footer {
  padding: 15px;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
}

.chat-footer input {
  font-size: 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.chat-footer input:focus {
  border-color: var(--primary-color);
  box-shadow: none;
}

@media (max-width: 480px) {
  .chat-window {
    width: calc(100vw - 40px);
    right: 20px;
    bottom: 85px;
    height: 420px;
    max-height: calc(100vh - 170px);
  }
}

/* --- Form Input Custom Focus --- */
.form-control,
.form-select,
.form-select option,
.form-select optgroup {
  font-size: 0.9rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(11, 61, 145, 0.15);
}

.form-label {
  color: var(--primary-color);
}

/* --- AOS Custom Enhancements --- */
[data-aos] {
  pointer-events: none;
}

.aos-animate {
  pointer-events: auto;
}

/* --- Glassmorphism Accents --- */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
}

.glass-panel-dark {
  background: rgba(11, 61, 145, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

/* --- Premium Brochure Download & Resources --- */
.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.resource-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.resource-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(11, 61, 145, 0.1);
}

.resource-card:hover::after {
  transform: scaleX(1);
}

.resource-icon-box {
  width: 55px;
  height: 55px;
  background: rgba(255, 107, 0, 0.06);
  color: var(--secondary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.resource-card:hover .resource-icon-box {
  background: var(--secondary-color);
  color: #FFFFFF;
}

.resource-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.resource-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.resource-contents-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 25px;
  font-size: 0.85rem;
}

.resource-contents-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  color: var(--text-dark);
}

.resource-contents-list li i {
  color: var(--primary-color);
  margin-right: 8px;
  font-size: 0.95rem;
}

.resource-btn-group {
  display: flex;
  gap: 10px;
}

.resource-btn-group .btn {
  flex: 1;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 10px 15px;
  border-radius: 6px;
  text-transform: uppercase;
}

/* --- Dynamic PDF Preview Frame Styling --- */
.preview-modal-dialog {
  max-width: 900px !important;
}

.preview-frame-container {
  position: relative;
  width: 100%;
  height: 600px;
  background: #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.preview-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.preview-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

/* --- Branded Lead Generation Modal Styling --- */
.lead-modal-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #FFFFFF;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  padding: 20px 25px;
}

.lead-modal-body {
  padding: 30px 25px;
}

/* ========================================================================
   RMC & Crusher Materials Custom Categorization Styles
   ======================================================================== */

/* Custom Category Tabs filter */
.custom-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 45px;
}

.custom-tabs-wrapper {
  background: var(--bg-card);
  padding: 6px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  border: 1px solid var(--border-color);
}

.custom-tab-btn {
  border: none;
  background: transparent;
  padding: 12px 35px;
  border-radius: 50px;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.custom-tab-btn:hover {
  color: var(--primary-color);
}

.custom-tab-btn.active {
  background-color: var(--primary-color);
  color: #FFFFFF !important;
  box-shadow: 0 8px 20px rgba(11, 61, 145, 0.25);
}

/* Dynamic dropdown styles for the navbar */
.navbar .dropdown-menu {
  background-color: var(--primary-dark) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px;
  margin-top: 10px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  display: block;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 1200px) {
  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media (max-width: 1199.98px) {
  .navbar-collapse {
    max-height: 75vh;
    overflow-y: auto;
    padding-bottom: 20px;
  }
  .navbar .dropdown-menu {
    position: static !important;
    float: none;
    opacity: 0;
    visibility: hidden;
    display: none;
    transform: none;
    background-color: rgba(6, 35, 84, 0.5) !important;
    border: none !important;
    box-shadow: none !important;
    padding-left: 20px;
    margin-top: 0;
    transition: none;
  }
  .navbar .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    display: block;
  }
}

.navbar .dropdown-item {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 4px;
  padding: 8px 20px;
  transition: var(--transition-fast);
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item.active-item {
  color: #FFFFFF !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.navbar .dropdown-item:active {
  background-color: var(--secondary-color) !important;
}

.navbar .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

/* Responsive Mobile Adjustments for Tabs & Media */
@media (max-width: 767.98px) {
  .custom-tabs-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 12px;
    padding: 6px;
  }
  
  .custom-tab-btn {
    width: 100%;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    text-align: center;
  }
  
  .hero-bg-video {
    display: none !important;
  }
  
  .hero-bg-img {
    display: block !important;
  }
}