/* 
========================================================================
   Acorrphen Coating Private Limited - Style System
   Author: Antigravity AI
   Target: Premium Industrial B2B Visual Identity
========================================================================
*/

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

/* 1. CSS VARIABLES & THEME DEFINITIONS */
:root {
  --primary: #0b1d33;
  --primary-rgb: 11, 29, 51;
  --bs-primary-rgb: #2c234d;
  --secondary: #334155;
  --secondary-rgb: 51, 65, 85;
  --accent: #f37021;
  --accent-rgb: 243, 112, 33;
  --accent-hover: #d55f15;
  --accent-green: #3e7d7a;
  --accent-green-rgb: 62, 125, 122;
  --accent-orange: #f37021;
  --dark: #0f172a;
  --dark-rgb: 15, 23, 42;
  --light: #f1f5f9;
  --white: #ffffff;
  --text-dark: #1e293b;
  --text-light: #f8fafc;
  --muted: #64748b;
  --border-color: #cbd5e1;

  --font-sans: "Manrope", Arial, Helvetica, sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
}

.text-light-gray {
  color: #a6a6a6;
}

/* 2. BASE RESET & TYPOGRAPHY */
body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  scrollbar-gutter: stable; /* Prevents layout shift when scrollbar appears/disappears between pages */
}

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

a {
  text-decoration: none;
  color: var(--accent);
  transition: var(--transition-smooth);
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 3. LAYOUT & SPACING */
.section-padding {
  padding: 85px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 55px 0;
  }
}

.bg-navy-dark {
  background-color: var(--primary);
  color: var(--text-light);
}

.bg-navy-dark h2,
.bg-navy-dark h3,
.bg-navy-dark h4,
.bg-navy-dark h5,
.bg-navy-dark h6 {
  color: var(--white);
}

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

/* 4. BUTTONS & INTERACTIVE ELEMENTS */
/* 4. BUTTONS & INTERACTIVE ELEMENTS - reverted to default Bootstrap styling */
/* Rely on Bootstrap's .btn classes for styling. No custom pseudo-element effects.
   Adjust padding and font size as needed via Bootstrap utilities. */




/* White Button Variant */
/* Removed custom .white-btn styles */

/* Removed .white-btn pseudo-element */

.white-btn:hover {
  color: var(--white);
}

.white-btn:hover::before {
  top: 8px;
  left: 8px;
}

/* Hero Button Variant */
.btn.hero-btn {
  position: relative;
  box-shadow: -8px 8px 0 var(--accent-hover);
}

.btn.hero-btn:hover {
  box-shadow: 8px 8px 0 var(--accent-hover);
}

/* Arrow Button */
.arrow-btn {
  background: var(--accent);
  padding: 19px 15px;
  display: inline-block;
  line-height: 0;
  position: absolute;
  right: 0;
  bottom: 0;
}

.arrow-btn:hover {
  background: var(--primary);
}

/* Accent Button (for inline CTA links) */
.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

.btn-accent:hover::before {
  top: -8px;
  left: -8px;
}

/* Outline Light Button */
.btn-outline-light {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

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

.btn-outline-light::before {
  display: none;
}

/* Success Custom Button */
.btn-success-custom {
  background-color: var(--accent-green);
  border-color: var(--accent-green);
  color: var(--white);
}

.btn-success-custom:hover {
  background-color: #3aa25c;
  border-color: #3aa25c;
  color: var(--white);
}

/* 5. HEADER & NAVIGATION */
.navbar {
  transition: var(--transition-smooth);
  padding: 12px 0;
  z-index: 1000;
  min-height: 78px; /* Fixed navbar height prevents layout shift between pages */
}
.navbar-scrolled {
  padding: 8px 0;
  min-height: 68px; /* Slightly smaller on scroll but still fixed */
  background-color: rgba(30, 41, 59, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-bottom: none !important;
}

.navbar-brand img {
  height: 50px;
  transition: var(--transition-smooth);
}

.navbar-scrolled .nav-link {
  color: var(--text-light) !important;
}

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

img.original {
  display: none;
}

img.sticky {
  display: block;
}


.navbar-scrolled .navbar-brand img.original {
  display: block;
}

.navbar-scrolled .navbar-brand img.sticky {
  display: none;
}
.nav-item{
  padding: 5px 10px;
}
.footer-logo {
  height: 58px;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0px 0px !important;
  border-radius: var(--border-radius-sm);
  transition: color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  white-space: nowrap; /* Prevent text wrapping that could cause width changes */
}

.nav-link i {
  font-size: 14px;
  margin-right: 4px;
  opacity: 0.7;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
}

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

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

.navbar-toggler {
	 background-color: var(--text-dark);
  border-color: var(--text-dark);
  padding: 6px 10px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(0, 167, 181, 0.3);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* 6. HERO SECTION */
.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: 85px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 36, 63, 0.95) 0%, rgba(11, 58, 91, 0.8) 50%, rgba(16, 24, 32, 0.7) 100%);
  z-index: 1;
}

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

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
  }
}

/* 7. CUSTOM COMPONENTS & CARDS */
.icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(243, 112, 33, 0.08);
  /* accent orange */
  color: var(--accent);
  font-size: 28px;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.card-hover {
  border: 1px solid var(--border-color);
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  height: 100%;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(30, 41, 59, 0.12);
  /* primary slate */
  border-color: rgba(243, 112, 33, 0.3);
  /* accent orange */
}

.card-hover:hover .icon-box {
  background-color: var(--accent);
  color: var(--white);
  transform: rotateY(360deg);
}

