:root {
  --maroon: #8B1A1A;
  --maroon-dark: #6B1414;
  --maroon-light: #A52020;
  --dark: #1a1a1a;
  --gray-bg: #f5f5f5;
  --gray-text: #555;
  --light-border: #e0e0e0;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; color: #333; overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: 'Montserrat', sans-serif; }

.is-invalid {
  border-color: #dc3545 !important;
}

.invalid-feedback-custom {
  color: #dc3545;
  font-size: 0.825rem;
  margin-top: 4px;
  display: block;
}

.req {
    color: #dc3545;
}

/* ============ NAVBAR ============ */
.navbar-custom {
  background: linear-gradient(45deg, #8b1a1a 50%,transparent 51%, transparent 100%);
  padding: 0.5rem 2rem;
  position: relative;
  z-index: 100;
  box-shadow: 0 0 20px #00000042;
}
.navbar-custom .nav-link {
  color: #ccc !important;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s;
}
.navbar-custom .nav-link:hover { color: #fff !important; }
.navbar-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -5px;
  z-index: 10;
}
.navbar-logo img { height: 170px; }
.logo-circle {
      width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: #fff;
}
.logo-circle .top-text { font-size: 6px; text-transform: uppercase; letter-spacing: 1.5px; color: #ccc; }
.logo-circle .big-b { font-family: 'Georgia', serif; font-size: 28px; font-weight: bold; color: #fff; line-height: 1; }
.logo-circle .bottom-text { font-size: 5.5px; text-transform: uppercase; letter-spacing: 1px; color: #ccc; }
.btn-quote-nav {
      border: 1px solid #ccc;
    color: #000000;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 6px 18px;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    background: #fff;
}
.btn-quote-nav:hover { background: #fff; color: #111; }

/* ============ HERO ============ */
.hero-section {
  position: relative;
  height: 650px;
  background: linear-gradient(135deg, rgba(20,15,10,0.7), rgba(40,25,10,0.5)),
    url('../images/bg.png') center/cover no-repeat;  
}
.hero-section::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(transparent, rgba(0,0,0,0.3));
}
.hero-content { position: relative;
    z-index: 2;
    padding: 0 60px;
    height: 500px;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
}
.hero-content h1 {
  font-size: 3rem; font-weight: 900; color: #fff;
  line-height: 1.1; margin-bottom: 12px; text-transform: uppercase;
  font-family: "Gelasio", serif;
}
.hero-content p {
  color: rgba(255,255,255,0.8); font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
}
.btn-quote {
  background: var(--maroon); color: #fff;
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; padding: 10px 28px;
  border: none; border-radius: 4px; letter-spacing: 0.5px;
  transition: background 0.3s;
}
.btn-quote:hover { background: var(--maroon-dark); color: #fff; }

/* ============ ABOUT SECTION (3 Cards) ============ */
.about-section { padding: 0; position: relative; z-index: 5; }
.about-card {
  background: #F0ECE0; padding: 30px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08); height: 100%;
}
.about-card-last{
  background: #1C1C1C;padding: 30px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08); height: 100%;
}
.about-card h5 {
  font-size: 0.95rem; font-weight: 800; text-transform: uppercase;
  margin-bottom: 4px; color: #222;
}
.about-card .underline-red { width: 40px; height: 3px; background: var(--maroon); margin-bottom: 16px; }
.about-card p { font-size: 0.82rem; color: var(--gray-text); line-height: 1.65; }
.about-icons { display: flex;margin-top: 20px;justify-content: space-between;padding: 0 25px; }
.about-icon-item { text-align: center; }
.about-icon-item .icon-circle {
      width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #8b1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    font-size: 20px;
    color: #ffffff;
    background: #7A1414;
}
.about-icon-item span { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; color: #333; display: block; line-height: 1.2; }
.about-card-last h5 {
  font-size: 0.95rem; font-weight: 800; text-transform: uppercase;
  margin-bottom: 4px; color: #ffffff;
}
.bi-check-circle-fill::before {
    background: #fff;
    border-radius: 50%;
}
.about-card-last .underline-red { width: 40px; height: 3px; background: var(--maroon); margin-bottom: 16px; }
.about-card-last p { font-size: 0.82rem; color: var(--gray-text); line-height: 1.65; }
.about-card-last .choose-item span { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; color: #ececec; }
/* Dark card (What We Do) */
.dark-card {
  background: var(--maroon); color: #fff;
  padding: 30px 28px; height: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.dark-card h5 { font-size: 0.95rem; font-weight: 800; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.dark-card .service-item { display: flex; align-items: anchor-center; gap: 12px; margin-bottom: 16px; }
.dark-card .service-icon {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 16px; color: #fff;background: #ffffff12;
}
.dark-card .service-item p { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin: 0; line-height: 1.4; }
.btn-services {
  display: block; width: 100%; text-align: center;
  background: transparent; border: 1.5px solid #fff; color: #fff;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  padding: 10px 20px; border-radius: 4px; margin-top: 20px;
  letter-spacing: 0.5px; transition: all 0.3s; text-decoration: none;
}
.btn-services:hover { background: #fff; color: var(--maroon); }

/* Why Choose */
.choose-item { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.choose-item .bi-check-circle-fill { color: var(--maroon); font-size: 18px; }
.choose-item span { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; color: #333; }

/* ============ HISTORY ============ */
/* ============ HISTORY (Editorial Style) ============ */
.history-section {
    padding: 100px 0;
    background: #fdfdfd; /* Very light gray background to make the white card pop */
}

/* This creates the large white container seen in the image */
.history-main-card {
    background: #fff;
    padding: 60px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.history-row {
    margin-bottom: 80px;
}

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

.history-img {
    width: 100%;
    height: auto; /* Let it scale naturally like the image */
    max-height: 450px;
    object-fit: cover;
    border-radius: 15px; /* Matches the rounded corners in your reference */
}

.history-content {
    padding: 0 20px;
}

/* The small red line above the title */
.accent-line {
    width: 40px;
    height: 3px;
    background-color: var(--maroon); /* Uses your maroon variable */
    margin-bottom: 20px;
}

.history-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #1a1a1a;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.history-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .history-main-card { padding: 30px; }
    .history-row { margin-bottom: 50px; }
    .history-content { padding: 30px 0 0 0; }
    .history-img { height: 300px; }
}

/* ============ SERVICES ============ */
.services-section { padding: 70px 0; background: var(--gray-bg); }
.services-section h2 {
  font-size: 2rem; font-weight: 600; text-transform: uppercase;
  text-align: center; margin-bottom: 6px; color: #222;
}
.services-underline { width: 60px; height: 3px; background: var(--maroon); margin: 0 auto 12px; }
.services-section .subtitle {
  text-align: center; font-size: 0.88rem; color: var(--gray-text); margin-bottom: 40px;
}
.service-card {
  background: #fff; border-radius: 12px; padding: 30px 24px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06); height: 100%;
}
.service-card .icon-box {
  width: 50px; height: 50px; background: var(--maroon); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; margin-bottom: 16px;
}
.service-card h6 { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; margin-bottom: 10px; }
.service-card p { font-size: 0.82rem; color: var(--gray-text); line-height: 1.6; }
.service-card .learn-more {
  color: var(--maroon); font-size: 0.82rem; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
}
.service-card .learn-more:hover { text-decoration: underline; }

/* ============ CONTACT / GET IN TOUCH ============ */
.contact-section { padding: 80px 0; background: #fff; }
.contact-section h2 {
  font-size: 2rem; font-weight: 600; text-transform: uppercase;
  color: #222; margin-bottom: 6px;
}
.contact-section .underline-red { width: 60px; height: 3px; background: var(--maroon); margin-bottom: 24px; }
.contact-section .subtitle {
  color: #999; font-size: 0.95rem; line-height: 1.7; margin-bottom: 40px; max-width: 420px;
}
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-info-item .ci-icon {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  color: var(--maroon); font-size: 22px; flex-shrink: 0; margin-top: 2px;
}
.contact-info-item h6 { font-size: 0.95rem; font-weight: 700; color: var(--maroon); margin-bottom: 4px; }
.contact-info-item p { font-size: 0.88rem; color: #444; margin: 0; line-height: 1.5; }

.contact-form-card {
  background: #fff; border-radius: 12px; padding: 36px 32px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}
.contact-form-card h4 { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; color: #222; }
.contact-form-card label {
  font-size: 0.82rem; font-weight: 600; color: #333; margin-bottom: 6px; display: block;
}
.contact-form-card .form-control {
  border: 1px solid #ddd; border-radius: 8px; padding: 12px 16px;
  font-size: 0.88rem; color: #333; margin-bottom: 18px; transition: border-color 0.3s;
}
.contact-form-card .form-control:focus { border-color: var(--maroon); box-shadow: 0 0 0 2px rgba(139,26,26,0.1); }
.contact-form-card .form-control::placeholder { color: #bbb; }
.contact-form-card textarea.form-control { min-height: 120px; resize: vertical; }
.btn-submit {
  width: 100%; background: var(--maroon); color: #fff;
  font-size: 0.88rem; font-weight: 700; text-transform: uppercase;
  padding: 14px 20px; border: none; border-radius: 8px;
  letter-spacing: 1px; transition: background 0.3s; cursor: pointer;
}
.btn-submit:hover { background: var(--maroon-dark); }
.btn-contact{
  background: #ffffff1c;
  color: #fff;
}
/* ============ FACILITY PROFILE SETUP ============ */
.facility-section { padding: 60px 0 80px; background: #f9f9f9; }
.facility-header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 8px;
}
.facility-header .fh-icon {
  width: 48px; height: 48px; background: var(--maroon); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; flex-shrink: 0;
}
.facility-header h2 { font-size: 1.4rem; font-weight: 800; color: #222; margin: 0; }
.facility-header .fh-sub { font-size: 0.82rem; color: #888; margin: 0; }
.facility-desc {
  font-size: 0.88rem; color: #555; line-height: 1.7;
  margin: 20px 0 30px; max-width: 900px;
}

.facility-accordion .accordion-item {
  border: 1px solid #e8e8e8; border-radius: 10px !important;
  margin-bottom: 12px; overflow: hidden; background: #fff;
}
.facility-accordion .accordion-button {
  font-family: 'Montserrat', sans-serif; font-size: 0.92rem; font-weight: 700;
  color: #222; background: #fff; padding: 18px 24px;
  box-shadow: none !important; gap: 10px;
}
.facility-accordion .accordion-button::after { filter: none; }
.facility-accordion .accordion-button:not(.collapsed) { background: #fff; color: #222; }
.facility-accordion .accordion-button .acc-icon {
  color: var(--maroon); font-size: 18px; flex-shrink: 0;
}
.facility-accordion .accordion-body { padding: 0 24px 24px; }
.facility-accordion label {
  font-size: 0.8rem; font-weight: 600; color: #444; margin-bottom: 5px; display: block;
}
.facility-accordion label .req { color: var(--maroon); }
.facility-accordion label .field-icon { color: #888; margin-right: 4px; font-size: 13px; }
.facility-accordion .form-control,
.facility-accordion .form-select {
  border: 1px solid #ddd; border-radius: 6px; padding: 10px 14px;
  font-size: 0.85rem; color: #333;
}
.facility-accordion .form-control:focus,
.facility-accordion .form-select:focus {
  border-color: var(--maroon); box-shadow: 0 0 0 2px rgba(139,26,26,0.08);
}
.facility-accordion .form-check-label { font-size: 0.8rem; font-weight: 600; color: #444; }
.facility-accordion .form-check-input:checked { background-color: var(--maroon); border-color: var(--maroon); }

/* Toggle switch */
.toggle-wrap { display: inline-flex; align-items: center; gap: 8px; }
.toggle-wrap .form-check-input { width: 40px; height: 20px; }
.toggle-wrap span { font-size: 0.8rem; color: #555; }
.about-section h3.CstmHead {
    margin-top: 2rem;
    font-size: 1.5rem;
    color: #8b1a1a;
}
.about-section p{
  font-size: 1rem;
  line-height: 35px;
  letter-spacing: 1px;
}
.about-section p i {
    text-align: center;
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    color: #8b1a1a;
}
.cstmBorder{
  border-left: 2px solid #8b1a1a;
  padding: 5px 10px;
  margin: 10px;
}
.industry-sec {
    background: #f9fafb;
    padding: 1rem;
}
.about-section ul li {
    margin-top: 0.5rem;
}
.bgCstm{
  background: #8b1a1a;
  justify-content: center;
}
.bgCstm>*{
  color:#fff;
}
.bgCstm p{
  font-size: 14px;
  font-weight: 400;
}
.about-section b{
  color: #8b1a1a;
}
img[alt="history"] {
    max-width: 100%;
}
/* ============ FOOTER ============ */
.footer-custom {
  background: #111; color: #999; padding: 24px 0;
}
.footer-custom .footer-logo { height: 45px; opacity: 0.8; }
.footer-custom .footer-info { font-size: 0.8rem; display: flex; align-items: center; gap: 6px; }
.footer-custom .footer-info i { color: #999; }
.footer-custom .footer-phone { font-size: 1rem; font-weight: 400; color: #ddd; display: flex; align-items: center; gap: 8px; }
.footer-custom .footer-phone i { font-size: 1.1rem; }
.footer-custom .footer-tagline { font-style: italic;font-size: 1rem; color: #888;text-align: center;}
@media(max-width:820px) {
.navbar-custom {
    background: #8b1a1a;
  }
}
@media(max-width:768px) {
  .hero-content h1 { font-size: 2rem; }
  .hero-content { padding: 0 24px; }
  .about-section { margin-top: 0; }
  .navbar-logo { position: static; transform: none; }
  .history-img { height: 220px; margin-bottom: 20px; }
  .footer-custom .row > div { text-align: center !important; margin-bottom: 12px;}
  .navbar-custom {
    background: #8b1a1a;
  }
  .footer-custom .footer-phone, .footer-custom .footer-info{
    justify-content: center;
  }
  .logo-circle{
    margin: 0 auto;
  }
  .hero-btn{
    flex-direction: column;
  }
}

.parsley-errors-list {
    list-style: none;      /* Remove bullet points */
    color: red;            /* Make errors red */
    padding-left: 0;       /* Remove padding */
    margin-top: 5px;       /* Add spacing */
    font-size: 0.9rem;     /* Optional: smaller font */
}