/* ============================================================
   MELITA ENGINEERING SERVICES — GLOBAL STYLESHEET
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --red:        #DA251D;
  --red-dark:   #B8211A;
  --dark:       #333333;
  --darker:     #222222;
  --white:      #ffffff;
  --light:      #F7F7F7;
  --text:       #000000;
  --text-muted: #333333;
  --font-main:  'Poppins', sans-serif;
  --font-head:  'Montserrat', sans-serif;
  --transition: 0.3s ease;
  --shadow:     0 4px 24px rgba(0,0,0,0.09);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.13);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  width: 100%;
}
p {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #000000;
  text-align: justify;
  margin-bottom: 1.75em;
}
strong, b {
  font-weight: 700;
  color: #000000;
}
img { 
  max-width: 100%; 
  height: auto;
}
a { text-decoration: none; color: inherit; }

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section-pad   { padding: 80px 0; }
.section-pad-sm{ padding: 50px 0; }

.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  border-left: 3px solid var(--red);
  padding-left: 10px;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title span { color: var(--red); }
.section-divider {
  width: 52px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 620px;
}

/* ============================================================
   TOP HEADER BAR
   ============================================================ */
.top-header {
  background: #222222; /* Darker charcoal like in image */
  position: relative;
  z-index: 10; /* Lower z-index so navbar can overlay it if needed */
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-header-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.top-contact {
  background: #DA251D;
  display: flex;
  align-items: center;
  flex: 1;
  padding: 12px 60px 12px 2000px;
  margin-left: -2000px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 50px) 100%, 0 100%);
  color: #ffffff !important;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-decoration: none;
}
.top-contact:hover { background: #B8211A; }
.top-contact i { font-size: 18px; }

.top-header-inner > div {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 50px; /* Space for the slant */
}

.top-email {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff !important;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 400;
  padding: 12px 0;
  text-decoration: none;
}
.top-email:hover { color: #DA251D !important; }
.top-email i { font-size: 16px; }

.top-social {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 10px;
}
.top-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 2px; /* Subtle rounding like in Image 2 */
  background: #ffffff;
  color: #222222;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.top-social a:hover {
  background: #DA251D;
  color: #ffffff;
}

/* ============================================================
   MAIN NAVBAR
   ============================================================ */
.main-navbar {
  background: var(--white);
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 1050;
}
.navbar-brand {
  display: flex;
  align-items: center;
  padding-top: 5px;
  padding-bottom: 5px;
}
.navbar-brand img {
  height: 75px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition);
  display: block;
}
@media (max-width: 991px) {
  .navbar-brand img { height: 60px; }
}

/* @media (max-width: 425px) {
  .navbar-brand img { height: 40px; }
} */
.navbar-brand img:hover { transform: scale(1.04); }

