/* 
 * Absolute Enterprise - Main Stylesheet
 * Based on design_profile.json and Web Design Plan.md
 */

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Roboto:wght@300;400;500&display=swap');

/* ===== VARIABLES ===== */
:root {
  /* Color Palette from design_profile.json */
  --primary-blue: #002147;
  --accent-red: #E3063B;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --black: #000000;
  
  /* Additional colors from Web Design Plan */
  --deep-blue: #003366;
  --vibrant-orange: #FF6600;
  --off-white: #F7F9FA;
  --light-gray-alt: #EAECEE;
  --charcoal: #2D3748;
  
  /* Typography */
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Roboto', sans-serif;
  
  /* Spacing */
  --section-spacing: 5rem;
  --element-spacing: 2rem;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%; /* 1rem = 10px */
}



body {
  font-family: var(--body-font);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--white);
  overflow-x: hidden;
  padding-top: 14.6rem; /* Account for certification bar + header with new spacing */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--primary-blue);
}

h1 {
  font-size: 4.8rem;
}

h2 {
  font-size: 3.6rem;
}

h3 {
  font-size: 2.8rem;
}

h4 {
  font-size: 2.4rem;
}

p {
  margin-bottom: 1.6rem;
}

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

a:hover {
  color: var(--accent-red);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--section-spacing) 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 8rem;
  height: 0.4rem;
  background-color: var(--accent-red);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  border-radius: 0.4rem;
  font-family: var(--heading-font);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  font-size: 1.4rem;
}

.btn-primary {
  background-color: var(--accent-red);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #c20532;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background-color: var(--primary-blue);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-large {
  padding: 1.6rem 3.2rem;
  font-size: 1.6rem;
}

/* ===== CERTIFICATION BADGES BAR ===== */
.certification-bar {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--deep-blue) 100%);
  padding: 1.2rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.certification-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.certification-badge {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 0.6rem 1.4rem;
  border-radius: 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-fast);
  border: 2px solid transparent;
}

.certification-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-color: var(--accent-red);
}

.badge-icon {
  width: 3.2rem;
  height: 3.2rem;
  min-width: 3.2rem;
  min-height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-red);
}

.badge-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.badge-text strong {
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.badge-text span {
  font-size: 0.9rem;
  color: var(--charcoal);
  font-weight: 500;
}

/* Make In India specific styling */
.make-in-india-badge .badge-icon {
  color: #FF9933;
}

.make-in-india-badge .badge-text strong {
  background: linear-gradient(to right, #FF9933, #138808);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 5.8rem; /* Adjusted to account for certification bar with more space */
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-medium);
}

.header.scrolled {
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 5rem;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  margin-right: 2rem;
}

.nav-item {
  margin: 0 1.5rem;
}

.nav-link {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--primary-blue);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-red);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 2.4rem;
  color: var(--primary-blue);
  transition: color 0.3s ease;
  z-index: 1002;
  position: relative;
}

/* When menu is active, hamburger becomes X and turns red */
.mobile-menu-btn.active {
  color: var(--accent-red);
}

/* Hide mobile-only elements on desktop */
.mobile-menu-overlay {
  display: none;
}

body.nav-active {
  overflow: hidden;
}

/* ===== COMPACT SEARCH (HEADER) ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.search-toggle {
  background: transparent;
  border: none;
  color: var(--text-dark);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.8rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
}

.search-toggle:hover {
  background: rgba(0, 51, 102, 0.1);
  color: var(--primary-blue);
  transform: scale(1.1);
}

.header.scrolled .search-toggle {
  color: var(--text-dark);
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay-content {
  width: 90%;
  max-width: 700px;
  position: relative;
  animation: searchSlideDown 0.4s ease;
}

@keyframes searchSlideDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-close {
  position: absolute;
  top: -5rem;
  right: 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 3rem;
  cursor: pointer;
  padding: 1rem;
  transition: all 0.3s ease;
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.search-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.compact-search-form {
  width: 100%;
}

.compact-search-group {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 60px;
  padding: 1.5rem 3rem;
  box-shadow: 0 20px 60px rgba(255, 102, 0, 0.3);
  transition: all 0.3s ease;
}

.compact-search-group:focus-within {
  box-shadow: 0 25px 80px rgba(255, 102, 0, 0.5);
  transform: translateY(-3px);
}

.compact-search-group i {
  color: var(--primary-blue);
  font-size: 2.4rem;
  margin-right: 2rem;
}

.compact-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 2rem;
  padding: 1rem 0;
  color: var(--text-dark);
  background: transparent;
  font-weight: 400;
}

.compact-search-input::placeholder {
  color: var(--text-gray);
  font-weight: 300;
}

/* ===== CLIENTS SECTION ===== */
.clients {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

.clients-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--charcoal);
}

