/* ================================================
   GLOBAL THEME VARIABLES
   ================================================ */
:root {
  --crimson: #B71C1C;
  --char: #fff;
  --gold: #b71c1c;
  --white: #ffff;
  --muted: rgba(255, 255, 255, 0.85);
}

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

html, body {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  background: var(--char);
  color: var(--muted);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

.container-wide {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================================================
   PRELOADER
   ================================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: #ffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  transition: opacity 0.8s ease;
}
#preloader img {
  height: 86px;
  display: block;
  margin: 0 auto 12px;
}
#preloader .bar {
  height: 8px;
  width: 220px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}
#preloader .bar > div {
  height: 100%;
  width: 30%;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  animation: load 1.8s infinite;
}
@keyframes load {
  0% { transform: translateX(-100%) }
  50% { transform: translateX(30%) }
  100% { transform: translateX(200%) }
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 14px 0;
  background: linear-gradient(90deg, rgba(183,28,28,1), rgba(18,18,18,1));
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img { height: 56px; }

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.nav-links a {
  position: relative;
  color: #998f8f;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 6px;
  transition: all 0.25s;
}
.nav-links a:hover {
  color: var(--white);
}
.nav-links a.active {
  color: white;
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s ease-in-out;
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  position: relative;
  height: 78vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero video {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}
.hero .content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 980px;
  padding: 20px;
}
.hero .kicker {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background:#B71C1C;
  color: #fff;
  font-weight: 700;
}
.h1 {
  font-size: 44px;
  margin-top: 12px;
  line-height: 1.02;
}
.lead {
  font-size: 18px;
  color: rgba(255,255,255,0.92);
  margin-top: 12px;
}
.btn-crimson {
  background: var(--crimson);
  color: var(--white);
  border: none;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  margin-top: 18px;
  transition: background 0.3s;
}
.btn-crimson:hover {
  background: #d11f1f;
}

/* ================================================
   GENERAL SECTIONS
   ================================================ */
.section {
  padding: 72px 0;
}

/* ================================================
   PROJECT HIGHLIGHTS SECTION
   ================================================ */
.projects {
  background:#fff;
  color: #B71C1C;
  text-align: center;
}
.projects .section-heading {
  color: var(--gold);
  font-weight: 700;
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.projects .section-subtext {
  color: #B71C1C;
  font-size: 1.1rem;
  margin-bottom: 30px;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #b71c1c; /* Crimson color */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  background-size: 50%;
  filter: none !important;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0L1 4l4.25 4V0z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l4.25 4-4.25 4V0z'/%3E%3C/svg%3E");
}

.carousel-control-prev,
.carousel-control-next {
  opacity: 0.9;
  transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* ================================================
   ABOUT SECTION
   ================================================ */
.about {
  background: linear-gradient(90deg, rgba(183,28,28,1), rgba(18,18,18,1));
  color: var(--muted);
}
.about h2.section-title {
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 20px;
}
.about p {
  font-size: 16px;
  line-height: 1.8;
}
.about-list {
  list-style: none;
  padding: 0;
  margin-top: 18px;
}
.about-list li {
  margin-bottom: 10px;
  font-weight: 500;
  color: #ddd;
}
.about-list i {
  color: var(--crimson);
  margin-right: 8px;
  font-size: 18px;
}
/* ================================================
   CALL TO ACTION (CTA) SECTION
   ================================================ */
.section.fade-up.text-center {
  background: #fff;
  color: #B71C1C;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section.fade-up.text-center h3 {
  color: #B71C1C;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.section.fade-up.text-center p {
  color: #B71C1C;
  font-size: 17px;
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.8;
}

.section.fade-up.text-center .btn-crimson {
  background: var(--crimson);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.section.fade-up.text-center .btn-crimson:hover {
  background: #d11f1f;
  transform: translateY(-2px);
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: #111111;
  color: #ffffff;
  padding: 70px 0 40px;
  border-top: 4px solid var(--crimson);
}
.footer h5 {
  color: #B71C1C;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0.5px;
}
.footer-logo {
  width: 160px;
  height: auto;
  margin-bottom: 20px;
}
.footer p {
  font-size: 15px;
  line-height: 1.8;
  color: #cccccc;
}
.footer a {
  color: #dddddd;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer a:hover {
  color: var(--gold);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer .social-icons {
  margin-top: 15px;
}
.footer .social-icons a {
  color: #ffffff;
  font-size: 1.5rem;
  margin-right: 18px;
  display: inline-block;
  transition: all 0.3s ease;
}
.footer .social-icons a:hover {
  color: var(--gold);
  transform: scale(1.2);
}

/* Copyright Bar */
.footer-bottom {
  background-color: var(--crimson);
  text-align: center;
  padding: 15px 0;
}
.footer-bottom p {
  color: #f1f1f1;
  font-size: 14px;
  margin: 0;
}
@media (max-width: 768px) {
  .footer { text-align: center; }
  .footer .social-icons a { margin: 10px 8px; }
}

/* ================================================
   ENQUIRE TAB
   ================================================ */
.enquire-tab {
  position: fixed;
  right: 0;
  top: 40%;
  background: var(--crimson);
  color: #fff;
  font-weight: 600;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 14px 10px;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  cursor: pointer;
  z-index: 1002;
  transition: background 0.3s;
}
.enquire-tab:hover {
  background: #d11f1f;
}

/* ================================================
   ENQUIRY POPUP FORM
   ================================================ */
.enquiry-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.enquiry-popup.show {
  display: flex;
}
.popup-content {
  background: #222;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 420px;
  color: #fff;
  position: relative;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
}
.popup-content h4 {
  color: var(--gold);
  text-align: center;
  margin-bottom: 20px;
}
.popup-content input,
.popup-content textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #444;
  background: #111;
  color: #fff;
  border-radius: 6px;
  margin-bottom: 15px;
}
.popup-content .btn-crimson {
  width: 100%;
}
.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.3s;
}
.close-btn:hover {
  color: var(--crimson);
}
/* ================================================
   ABOUT PAGE STYLING
   ================================================ */

/* Hero Section - About Page */
.about-hero {
  position: relative;
  background: linear-gradient(to bottom right, #f8f8f8, #ffffff);
  padding: 120px 0 80px;
  color: #B71C1C !important;
  z-index: 1;
}

/* Remove any overlay darkness effect */
.about-hero .overlay {
  display: none !important;
}

/* Ensure text color overrides Bootstrap */
.about-hero h1 {
  color: #B71C1C !important;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  font-weight: 700;
}

.about-hero p {
  color: #7a0f0f !important; /* darker shade of crimson for contrast */
  font-size: 1.1rem;
  font-weight: 500;
}

/* Adjust container alignment if needed */
.about-hero .container {
  position: relative;
  z-index: 2;
}
/* Hero Section Divider */
.hero-divider {
  width: 100%;
  height: 6px;
  background: #B71C1C; /* your theme crimson */
  border-radius: 3px;
  margin-top: 50px;
}


/* About Company Section */
.about-company {
  background: #fff;;
  color: #b71c1c;
}
.about-company h2.section-title {
  color: #b71c1c;
  font-weight: 700;
}
.about-company p {
  color: #b71c1c;
  font-size: 16px;
  line-height: 1.8;
}
.about-company ul.about-list li {
  color: #b71c1c;
}

/* Mission, Vision, Values */
.mission-vision {
  background: linear-gradient(90deg, rgba(183,28,28,1), rgba(18,18,18,1));
  color: #ffffff;
}
.mission-vision .section-title {
  color: #fff
}
.mv-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 25px;
  border-radius: 10px;
  transition: all 0.3s ease;
}
n 
.mv-card h4 {
  color: var(--gold);
  margin-bottom: 12px;
}
.mv-card p {
  color: #f1f1f1;
}
.mv-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

/* CTA Section */
.section.text-center {
  background: #121212;
  color: #ffffff;
}
.section.text-center h3 {
  color: var(--gold);
  font-weight: 700;
}
.section.text-center p {
  color: #e0e0e0;
}
.section.text-center .btn-crimson:hover {
  background-color: #d11f1f;
}

/* Adjust section spacing for visual flow */
.section {
  padding: 80px 0;
}
/* Hero Section (Why Choose Us) */
.why-hero {
  position: relative;
  background: url('../images/why-hero.jpg') center/cover no-repeat;
  padding: 120px 0 80px;
  color: #fff;
}
.why-hero h1 {
  color: #B71C1C;
}
.why-hero p {
  color: #b71c1c;
}

/* Divider Bar Below Hero */
.hero-divider {
  width: 100%;
  height: 3px;
  background: #B71C1C;

}

/* Why Choose Us Cards */
.why-section {
  background-color: #bbb;
  color: #222;
}
.why-section .section-title {
  color: #B71C1C;
  font-weight: 700;
}
.why-section .section-subtext {
  color: #555;
  margin-bottom: 40px;
}
.why-card {
  background: #fafafa;
  padding: 30px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}
.why-card:hover {
  background: #B71C1C;
  color: #fff;
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.why-card h4 {
  font-weight: 600;
  color: #B71C1C;
  margin-bottom: 12px;
}
.why-card:hover h4 {
  color: #fff;
}