.why-card {
  padding: 30px;
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  border-left: 4px solid var(--accent);
  transition: var(--transition-smooth);
  height: 100%;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border-left-color: var(--accent-green);
}

/* 8. APPLICATION SECTORS STRIP */
.app-strip-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 24px 20px;
  border-radius: var(--border-radius-md);
  text-align: center;
  transition: var(--transition-smooth);
  height: 100%;
}

.app-strip-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  transform: translateY(-5px);
}

.app-strip-card i {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

/* 9. TIMELINE / OUR STORY (ABOUT PAGE) */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--border-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

@media (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

@media (max-width: 768px) {
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--white);
  border: 4px solid var(--accent);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
  transition: var(--transition-smooth);
}

@media (max-width: 768px) {
  .timeline-item::after {
    left: 21px;
    right: auto;
  }
}

.timeline-left {
  left: 0;
}

.timeline-right {
  left: 50%;
}

@media (max-width: 768px) {
  .timeline-right {
    left: 0;
  }
}

.timeline-left::after {
  /* position for left items */
}

.timeline-right::after {
  left: -10px;
}

@media (max-width: 768px) {
  .timeline-right::after {
    left: 21px;
  }
}

.timeline-content {
  padding: 24px;
  background-color: var(--light);
  position: relative;
  border-radius: var(--border-radius-md);
  border-top: 4px solid var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.timeline-item:hover::after {
  background-color: var(--accent-green);
  border-color: var(--accent-green);
  transform: scale(1.2);
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

/* 10. BOOTSTRAP ACCORDIONS & TABLES (PRODUCTS & TECH PAGES) */
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md) !important;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
}

.accordion-item:hover {
  box-shadow: 0 8px 24px rgba(6, 36, 63, 0.06);
}

.accordion-header {
  border-bottom: none;
}

.accordion-button {
  font-weight: 700;
  color: var(--primary);
  background-color: var(--white);
  padding: 20px 24px;
  font-size: 1.15rem;
  transition: var(--transition-smooth);
}

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

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

.accordion-button::after {
  filter: sepia(100%) hue-rotate(140deg) saturate(1000%);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.badge-family {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 50px;
  font-weight: 600;
  background-color: rgba(0, 167, 181, 0.1);
  color: var(--accent);
  margin-right: 6px;
  margin-bottom: 4px;
  display: inline-block;
}

.accordion-button:not(.collapsed) .badge-family {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

/* Data Tables Styling */
.table-responsive {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-bottom: 25px;
}

.table {
  margin-bottom: 0;
  font-size: 14.5px;
}

.table th {
  background-color: var(--secondary);
  color: var(--white);
  font-weight: 600;
  padding: 14px 16px;
  border: none;
  vertical-align: middle;
}

.table td {
  padding: 12px 16px;
  border-color: var(--border-color);
  vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(248, 250, 252, 0.8);
}

.table-hover tbody tr:hover {
  background-color: rgba(0, 167, 181, 0.04);
}

/* Star Rating Symbol */
.star-rating {
  color: var(--accent-orange);
  letter-spacing: 2px;
}

/* 11. FORM CONTROLS (INQUIRY FORM) */
.form-card {
  padding: 40px;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 15px 40px rgba(6, 36, 63, 0.08);
  border: 1px solid var(--border-color);
}

@media (max-width: 576px) {
  .form-card {
    padding: 24px;
  }
}

.form-label {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-label .required-star {
  color: var(--accent-orange);
  margin-left: 2px;
}

.form-control,
.form-select {
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  border: 1.5px solid var(--border-color);
  font-size: 15px;
  transition: var(--transition-smooth);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 167, 181, 0.15);
}

/* Custom Checkbox Group for Product Families */
.product-grid-select {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 768px) {
  .product-grid-select {
    grid-template-columns: 1fr;
  }
}

.product-check-card {
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-check-card:hover {
  border-color: var(--accent);
  background-color: rgba(0, 167, 181, 0.02);
}

.product-check-input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--accent);
}

.product-check-input:checked+span {
  font-weight: 600;
  color: var(--accent);
}

.product-check-card.checked {
  border-color: var(--accent);
  background-color: rgba(0, 167, 181, 0.05);
}

/* Form Validation States overrides */
.was-validated .form-control:valid,
.form-control.is-valid {
  border-color: var(--accent-green);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2346b36a' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.13z'/%3e%3c/svg%3e");
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
  border-color: var(--accent-orange);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23f37021'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23f37021'/%3e%3c/svg%3e");
}

.invalid-feedback {
  color: var(--accent-orange);
  font-size: 13px;
  margin-top: 6px;
}

/* 12. UTILITY & LAYOUT DETAILS */
/* Back To Top Button */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--white);
  border: none;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  background-color: var(--accent-hover);
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(243, 112, 33, 0.4);
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.03) 0%, rgba(51, 65, 85, 0.03) 100%);
  border-left: 4px solid var(--accent);
  padding: 30px;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  margin: 30px 0;
  position: relative;
  z-index: 10;
}

/* Footer Tweak */
footer {
  font-size: 14.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer h5 {
  font-size: 16px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background-color: var(--accent);
}

.footer-link {
  color: rgba(255, 255, 255, 0.65);
  display: block;
  margin-bottom: 12px;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Logo Design using CSS */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(243, 112, 33, 0.3);
}

.logo-text {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
}

.production-box {
  position: absolute;
  bottom: -30px;
  right: -30px;
  max-width: 180px;
  z-index: 20;
  background-color: var(--accent);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 8px 24px rgba(243, 112, 33, 0.35);
}
.justify-text{
  text-align: justify !important;
}