.clients-logos-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.clients-logos {
  display: flex;
  align-items: center;
  width: fit-content;
  animation: marquee 60s linear infinite;
}

.clients-logos:hover {
  animation-play-state: paused;
}

.client-logo {
  padding: 0 4rem;
  flex-shrink: 0;
}

.client-logo img {
  max-height: 6rem;
  max-width: 12rem;
  width: auto;
  height: auto;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-51%);
  }
}

/* ===== INDUSTRIES SECTION ===== */
.industries {
  background-color: var(--white);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.industry-card {
  background-color: var(--white);
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.industry-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.industry-img {
  height: 200px;
  overflow: hidden;
}

.industry-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.industry-card:hover .industry-img img {
  transform: scale(1.1);
}

.industry-content {
  padding: 2rem;
}

.industry-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.industry-text {
  font-size: 1.4rem;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.industry-link {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--accent-red);
  display: flex;
  align-items: center;
}

.industry-link i {
  margin-left: 0.5rem;
  transition: transform var(--transition-fast);
}

.industry-link:hover i {
  transform: translateX(5px);
}

/* ===== VALUE PROPOSITION SECTION ===== */
.values {
  background-color: var(--light-gray);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.value-card {
  background-color: var(--white);
  padding: 3rem 2rem;
  border-radius: 0.8rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-medium);
}

.value-card:hover {
  transform: translateY(-10px);
}

.value-icon {
  font-size: 4rem;
  color: var(--accent-red);
  margin-bottom: 2rem;
}

.value-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.value-text {
  font-size: 1.4rem;
  color: var(--charcoal);
}

/* ===== ABOUT SECTION ===== */
.about {
  background-color: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 2rem;
}

.about-text p {
  margin-bottom: 2.5rem;
}

.about-img {
  position: relative;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-img::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 100%;
  height: 100%;
  border: 5px solid var(--accent-red);
  border-radius: 0.8rem;
  z-index: -1;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== PRODUCTS SECTION ===== */
.products {
  background-color: var(--light-gray);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

.product-card {
  background-color: var(--white);
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-img {
  height: 250px;
  overflow: hidden;
}

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

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

.product-content {
  padding: 2rem;
}

.product-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.product-text {
  font-size: 1.4rem;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.product-btn {
  width: 100%;
  text-align: center;
}

/* ===== STATS SECTION ===== */
.stats {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 8rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  font-family: var(--heading-font);
  font-size: 5rem;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 1rem;
}

.stat-text {
  font-size: 1.8rem;
  font-weight: 500;
}

/* ===== CONTACT SECTION ===== */
.contact {
  background-color: var(--white);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: stretch;
}

.contact-container > .contact-form-container {
  display: flex;
  align-items: stretch;
}

.contact-container > .contact-form-container .contact-form {
  width: 100%;
}

.contact-info h3 {
  margin-bottom: 3rem;
}

.contact-details {
  margin-bottom: 4rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-icon {
  font-size: 2rem;
  color: var(--accent-red);
  margin-right: 1.5rem;
  margin-top: 0.3rem;
}

.contact-text h4 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.contact-text p {
  font-size: 1.6rem;
  color: var(--charcoal);
}

.contact-form {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 0.8rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  width: 100%;
  flex-grow: 1;
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  font-family: var(--heading-font);
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--primary-blue);
}

.form-control {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid var(--light-gray-alt);
  border-radius: 0.4rem;
  font-family: var(--body-font);
  font-size: 1.6rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232D3748' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.6rem;
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 5rem 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
}

.footer-logo {
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 5rem;
}

.footer-text {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-social {
  display: flex;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  margin-right: 1rem;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--accent-red);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 2rem;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 0.5rem;
}

.footer-contact li {
  display: flex;
  margin-bottom: 1.5rem;
}

.footer-contact-icon {
  margin-right: 1.5rem;
  color: var(--accent-red);
}

.footer-newsletter p {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
  display: flex;
}

.newsletter-input {
  flex: 1;
  padding: 1.2rem;
  border: none;
  border-radius: 0.4rem 0 0 0.4rem;
  font-family: var(--body-font);
  font-size: 1.4rem;
}

.newsletter-btn {
  background-color: var(--accent-red);
  color: var(--white);
  border: none;
  border-radius: 0 0.4rem 0.4rem 0;
  padding: 0 1.5rem;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.newsletter-btn:hover {
  background-color: #c20532;
}

.footer-bottom {
  text-align: center;
  padding: 2rem 0;
  margin-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.4rem;
}

.footer-copyright a {
  text-decoration: none;
}

.footer-copyright .site-word {
  color: #007bff;
}

.footer-copyright .sorcerers-word {
  color: #ff8c00;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: var(--accent-red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 999;
}

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

.back-to-top:hover {
  background-color: var(--primary-blue);
  transform: translateY(-5px);
}

/* ===== RESPONSIVE STYLES ===== */
@media screen and (max-width: 1024px) {
  html {
    font-size: 60%;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .about-img {
    order: -1;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 55%;
  }
  
  /* Certification Bar Responsive */
  .certification-bar {
    padding: 0.5rem 0;
  }
  
  .certification-container {
    justify-content: center;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .certification-badge {
    padding: 0.5rem 1rem;
    gap: 0.6rem;
  }
  
  .badge-icon {
    width: 2.6rem;
    height: 2.6rem;
    min-width: 2.6rem;
    min-height: 2.6rem;
    font-size: 1.3rem;
  }
  
  .badge-text strong {
    font-size: 0.95rem;
  }
  
  .badge-text span {
    font-size: 0.8rem;
  }
  
  .header {
    top: 3.8rem;
  }
  
  body {
    padding-top: 11.8rem; /* Adjusted for mobile */
  }
  
  .header-container {
    padding: 1.5rem 0;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: center;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-medium);
    z-index: 1001;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  /* Mobile Menu Overlay */
  .mobile-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .nav-list {
    flex-direction: column;
    margin-right: 0;
    margin-bottom: 3rem;
  }
  
  .nav-item {
    margin: 2rem 0;
  }

  .nav-menu .nav-link {
    font-size: 2rem;
  }
  
  .header-actions {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    padding: 0 2rem;
  }
  
  /* Search button in mobile menu */
  .header-actions .search-toggle {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: auto;
    background: var(--light-gray);
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.6rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
  }
  
  .header-actions .search-toggle::after {
    content: 'Search Products';
    font-family: var(--body-font);
    font-weight: 500;
  }
  
  .header-actions .search-toggle:hover {
    background: var(--primary-blue);
    color: white;
  }
  
  .header-actions .btn {
    width: 100%;
  }
  
  /* Hide the header search toggle that's outside menu */
  .header .search-toggle:not(.header-actions .search-toggle) {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
    z-index: 1002;
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    padding: 1rem;
  }
  
  .carousel-title {
    font-size: 4.2rem;
  }
  
  .carousel-control {
    width: 4rem;
    height: 4rem;
  }
  
  .carousel-control.prev {
    left: 1rem;
  }
  
  .carousel-control.next {
    right: 1rem;
  }
  
  .carousel-control i {
    font-size: 1.6rem;
  }
  
  .carousel-dots {
    bottom: 1.5rem;
    padding: 0.8rem 1.5rem;
  }
  
  .search-toggle {
    font-size: 1.8rem;
    width: 3.5rem;
    height: 3.5rem;
  }
  
  .compact-search-group {
    padding: 1.2rem 2rem;
  }
  
  .compact-search-group i {
    font-size: 2rem;
    margin-right: 1.5rem;
  }
  
  .compact-search-input {
    font-size: 1.6rem;
  }
  
  .search-close {
    top: -4rem;
    font-size: 2.5rem;
  }
  
  .hero-slider {
    height: 400px;
    margin-top: 7rem; /* Adjusted for mobile header */
  }
  
  .slider-arrow {
    width: 35px;
    height: 35px;
  }
  
  .slider-arrow.prev {
    left: 15px;
  }
  
  .slider-arrow.next {
    right: 15px;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media screen and (max-width: 576px) {
  html {
    font-size: 50%;
  }
  
  .carousel-control {
    width: 3.5rem;
    height: 3.5rem;
  }
  
  .carousel-control.prev {
    left: 0.5rem;
  }
  
  .carousel-control.next {
    right: 0.5rem;
  }
  
  .carousel-control i {
    font-size: 1.4rem;
  }
  
  .carousel-dots {
    bottom: 1rem;
    padding: 0.6rem 1.2rem;
  }
  
  .dot {
    width: 0.8rem;
    height: 0.8rem;
  }
  
  .dot.active {
    width: 2.5rem;
  }
  
  .compact-search-group {
    padding: 1rem 1.5rem;
    border-radius: 50px;
  }
  
  .compact-search-group i {
    font-size: 1.8rem;
    margin-right: 1rem;
  }
  
  .compact-search-input {
    font-size: 1.4rem;
  }
  
  .search-close {
    top: -3.5rem;
    font-size: 2.2rem;
  }
  
  .hero-slider {
    height: 350px;
    margin-top: 6.5rem; /* Adjusted for smaller mobile header */
  }
  
  .slider-arrow {
    width: 30px;
    height: 30px;
  }
  
  .slider-arrow.prev {
    left: 10px;
  }
  
  .slider-arrow.next {
    right: 10px;
  }
  
  .slider-arrow i {
    font-size: 12px;
  }
  
  .slider-dots {
    bottom: 20px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
  
  .section-title {
    font-size: 2.8rem;
  }
  
  .btn {
    padding: 1rem 2rem;
  }
  
  .btn-large {
    padding: 1.2rem 2.4rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-input {
    border-radius: 0.4rem;
    margin-bottom: 1rem;
  }
  
  .newsletter-btn {
    border-radius: 0.4rem;
    padding: 1.2rem;
  }
}

/* ===== PRODUCTS PAGE STYLES ===== */
.page-banner {
  position: relative;
  height: 30rem;
  background-image: url('../images/page-banner-placeholder.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(153, 27, 27, 0.95));
}

.hero-title {
  font-family: var(--heading-font);
  font-size: 4.2rem;
  font-weight: 700;
  margin: 0;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
  color: #ffffff;
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-title {
  font-family: var(--heading-font);
  font-size: 4.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  color: #ffffff;
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.breadcrumb {
  font-family: var(--body-font);
  font-size: 1.6rem;
  position: relative;
  z-index: 1;
  color: #ffffff;
  text-align: center;
}

.breadcrumb a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--accent-red);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
}

.category-tab {
  background-color: var(--light-gray);
  border: none;
  border-radius: 0.4rem;
  padding: 1rem 2rem;
  font-family: var(--body-font);
  font-size: 1.6rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.category-tab:hover {
  background-color: var(--light-gray-alt);
}

.category-tab.active {
  background-color: var(--primary-blue);
  color: var(--white);
}

.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.product-item {
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.1);
  transition: var(--transition-medium);
  background-color: var(--white);
}

.product-item:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.product-img {
  position: relative;
  height: 25rem;
  overflow: hidden;
}

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

.product-item:hover .product-img img {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 33, 71, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-medium);
}

.product-item:hover .product-overlay {
  opacity: 1;
}

.product-details-btn {
  background-color: var(--white);
  color: var(--primary-blue);
  padding: 1rem 2rem;
  border-radius: 0.4rem;
  font-family: var(--body-font);
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-fast);
}

.product-details-btn:hover {
  background-color: var(--accent-red);
  color: var(--white);
}

.product-info {
  padding: 2rem;
}

.product-title {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.product-description {
  font-family: var(--body-font);
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.cta-section {
  background-color: var(--primary-blue);
  padding: 6rem 0;
  text-align: center;
  color: var(--white);
  margin-top: 6rem;
}

.cta-content h2 {
  font-family: var(--heading-font);
  font-size: 3.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-family: var(--body-font);
  font-size: 1.8rem;
  max-width: 60rem;
  margin: 0 auto 3rem;
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.contact-info-card {
  background-color: var(--white);
  border-radius: 0.8rem;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.1);
  transition: var(--transition-medium);
}

.contact-info-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.contact-info-icon {
  font-size: 3.6rem;
  color: var(--accent-red);
  margin-bottom: 1.5rem;
}

.contact-info-card h3 {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
}

.contact-info-card p {
  font-family: var(--body-font);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--charcoal);
}

.map-container {
  margin-top: 4rem;
}

.map-tabs {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.map-tab {
  background-color: var(--light-gray);
  border: none;
  border-radius: 0.4rem;
  padding: 1rem 2rem;
  font-family: var(--body-font);
  font-size: 1.6rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.map-tab:hover {
  background-color: var(--light-gray-alt);
}

.map-tab.active {
  background-color: var(--primary-blue);
  color: var(--white);
}

.map-frame-container {
  position: relative;
  height: 45rem;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.1);
}

.map-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-medium);
}

.map-frame.active {
  opacity: 1;
  visibility: visible;
}

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

.contact-form-section {
  background-color: var(--light-gray);
  padding: 6rem 0;
}

.contact-form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-form-content {
  background-color: var(--white);
  border-radius: 0.8rem;
  padding: 3rem;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.1);
}

.section-subtitle {
  font-family: var(--body-font);
  font-size: 1.8rem;
  color: var(--charcoal);
  margin-bottom: 3rem;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  font-family: var(--body-font);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: var(--primary-blue);
}

.form-control {
  width: 100%;
  padding: 1.2rem;
  border: 0.1rem solid var(--light-gray-alt);
  border-radius: 0.4rem;
  font-family: var(--body-font);
  font-size: 1.6rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(0, 33, 71, 0.2);
}

.form-control.is-invalid {
  border-color: var(--accent-red);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23002147' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1.6rem;
}

.form-textarea {
  min-height: 15rem;
  resize: vertical;
}

.contact-form-image {
  position: relative;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.1);
}

.contact-form-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 33, 71, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.contact-form-overlay-content {
  color: var(--white);
  text-align: left;
}

.contact-form-overlay-content h3 {
  font-family: var(--heading-font);
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.contact-form-overlay-content ul {
  list-style: none;
}

.contact-form-overlay-content li {
  font-family: var(--body-font);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.contact-form-overlay-content li i {
  color: var(--accent-red);
  margin-right: 1rem;
  font-size: 2rem;
}

.quote-section {
  padding: 6rem 0;
}

.quote-container {
  max-width: 80rem;
  margin: 0 auto;
  background-color: var(--white);
  border-radius: 0.8rem;
  padding: 4rem;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.1);
}

.alert {
  padding: 1.5rem;
  border-radius: 0.4rem;
  margin-bottom: 2rem;
  font-family: var(--body-font);
  font-size: 1.6rem;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 0.1rem solid #c3e6cb;
}

/* ===== RESPONSIVE STYLES FOR NEW PAGES ===== */
@media (max-width: 992px) {
  .contact-form-container {
    grid-template-columns: 1fr;
  }
  
  .contact-form-image {
    height: 40rem;
  }
}

@media (max-width: 768px) {
  .page-banner {
    height: 25rem;
  }
  
  .hero-title {
    font-size: 3.6rem;
    padding: 0 1.5rem;
  }
  
  .page-title {
    font-size: 3.6rem;
  }
  
  .category-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .category-tab {
    width: 100%;
    max-width: 30rem;
  }
  
  .map-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .map-tab {
    width: 100%;
    max-width: 30rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .quote-container {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 3rem;
    padding: 0 1rem;
  }
  
  .page-title {
    font-size: 3rem;
  }
  
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  
  .map-frame-container {
    height: 30rem;
  }
}
/* ===== PRODUCT MODAL ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease;
}

body.modal-open {
  overflow: hidden;
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 3rem;
  border: 1px solid #888;
  width: 80%;
  max-width: 900px;
  border-radius: 0.8rem;
  position: relative;
  animation: slideIn 0.4s ease;
}

.close-modal {
  color: #aaa;
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 2.8rem;
  font-weight: bold;
  cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.modal-product-img img {
  width: 100%;
  border-radius: 0.8rem;
}

.modal-product-title {
  margin-top: 0;
}

.modal-product-features {
  list-style: disc;
  padding-left: 2rem;
}

.modal-product-features li {
  margin-bottom: 1rem;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes slideIn {
  from {transform: translateY(-50px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}

@media screen and (max-width: 768px) {
  .modal-content {
    width: 90%;
    padding: 2rem;
  }
  .modal-body {
    grid-template-columns: 1fr;
  }
}

/* ===== NEW QUOTE MODAL STYLES ===== */
.quote-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  overflow-y: auto;
  padding: 20px;
}

.quote-modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-modal-container {
  background: #ffffff;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 32px;
  color: #666;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
  line-height: 1;
}

.modal-close:hover {
  background-color: #f0f0f0;
  color: #333;
  transform: rotate(90deg);
}

.quote-modal-header {
  padding: 40px 40px 20px;
  border-bottom: 2px solid #f0f0f0;
}

.quote-modal-header h2 {
  margin: 0 0 10px;
  font-size: 28px;
  color: #333;
  font-weight: 700;
  font-family: var(--heading-font);
}

.quote-modal-header p {
  margin: 0;
  color: #666;
  font-size: 16px;
}

.quote-modal-body {
  padding: 30px 40px 40px;
}

.quote-form-new {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group-new {
  display: flex;
  flex-direction: column;
}

.form-group-new.full-width {
  grid-column: 1 / -1;
}

.form-group-new label {
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.form-group-new .required {
  color: #dc3545;
}

.form-group-new input,
.form-group-new select,
.form-group-new textarea {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: #fff;
}

.form-group-new input:focus,
.form-group-new select:focus,
.form-group-new textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 33, 71, 0.1);
}

.form-group-new textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.btn-submit-quote {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--deep-blue) 100%);
  color: #ffffff;
  border: none;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 33, 71, 0.3);
  font-family: var(--heading-font);
}

.btn-submit-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 33, 71, 0.4);
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--primary-blue) 100%);
}

.btn-submit-quote:active {
  transform: translateY(0);
}

/* New quote form button styling */
.btn-submit-new {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--deep-blue) 100%);
  color: #ffffff;
  border: none;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 33, 71, 0.3);
  font-family: var(--heading-font);
  width: 100%;
  margin-top: 20px;
}

.btn-submit-new:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 33, 71, 0.4);
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--primary-blue) 100%);
}