.main-navbar .nav-link {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
  color: #333333 !important;
  padding: 15px 20px !important;
  transition: color var(--transition);
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active { color: var(--red) !important; }

/* Desktop Hover Dropdowns */
@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

.main-navbar .dropdown-toggle::after {
  display: inline-block;
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  border: none;
  vertical-align: middle;
  margin-left: 8px;
  font-size: 12px;
}

.main-navbar .dropdown-menu {
  border: 1px solid #ddd;
  border-radius: 0;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  padding: 0;
  width: 300px;
  background: #ffffff;
  margin-top: 0;
  animation: dropFade 0.25s ease;
  max-height: 400px; /* Limit height */
  overflow-y: auto;  /* Enable scroll */
}
@media (max-width: 991px) {
  .main-navbar .dropdown-menu {
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    background: #f9f9f9;
    padding: 10px 0;
    max-height: 350px; /* Slightly shorter on mobile */
    overflow-y: auto;
  }
}
.main-navbar .dropdown-menu-wide {
  width: 300px;
}
@media (min-width: 992px) {
  .main-navbar .dropdown-menu-wide {
    width: 450px;
  }
}
@keyframes dropFade {
  from { opacity:0; transform:translateY(-10px); }
  to   { opacity:1; transform:translateY(0); }
}
.main-navbar .dropdown-item {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #1a2b56; /* Navy blue from screenshot */
  padding: 8px 15px;
  white-space: normal;
  line-height: 1.4;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  background: transparent !important; /* Ensure li background shows through */
}
.main-navbar .dropdown-menu li:nth-child(odd) {
  background: #f4f7f9; /* Light grey alternating bg */
}
.main-navbar .dropdown-menu li:nth-child(even) {
  background: #ffffff;
}
.main-navbar .dropdown-item:hover {
  background: #eef2f5;
  color: #DA251D;
  padding-left: 30px;
}
.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
#heroCarousel { position: relative; overflow: hidden; }
#heroCarousel .carousel-item img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ============================================================
   HIGHLIGHT SECTION
   ============================================================ */
.highlight-section {
  width: 100%;
  border-top: 90px solid #333333;
}
.highlight-col {
  background: #fbfbfb; /* Base very light grey/white */
  border-right: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}
.highlight-col:hover {
  background: #ff5252;
}
.highlight-col:hover .highlight-title {
  color: #1a1a1a; /* Keep title dark on hover as per screenshot */
}
.highlight-box {
  padding: 50px 20px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.highlight-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 40px;
  text-transform: uppercase;
}
.highlight-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 220px;
}
.highlight-img img {
  max-width: 90%;
  max-height: 240px;
  object-fit: contain;
}
.carousel-caption-custom {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  z-index: 10;
  max-width: 500px;
  text-align: left;
}
.carousel-caption-custom .tag-line {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.carousel-caption-custom .tag-line::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--red);
}
.carousel-caption-custom h1,
.carousel-caption-custom h2 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
  margin-bottom: 14px;
}
.carousel-caption-custom h1 { font-size: 3rem; }
.carousel-caption-custom h2 { font-size: 2.4rem; }
.carousel-caption-custom h1 span,
.carousel-caption-custom h2 span { color: var(--red); }
.carousel-caption-custom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 26px;
  line-height: 1.7;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-carousel {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 30px;
  border: 2px solid var(--red);
  border-radius: 2px;
  transition: all var(--transition);
}
.btn-carousel:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
}
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  top: 50%; bottom: auto;
  transform: translateY(-50%);
}
.carousel-control-prev { left: 14px; }
.carousel-control-next { right: 14px; }
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--red);
  border-radius: 50%;
  width: 46px; height: 46px;
  background-size: 48%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: all var(--transition);
}
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--red-dark);
  transform: scale(1.1);
}
.carousel-indicators [data-bs-target] {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  margin: 0 4px;
  transition: all var(--transition);
}
.carousel-indicators .active {
  background: var(--red);
  transform: scale(1.3);
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--red);
  padding: 28px 0;
}
.stat-item {
  text-align: center;
  color: var(--white);
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.3);
}
.stat-item .stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-item .stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.88;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: var(--white); padding: 80px 0; }
.about-subtitle {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #444444;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.about-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #DA251D; /* Bright brand red */
  margin-bottom: 15px;
}
.about-divider {
  width: 140px;
  height: 4px;
  background: linear-gradient(to right, #333333 50%, #DA251D 50%);
  margin-bottom: 28px;
}
.about-text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #222222;
  text-align: justify;
  margin-bottom: 40px;
}
.about-text strong {
  font-weight: 700;
  color: #000000;
}
.btn-about-readmore {
  background: #DA251D;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-about-readmore:hover {
  background: #c62828;
  color: #ffffff;
}

/* About Images Overlap */
.about-images {
  position: relative;
  width: 100%;
  padding-right: 40px; /* Make room for overlap */
  padding-bottom: 40px;
}
.about-img-back {
  width: 60%;
  height: auto;
  display: block;
  object-fit: cover;
}
.about-img-front {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  height: auto;
  border: 6px solid #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section { background: var(--white); padding: 80px 0; }
.services-main-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #DA251D;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.services-grid {
  /* Separated rows */
}
.service-card-new {
  background: #ebebeb; /* Uniform grey bg for the whole card */
  border: 1px solid #a0a0a0; /* Distinct dark border on all sides */
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  z-index: 1;
}
.service-card-new:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  z-index: 2; /* Bring hovered card above others */
}
.service-img-box {
  background: transparent;
  padding: 0; /* Image width equal to box width */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
}
.service-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 8px solid #ffffff; /* Thick white border acting as a frame */
  transition: transform 0.3s ease;
}