.btn-submit-new:active {
  transform: translateY(0);
}

/* Alternative class names for consistency across pages */
.quote-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 32px;
  color: #666;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
  line-height: 1;
}

.quote-modal-close:hover {
  background-color: #f0f0f0;
  color: #333;
  transform: rotate(90deg);
}

.quote-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.quote-form-group {
  display: flex;
  flex-direction: column;
}

.quote-form-group.full-width {
  grid-column: 1 / -1;
}

.quote-form-group label {
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.quote-form-group .required {
  color: #dc3545;
}

.quote-form-group input,
.quote-form-group select,
.quote-form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: #fff;
}

.quote-form-group input:focus,
.quote-form-group select:focus,
.quote-form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 33, 71, 0.1);
}

.quote-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.quote-submit-btn {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--deep-blue) 100%);
  color: #ffffff;
  border: none;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 33, 71, 0.3);
  font-family: var(--heading-font);
  width: 100%;
  margin-top: 10px;
}

.quote-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 33, 71, 0.4);
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--primary-blue) 100%);
}

.quote-submit-btn:active {
  transform: translateY(0);
}

/* Responsive Design for New Modal */
@media (max-width: 768px) {
  .quote-modal-container {
    margin: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
  }
  
  .quote-modal-header,
  .quote-modal-body {
    padding: 20px;
  }
  
  .quote-modal-header h2 {
    font-size: 24px;
  }
  
  .form-row-new {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .quote-form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .modal-close,
  .quote-modal-close {
    top: 10px;
    right: 10px;
  }
}

/* ===== FLOATING ACTION BUTTONS ===== */
.floating-buttons {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  animation: fadeInUp 0.5s ease;
}

.floating-btn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.floating-btn i {
  transition: transform 0.3s ease;
}

.floating-btn:hover i {
  transform: scale(1.2);
}

/* WhatsApp Button */
.whatsapp-btn {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  animation-delay: 0.1s;
}

.whatsapp-btn:hover {
  background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
}

/* YouTube Button - Eye-catching with glow effect */
.youtube-btn {
  background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
  animation-delay: 0s;
  position: relative;
  overflow: visible;
}

.youtube-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 70px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 14px;
  font-family: var(--body-font);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.youtube-btn:hover {
  background: linear-gradient(135deg, #CC0000 0%, #990000 100%);
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.6), 0 6px 25px rgba(0, 0, 0, 0.4);
}

.youtube-btn i {
  font-size: 32px;
}

/* YouTube Glow Animation */
@keyframes youtubeGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4), 0 4px 15px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 35px rgba(255, 0, 0, 0.7), 0 4px 15px rgba(0, 0, 0, 0.3);
  }
}

.youtube-btn {
  animation: youtubeGlow 2s ease-in-out infinite, fadeInUp 0.5s ease;
}

/* Call Button */
.call-btn {
  background: linear-gradient(135deg, var(--vibrant-orange) 0%, #e65500 100%);
  animation-delay: 0.2s;
}

.call-btn:hover {
  background: linear-gradient(135deg, #e65500 0%, #cc4d00 100%);
}

/* Tooltip */
.floating-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 70px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 14px;
  font-family: var(--body-font);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.floating-btn::after {
  content: '';
  position: absolute;
  right: 60px;
  border: 6px solid transparent;
  border-left-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.floating-btn:hover::before,
.floating-btn:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-btn {
  animation: pulse 2s infinite;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   SCROLL DOWN INDICATOR
   ============================================ */
.scroll-indicator {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 1;
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(20px);
}

.scroll-arrow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.scroll-arrow {
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--accent-red);
  border-bottom: 3px solid var(--accent-red);
  transform: rotate(45deg);
  animation: scrollArrow 1.5s ease-in-out infinite;
  opacity: 0;
}

.scroll-arrow:nth-child(1) {
  animation-delay: 0s;
}

.scroll-arrow:nth-child(2) {
  animation-delay: 0.15s;
}

.scroll-arrow:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes scrollArrow {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-5px, -5px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(5px, 5px);
  }
}

.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 3px solid var(--primary-blue);
  border-radius: 15px;
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 15px rgba(0, 33, 71, 0.2);
}

.scroll-wheel {
  width: 4px;
  height: 10px;
  background: linear-gradient(180deg, var(--accent-red) 0%, var(--primary-blue) 100%);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
}

/* Scroll indicator hover effect */
.scroll-indicator:hover .scroll-text {
  background: var(--primary-blue);
  color: white;
  box-shadow: 0 6px 25px rgba(0, 33, 71, 0.3);
}

.scroll-indicator:hover .scroll-mouse {
  border-color: var(--accent-red);
  transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .scroll-indicator {
    bottom: 20px;
  }
  
  .scroll-text {
    font-size: 10px;
    padding: 6px 15px;
    letter-spacing: 1.5px;
  }
  
  .scroll-mouse {
    width: 22px;
    height: 36px;
  }
  
  .scroll-arrow {
    width: 10px;
    height: 10px;
    border-width: 2px;
  }
}

@media (max-width: 480px) {
  .scroll-indicator {
    bottom: 15px;
  }
  
  .scroll-text {
    font-size: 9px;
    padding: 5px 12px;
  }
  
  .scroll-mouse {
    width: 20px;
    height: 32px;
    border-width: 2px;
  }
  
  .scroll-wheel {
    width: 3px;
    height: 8px;
  }
}

/* Mobile Responsive for Floating Buttons */
@media (max-width: 768px) {
  .floating-buttons {
    right: 20px;
    bottom: 20px;
    gap: 12px;
  }
  
  .floating-btn {
    width: 55px;
    height: 55px;
    font-size: 24px;
  }
  
  .floating-btn::before {
    display: none; /* Hide tooltips on mobile */
  }
  
  .floating-btn::after {
    display: none;
  }
}

@media (max-width: 480px) {
  /* Certification Bar Extra Small Screens */
  .certification-container {
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  .certification-badge {
    padding: 0.4rem 0.8rem;
    gap: 0.5rem;
  }
  
  .badge-icon {
    width: 2.2rem;
    height: 2.2rem;
    min-width: 2.2rem;
    min-height: 2.2rem;
    font-size: 1.2rem;
  }
  
  .badge-text strong {
    font-size: 0.85rem;
  }
  
  .badge-text span {
    font-size: 0.75rem;
  }
  
  .floating-buttons {
    right: 15px;
    bottom: 15px;
    gap: 10px;
  }
  
  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}

/* Ensure buttons don't overlap with back-to-top button */
.back-to-top.show ~ .floating-buttons {
  bottom: 100px;
}

@media (max-width: 768px) {
  .back-to-top.show ~ .floating-buttons {
    bottom: 90px;
  }
}

/* ===== INDUSTRIES PAGE ENHANCEMENTS ===== */

/* Industry Navigation Bar */
.industry-nav-bar {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--deep-blue) 100%);
  padding: 1.5rem 0;
  position: sticky;
  top: 14.6rem;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.industry-nav-wrapper {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.industry-nav-wrapper::-webkit-scrollbar {
  height: 4px;
}

.industry-nav-wrapper::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.industry-nav-wrapper::-webkit-scrollbar-thumb {
  background: var(--vibrant-orange);
  border-radius: 2px;
}

.industry-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 2px solid transparent;
  border-radius: 2.5rem;
  font-size: 1.3rem;
  font-weight: 500;
  font-family: var(--heading-font);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.industry-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.industry-nav-btn.active {
  background-color: var(--vibrant-orange);
  color: var(--white);
  border-color: var(--white);
  box-shadow: 0 4px 8px rgba(255, 102, 0, 0.3);
}

.industry-nav-btn i {
  font-size: 1.4rem;
}

/* Hero Subtitle */
.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.8rem;
  margin-top: 1rem;
  font-weight: 300;
}

/* Featured Machines Section Enhancements */
.featured-machines {
  margin-top: 5rem;
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 245, 245, 0.9));
  border-radius: 1rem;
}