@keyframes bipbip {
  0%, 100% { transform: scale(0.9); }
  50% { transform: scale(1.1); }
}

.service-card-new:hover .service-img-box img {
  animation: bipbip 1.0s ease-in-out infinite; /* Energetic pulse speed */
}
.service-title-new {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  padding: 22px 15px;
  flex-grow: 1;
  margin: 0;
  line-height: 1.5;
}
.btn-service-outline {
  display: inline-block;
  margin: 0 15px 22px 15px;
  padding: 8px 0;
  border: 1px solid #DA251D;
  color: #222222;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-service-outline i {
  margin-right: 6px;
  color: #333333;
  transition: all 0.3s ease;
}
.btn-service-outline:hover {
  background: #DA251D;
  color: #ffffff;
}
.btn-service-outline:hover i {
  color: #ffffff;
}

/* ============================================================
   CLIENTS SECTION (SLIDER)
   ============================================================ */
.clients-section {
  padding: 80px 0;
}
.marquee-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 0;
}
.marquee-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: max-content;
}
.client-logo-box {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 15px;
  padding: 20px;
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 270px; /* Default for mobile/tablet */
  height: 140px;
}
.client-logo-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}
.client-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}


/* ============================================================
   PARALLAX CTA BANNER
   ============================================================ */
.cta-banner {
  background: url('../img/bgimg1.jpg') center/cover no-repeat fixed;
  position: relative;
  padding: 90px 0;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0.75);
}
.cta-banner-inner { position: relative; z-index: 2; }
.cta-banner h2 {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-banner h2 span { color: var(--red); }
.cta-banner p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}
.btn-white-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 13px 32px;
  border: 2px solid var(--white);
  border-radius: 2px;
  margin: 0 6px;
  transition: all var(--transition);
}
.btn-white-outline:hover {
  background: var(--white);
  color: var(--red);
  transform: translateY(-2px);
}
.btn-red-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 13px 32px;
  border: 2px solid var(--red);
  border-radius: 2px;
  margin: 0 6px;
  transition: all var(--transition);
}
.btn-red-solid:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   PROJECTS SECTION
   ============================================================ */