.featured-machines h3 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  text-align: center;
  justify-content: center;
  font-size: 2.8rem;
}

.featured-machines h3 i {
  color: var(--vibrant-orange);
  font-size: 3rem;
}

.featured-machines-subtitle {
  text-align: center;
  font-size: 1.6rem;
  color: var(--charcoal);
  margin-bottom: 3rem;
  font-weight: 300;
}

/* Product Card Enhancements */
.product-card {
  background: var(--white);
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.product-img {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: var(--light-gray);
}

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

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

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--accent-red), #c20532);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
}

.product-content {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.product-text {
  flex: 1;
  font-size: 1.4rem;
  color: var(--charcoal);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--light-gray-alt);
  border-bottom: 1px solid var(--light-gray-alt);
}

.product-specs .spec {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  color: var(--charcoal);
}

.product-specs i {
  color: var(--vibrant-orange);
  font-size: 1.3rem;
}

.product-card-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: auto;
}

.product-btn {
  flex: 1;
  padding: 0.9rem 1.2rem;
  font-size: 1.2rem;
  border-radius: 0.4rem;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

/* Machines Grid */
.machines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .industry-nav-bar {
    top: 12rem;
  }

  .industry-nav-btn {
    padding: 0.6rem 1.2rem;
    font-size: 1.1rem;
  }

  .industry-nav-btn i {
    font-size: 1.1rem;
  }

  .featured-machines {
    padding: 2rem;
  }

  .featured-machines h3 {
    font-size: 2.2rem;
  }

  .featured-machines h3 i {
    font-size: 2.2rem;
  }

  .machines-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .product-card-actions {
    flex-direction: column;
  }

  .product-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .industry-nav-wrapper {
    gap: 0.3rem;
  }

  .industry-nav-btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }

  .hero-subtitle {
    font-size: 1.4rem;
  }

  .featured-machines h3 {
    font-size: 1.8rem;
    flex-direction: column;
  }

  .machines-grid {
    grid-template-columns: 1fr;
  }

  .product-card-actions {
    flex-direction: column;
  }
}