.projects-section { background: var(--white); }
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}
.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.project-card:hover img { transform: scale(1.08); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(192,57,43,0.88) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay h4 {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.4;
}

/* ============================================================
   NEW CENTERED FOOTER
   ============================================================ */
.site-footer-new {
  background: #262626;
  color: #ffffff;
  padding: 80px 0 40px;
}
.footer-logo-center img {
  height: 65px;
  margin-bottom: 40px;
}
.footer-nav-links {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 45px; /* Increased gap */
}
.footer-nav-links li a {
  color: #ffffff; /* Brighter white */
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-nav-links li a:hover {
  color: var(--red);
}
.footer-social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 50px;
}
.footer-social-icons a {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,0.3); /* Thinner border as in image */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-social-icons a:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}
.footer-divider {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 0 auto 35px;
  width: 100%;
}
.footer-copyright {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-copyright p {
  color: #ffffff;
  margin-bottom: 0;
}
.footer-copyright a {
  color: #00c2cb; /* Cyan color from reference */
  text-decoration: none;
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
  .footer-nav-links { gap: 30px; }
}

@media (max-width: 991px) {
  .top-header { position: relative !important; z-index: 10 !important; }
  .main-navbar { position: sticky !important; top: 0 !important; z-index: 1100 !important; }
  
  .top-contact { clip-path: none; padding: 10px 15px; font-size: 0.85rem; }
  .top-email { font-size: 0.85rem; padding-left: 15px; }
  .top-social a { width: 28px; height: 28px; font-size: 14px; }
  
  .main-navbar .navbar-brand img { height: 60px; }
  .nav-link { padding: 10px 15px !important; font-size: 14px; }
  
  #heroCarousel .carousel-item img { height: 380px; }
  .carousel-caption-custom h1 { font-size: 2rem; }
  .carousel-caption-custom h2 { font-size: 1.6rem; }
  
  .section-pad { padding: 60px 0; }
  .section-pad-sm { padding: 40px 0; }
  
  .section-title { font-size: 1.8rem; }
}

@media (max-width: 767px) {
  .top-email { display: none; }
  .top-header-inner { justify-content: center; }
  .top-contact { flex: 1; text-align: center; justify-content: center; clip-path: none; padding: 8px 0; }
  
  #heroCarousel .carousel-item img { height: 300px; }
  .carousel-caption-custom { max-width: 90%; bottom: 15%; }
  .carousel-caption-custom h1 { font-size: 1.5rem; }
  .carousel-caption-custom h2 { font-size: 1.2rem; }
  .carousel-caption-custom p { display: none; }
  .btn-carousel { padding: 8px 16px; font-size: 13px; }
  
  .section-pad { padding: 40px 0; }
  .section-pad-sm { padding: 30px 0; }
  .section-title { font-size: 1.5rem; }
  
  .footer-logo-center img { height: 50px; margin-bottom: 25px; }
  .footer-nav-links { gap: 20px; margin-bottom: 30px; }
  .footer-nav-links li a { font-size: 14px; }
  .footer-social-icons { gap: 15px; margin-bottom: 35px; }
  .footer-social-icons a { width: 42px; height: 42px; font-size: 16px; }
  
  .inner-hero { height: 250px; }
  .breadcrumb-bar { padding: 8px 15px; }
  .breadcrumb-bar h1 { font-size: 18px; }
  
  p { font-size: 15px; margin-bottom: 1.2em; }
}

@media (max-width: 575px) {
  .top-social { display: none; }
  .section-title { font-size: 1.4rem; }
  .stat-item .stat-num { font-size: 1.5rem; }
  .footer-copyright { font-size: 12px; }
  
  .about-page-title { font-size: 1.5rem; }
  .navbar-brand img { height: 40px; width: 200px; }
  .img-border-frame { right: -10px; top: 10px; border-width: 2px; }
  .img-border-frame.frame-left { left: -10px; }
}
@media (max-width: 425px) {
  .about-page-title { font-size: 1.15rem; }
  .section-title { font-size: 1.3rem; }
  .inner-hero h1 { font-size: 16px; }
  .section-pad { padding: 35px 0; }
  .img-border-frame { display: none; }
  .navbar-brand img { height: 45px; }
}

@media (max-width: 375px) {
  .about-page-title { font-size: 1.05rem; }
  .navbar-brand img { height: 40px; }
  .inner-hero h1 { font-size: 13px; }
  .top-contact { font-size: 0.8rem; }
}

@media (max-width: 320px) {
  .about-page-title { font-size: 0.95rem; }
  .section-title { font-size: 1.1rem; }
  .navbar-brand img { height: 35px; }
  .inner-hero { height: 160px; }
  .inner-hero h1 { font-size: 12px; }
  .top-contact { font-size: 0.75rem; }
}
/* ============================================================
   ABOUT PAGE SPECIFIC STYLES
   ============================================================ */

/* Inner Hero / Breadcrumb */
.inner-hero {
  height: 420px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}
.breadcrumb-bar {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 25px;
  display: inline-block;
}
.breadcrumb-bar h1 {
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
}
.breadcrumb-bar h1 span {
  color: #ffffff;
}
.breadcrumb-bar h1 i {
  font-size: 16px;
  margin: 0 10px;
  vertical-align: middle;
}

/* Page Titles */
.about-page-overview {
  background-color: var(--light); 
}
.section-label-top {
  display: block;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}
.about-page-title {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.about-divider-left {
  display: flex;
  align-items: center;
  height: 4px;
  margin-bottom: 30px;
}
.about-divider-left::before {
  content: '';
  width: 50px;
  height: 100%;
  background: #333333;
}
.about-divider-left::after {
  content: '';
  width: 100px;
  height: 100%;
  background: var(--red);
}

/* Centered version */
.about-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4px;
  margin: 0 auto 30px;
}
.about-divider::before {
  content: '';
  width: 50px;
  height: 100%;
  background: #333333;
}
.about-divider::after {
  content: '';
  width: 100px;
  height: 100%;
  background: var(--red);
}
.about-page-text {
  /* Inherits from global p */
}

/* Overview Image Wrap */
.overview-img-wrap {
  position: relative;
  padding: 30px; /* Space for the offset frame */
}
.overview-img-wrap img {
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  width: 100%;
  max-width: 580px;
  height: auto;
  max-height: 550px;
  object-fit: cover;
  display: block;
}
.overview-img-wrap.text-end img {
  margin-left: auto;
  margin-right: 0;
}
.overview-img-wrap.text-start img {
  margin-left: 0;
  margin-right: auto;
}

.img-border-frame {
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 100%;
  border-top: 5px solid #DA251D;
  border-right: 5px solid #DA251D;
  z-index: 1;
}
.img-border-frame.frame-left {
  right: auto;
  left: 0;
  border-right: none;
  border-left: 5px solid #DA251D;
}




/* Vision / Mission / Values */
.vmv-box {
  padding: 20px;
}
.vmv-icon {
  width: 110px;
  height: 110px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vmv-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.vmv-box h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 15px;
}
.vmv-box p {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

/* Expertise List */
.expertise-section {
  background-color: #f4f4f4; /* Light grey background from reference */
}
.expertise-list {
  list-style: none;
  padding: 0;
}
.expertise-list li {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  color: #333;
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}
.expertise-list li::before {
  content: '\f111';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 8px;
  color: #000;
  position: absolute;
  left: 0;
  top: 8px;
}

/* ============================================================
   CONTACT PAGE SPECIFIC STYLES
   ============================================================ */
.contact-input {
  border-radius: 4px;
  border: 1px solid #ddd;
  padding: 12px 15px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  background-color: #ffffff;
}
.contact-input:focus {
  border-color: #DA251D;
  box-shadow: none;
}
.btn-contact-submit {
  background-color: #00c2cb; /* Teal color from reference */
  color: #ffffff;
  padding: 12px 40px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-transform: capitalize;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.btn-contact-submit:hover {
  background-color: #00a8af;
  color: #ffffff;
  transform: translateY(-2px);
}

.contact-address-card {
  background: #ffffff;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  border-radius: 4px;
  height: 100%;
}
.address-card-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.4;
}
.address-card-divider {
  width: 100%;
  height: 1px;
  background: #eee;
  margin-bottom: 30px;
}
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-info-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 25px;
}
.contact-info-list li i {
  color: #DA251D;
  font-size: 24px;
  margin-top: 5px;
  min-width: 30px;
}
.vmv-box p {
  font-size: 18px;
}
.contact-info-list li p {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  color: #000000;
  line-height: 1.6;
  margin: 0;
}
.contact-info-list li a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-info-list li a:hover {
  color: #DA251D;
}

.map-section {
  line-height: 0;
}

/* ============================================================
   PRODUCTS PAGE SPECIFIC STYLES
   ============================================================ */
.product-card-new {
  background: #ffffff;
  padding: 15px; /* Reduced padding */
  border-radius: 8px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.12);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card-new:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 45px rgba(0,0,0,0.12);
}
.product-img-box {
  width: 100%;
  height: 150px; /* Reduced image height */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  overflow: hidden;
}
.product-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.product-card-new:hover .product-img-box img {
  transform: scale(1.05);
}
.product-content-new {
  margin-top: auto;
}
.product-content-new h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px; /* Reduced font size */
  font-weight: 800;
  color: #333;
  margin-bottom: 10px;
}
.btn-product-enquiry {
  display: inline-block;
  padding: 10px 25px;
  border: 2px solid #DA251D;
  color: #DA251D;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.btn-product-enquiry:hover {
  background: #DA251D;
  color: #ffffff;
}


/* Sales Service List */
.sales-service-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}
.sales-service-list li {
  font-family: var(--font-main);
  font-size: 16px;
  color: #000000;
  margin-bottom: 12px;
  padding-left: 0;
  position: relative;
}
.sales-service-list li::before {
  display: none;
}
