:root {

  --brand-red: #a90f0a;

  --brand-red-dark: #7a0a07;

  --brand-blue: #042f3d;

  --bg: #ffffff;

  --card: #ffffff;

  --text:  #042f3d;

  --muted: #5b6b75;

  --border: #e5e9ec;

  --muted-bg: #f5f7f8;

  --shadow: 0 2px 10px rgba(4,47,61,0.06);

}

body.dark-mode {

  --bg: linear-gradient(135deg, #0a0a0a 0%, #053047 100%);

  --card: #0f1f2b;

  --text: #e7eef3;

  --muted: #9aa9b3;

  --border: #1c2e3a;

  --muted-bg: #11212d;

  --shadow: 0 2px 10px rgba(0,0,0,0.3);

}




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

html { scroll-behavior: smooth; }

body {

  font-family: 'Raleway', sans-serif;

  background: var(--bg);

  color: var(--text);

  line-height: 1.6;

  transition: background .3s, color .3s;

}

h1, h2, h3 { font-family: 'Raleway', sans-serif; }

a { color: inherit; text-decoration: none; }

/* ==================== NAVBAR ==================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  background-color: #ffffff;
  color: #053047;
  height: 80px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.6);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: height 0.3s ease, padding 0.3s ease;
}

.navbar.shrink {
  height: 60px;
  padding: 0 30px;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 3px;
  transition: gap 0.3s ease;
  font-family: 'Raleway', sans-serif;
  color: #b7b5b5;
}

.logo-title img {
  width: 50px;
  height: 30px;
  transition: width 0.3s ease, height 0.3s ease;
}

.navbar.shrink .logo-title img {
  width: 50px;
  height: 30px;
}

.logo-title h1 {
   font-size: 18px;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  color: #a5170d !important;
  transition: font-size 0.3s ease;
}

.navbar.shrink .logo-title h1 {
  font-size: 18px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #053047;
  font-size: 15px;
  font-weight: 515;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #c71305;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.nav-links li a:hover {
  color: #c71305;
}

.nav-links li a.active {
  color: #c71305;
  font-weight: 600;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #053047;
  margin: 3px 0;
  transition: 0.3s;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background: rgba(5, 48, 71, 0.1);
  transform: scale(1.1);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: left 0.3s ease;
    z-index: 99;
  }
  
  .nav-links.mobile-active {
    left: 0;
  }
  
  .nav-links li {
    margin: 15px 0;
  }
  
  .nav-links li a {
    font-size: 18px;
    font-weight: 515;
  }
  
  .navbar {
  padding: 0 20px;
}
  
  .logo-title h1 {
    font-size: 18px;
  }
  
  .logo-title img {
    width: 40px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 15px;
  }
  
  .logo-title h1 {
    font-size: 16px;
  }
}

/* HERO */

.hero {

  position: relative;

  width: 100%;

  height: 100vh;        /* FULL screen height like home page */

  min-height: 500px;    /* prevents too small on mobile */

  display: flex;

  align-items: center;

  justify-content: center;

  overflow: hidden;

  margin-top: 0;

}

.hero-bg {

  position: absolute;

  inset: 0;

  background-image: url("../Images/PSO.png");

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;

  background-attachment: fixed;   /* For desktop parallax effect */

  width: 100%;

  height: 100%;

}

.hero-overlay {

  position: absolute; inset: 0;

  background: rgba(0, 0, 0, 0.559); /* softer transparent overlay matching home page */

}

.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 1.25rem; max-width: 800px; }

.hero h1 {
  font-size: clamp(26px, 5vw, 46px);
  color: #fff;
}

.hero p {
  font-size: 20px;
  color: #fff;
}

.hero-line { width: 80px; height: 4px; background: var(--brand-red); border-radius: 999px; margin: 2rem auto 0; }

/* Mobile Responsive Background Handling */
@media (max-width: 768px) {
  .hero-bg {
    background-attachment: scroll; /* Disable fixed on mobile for better performance */
    background-position: right center; /* Show truck head on mobile */
  }
}

/* ==================== MOBILE RESPONSIVE STYLES ==================== */

/* Mobile Layout Optimizations */
@media (max-width: 768px) {
  /* Hero Section Mobile */
 
  
  .hero-content {
    padding: 0 1rem;
  }
  
 
  .hero h1 {
  font-size: clamp(26px, 5vw, 46px);
}

.hero p {
  font-size: 20px;
}
  
  /* Main Content Mobile */
  .main-content {
    padding: 2rem 1rem;
    margin-top: -30px;
    max-width: 100%;
  }
  
  /* Card Layout Mobile */
  .card {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .card-head {
    padding: 1.2rem 1.5rem;
  }
  
  .card-head h2 {
    font-size: 1.2rem;
  }
  
  .card-body {
    padding: 18px;
    width: 100%;
  }
  
  /* Content Grid - Switch to single column on mobile */
  .content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .content-img {
    height: 200px;
    width: 100%;
  }
  
  .section-text {
    font-size: 15px;
    line-height: 1.7;
  }
  
  /* Mobile-specific image and text layout */
  .content-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  
  .content-grid .content-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin: 0 auto 16px auto;
    display: block;
  }
  
  .content-grid .section-text {
    width: 100%;
    text-align: left;
    margin: 0;
  }
  
  /* Section Typography Mobile */
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .section-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
  }
  
  /* Sub sections Mobile */
  .sub {
    margin-bottom: 1.5rem;
  }
  
  .sub h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  
  /* Principle Rows Mobile */
  .principle-row {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .principle-row svg {
    width: 20px;
    height: 20px;
    margin-top: 0;
  }
  
  .principle-row h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }
  
  .principle-row p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  /* Founder Section Mobile */
  .founder-row {
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem;
  }
  
  .founder-img {
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }
  
  .founder-quote {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
  }
  
  /* Check List Mobile */
  .check-list li {
    padding: 0.8rem;
    gap: 0.8rem;
  }
  
  .check-list li svg {
    width: 18px;
    height: 18px;
  }
  
  .check-list li span {
    font-size: 0.9rem;
  }
  
  /* Leadership Principles Grid Mobile */
  .principles-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  /* Navbar Mobile Improvements */
  .navbar {
    height: 80px;
    padding: 0 15px;
  }
  
  .nav-links {
    top: 80px;
    height: calc(100vh - 80px);
  }
  
  .logo-title h1 {
    font-size: 18px !important;
  }
  
  .logo-title img {
    width: 35px;
    height: 20px;
  }
  
  /* Scroll to Top Mobile */
  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 1rem;
  }
}

/* Small Mobile Devices (480px and below) */
@media (max-width: 480px) {
  
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .main-content {
    padding: 1.5rem 0.8rem;
    max-width: 100%;
  }
  
  .card-head {
    padding: 1rem 1.2rem;
  }
  
  .card-head h2 {
    font-size: 1.1rem;
  }
  
  .card-body {
    padding: 1.2rem;
    width: 100%;
  }
  
  /* Ensure content grid fills space on small mobile */
  .content-grid {
    gap: 1rem;
    width: 100%;
  }
  
  .content-img {
    max-height: 200px;
    width: 100%;
  }
  
  .section-subtitle {
    font-size: 0.95rem;
  }
  
  .section-text {
    font-size: 0.9rem;
  }
  
  .sub h3 {
    font-size: 1rem;
  }
  
  .principle-row {
    padding: 1rem;
  }
  
  .principle-row h3 {
    font-size: 0.95rem;
  }
  
  .principle-row p {
    font-size: 0.85rem;
  }
  
  .founder-img {
    width: 70px;
    height: 70px;
  }
  
  .founder-quote {
    font-size: 0.9rem;
  }
  
  .check-list li {
    padding: 0.7rem;
  }
  
  .check-list li span {
    font-size: 0.85rem;
  }
  
  .navbar {
    height: 80px;
    padding: 0 12px;
  }
  
  .logo-title h1 {
    font-size: 18px !important;
  }
  
  .logo-title img {
    width: 30px;
    height: 18px;
  }
  
  .scroll-to-top {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
    font-size: 0.9rem;
  }
}



/* MAIN */

.main-content { 
  max-width: 900px; 
  margin: 0 auto; 
  padding: 4rem 1.25rem; 
  margin-top: -50px; /* Reduce overlay - less pull up */
  position: relative;
  z-index: 10; /* Ensure content appears above hero */
}

.accordion-group { display: flex; flex-direction: column; gap: 1.5rem; }

/* ABOUT SECTIONS - Home Page Styling */
.card {
  background: var(--bg-color, #ffffff);
  border: 1px solid var(--border, #e0e0e0);
  border-radius: .75rem;
  margin-bottom: 2rem;
  width: 100%;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.card-head {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border, #e0e0e0);
  background: var(--muted-bg, #f8f9fa);
}

.card-head h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--heading-color, #a5170d);
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.card-body {
  width: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-subtitle {
  font-weight: 600;
  color: var(--brand-blue, #0a2c66);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.section-text {
  width: 100%;
  max-width: 100%;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-color, #053047);
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
}

.content-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Feature sections styling */
.principles-grid, .founder-row, .check-list {
  margin-top: 1.5rem;
}

.principle-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--muted-bg, #f8f9fa);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.principle-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.principle-row svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--brand-blue, #0a2c66);
  margin-top: 4px;
}

.principle-row h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--heading-color, #a5170d);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.principle-row.sub p {
  width: 100%;
  max-width: 100%;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-color, #053047);
  transition: color 0.3s ease;
}

.founder-row {
  display: flex;
  gap: 2rem;
  align-items: start;
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--muted-bg, #f8f9fa);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 640px) {
  .founder-row {
    flex-direction: column;
    gap: 1rem;
  }
}

.founder-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.founder-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .founder-img {
    width: 80px;
    height: 80px;
  }
}

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

.founder-quote {
  flex: 1;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-color, #053047);
  font-style: italic;
  transition: color 0.3s ease;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  background: var(--muted-bg, #f8f9fa);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.check-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.check-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--brand-blue, #0a2c66);
}

.check-list li span {
  font-size: 0.95rem;
  color: var(--text-color, #053047);
  transition: color 0.3s ease;
}

.sub {
  margin-bottom: 2rem;
}

.sub h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--heading-color, #a5170d);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

/* Blue color for specific headings */
.sub h3[data-i18n="safetyFirst"],
.sub h3[data-i18n="customerCommitment"],
.sub h3[data-i18n="responsibility"],
.sub h3[data-i18n="continuousImprovement"],
.sub h3[data-i18n="teamwork"],
.sub h3[data-i18n="reliability"],
.sub h3[data-i18n="founderTitle"],
.sub h3[data-i18n="whatWeDo"],
.sub h3[data-i18n="coreServices"],
.sub h3[data-i18n="whyChooseUsSubtitle"],
.sub h3[data-i18n="keyAdvantages"] {
  color: var(--brand-blue, #0a2c66);
}

/* Smaller font size for Leadership Principles headings */
.sub h3[data-i18n="safetyFirst"],
.sub h3[data-i18n="customerCommitment"],
.sub h3[data-i18n="responsibility"],
.sub h3[data-i18n="continuousImprovement"],
.sub h3[data-i18n="teamwork"],
.sub h3[data-i18n="reliability"] {
  font-size: 0.9rem;
}

/* SCROLL TO TOP */

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #95b8ed 0%, #a7c8f781 100%);
  border: none;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(197, 237, 255, 0.3);
}

.scroll-to-top:hover {
  background: linear-gradient(135deg, #892203 0%, #c0533b 100%);
  transform: translateY(0) scale(1.1);
  box-shadow: 0 6px 20px rgba(229, 201, 197, 0.4);
}

.scroll-to-top:active {
  transform: translateY(0) scale(0.95);
}

.principle-row {

  display: flex;

  align-items: flex-start;

  gap: 14px;

}



.principle-row svg {

  width: 24px;

  height: 24px;

  color: var(--brand-blue);

  margin-top: 4px;

  flex-shrink: 0;

}

.check-list li svg {

  width: 20px;

  height: 20px;

  stroke: var(--brand-red);

  fill: none;

  stroke-width: 2;

  flex-shrink: 0;

}

/* Large Desktop (1440px and above) */
@media (min-width: 1440px) {
  .footer-container {
    max-width: 1400px;
    gap: 30px;
    padding: 0 40px;
  }
  
  .footer {
    padding: 60px 0 30px;
  }
}

/* Laptop (1024px to 1439px) */
@media (max-width: 1439px) and (min-width: 1024px) {
  .footer-container {
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 18px;
    padding: 0 15px;
  }
  
  .footer {
    padding: 50px 0 25px;
  }
  
  .footer-logo {
    font-size: 1.4rem;
  }
  
  .footer-description {
    font-size: 0.85rem;
  }
}

/* Tablet (768px to 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
  .footer-container {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 25px;
    padding: 0 20px;
  }
  
  .footer {
    padding: 45px 0 20px;
  }
  
  /* Move Contact Us to new row */
  .footer-column:last-child {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 20px auto 0;
  }
  
  .footer-logo {
    font-size: 1.3rem;
  }
  
  .footer-description {
    font-size: 0.9rem;
  }
}

/* Mobile (below 768px) */
@media (max-width: 767px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 15px;
  }
  
  .footer {
    padding: 40px 0 20px;
  }
}
/* ==================== FOOTER STYLES ==================== */
.footer {
  background: linear-gradient(135deg, #053047 0%, #0a2342 100%);
  color: #ffffff77;
  padding: 20px;
  margin-top: 0;
  font-family: 'Raleway', sans-serif;
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 20px;
  padding: 0 20px;
  align-items: start;
}

.company-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #e0e0e0;
  margin: 0 0 20px 0;
  max-width: 280px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  color:#a5170d;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #a5170d;
  transition: width 0.3s ease;
}

.footer-links li a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-links li a:hover::after {
  width: 100%;
}

.footer .contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  text-align: left;
  position: static;
  width: auto;
  height: auto;
  background: transparent;
  left: auto;
  top: auto;
}

.footer .contact-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  color: #e0e0e0;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
  padding: 0;
  transition: none !important;
}

.footer .contact-item > span {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.footer .contact-item:hover {
  transform: none !important;
  color: #e0e0e0 !important;
}

.footer .contact-item i {
  color: #ffffff !important;
  font-size: 1rem;
  flex-shrink: 0;
  width: 1.125rem;
  min-width: 1.125rem;
  text-align: center;
  line-height: inherit;
  margin-top: 0.2em;
  transition: none !important;
}

.footer .contact-item a {
  color: #e0e0e0 !important;
  text-decoration: none !important;
  transition: none !important;
  word-break: break-word;
}

.footer .contact-item a:hover {
  color: #e0e0e0 !important;
  text-decoration: none !important;
  transform: none !important;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 40px -20px 0 -20px;
  width: calc(100% + 40px);
  position: relative;
}

.copyright p {
  margin: 5px 0;
  font-size: 0.85rem;
  color: #b0b0b0;
}

.designed-by {
  color: #4fc3f7 !important;
  font-size: 0.8rem !important;
}

/* ==================== DARK MODE STYLES ==================== */

/* Dark Mode Body - Direct override */
body.dark-mode {
  background: linear-gradient(135deg, #0a0a0a 0%, #053047 100%) !important;
  color: #ffffff !important;
}

/* Dark Mode Navbar */
body.dark-mode .navbar {
  background: linear-gradient(135deg, #0a0a0a 0%, #0a2342 100%);
  border-bottom-color: #4a5568;
}

body.dark-mode .logo-title h1 {
  color: #ffffff;
}

body.dark-mode .nav-links li a {
  color: #ffffff;
}

body.dark-mode .nav-links li a:hover {
  color: #a5170d;
}

body.dark-mode .theme-toggle {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .theme-toggle:hover {
  background: rgba(79, 195, 247, 0.2);
  color: white;
}

body.dark-mode .mobile-menu-toggle span {
  background: #ffffff;
}

body.dark-mode .nav-links.mobile-active {
  background: #1a1a1a;
  border: 1px solid #4a5568;
}

body.dark-mode .nav-links.mobile-active a {
  color: #ffffff;
}

body.dark-mode .nav-links.mobile-active a:hover {
  color: white;
  background: rgba(79, 195, 247, 0.1);
}

/* Dark Mode Hero Section */
body.dark-mode .hero {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(5, 48, 71, 0.8) 100%);
}

body.dark-mode .hero h1 {
  color: #ffffff;
}

body.dark-mode .hero p {
  color: #e0e0e0;
}

/* Dark Mode Card Sections */
body.dark-mode .card {
  background: #1a1a1a;
  border: 1px solid #4a5568;
}

body.dark-mode .card-head {
  background: rgba(26, 26, 26, 0.8);
  border-bottom-color: #4a5568;
}

body.dark-mode .card-head h2 {
  color: #ffffff;
}

body.dark-mode .sub h3 {
  color: #ffffff;
}

/* Blue headings use lighter blue in dark mode for visibility */
body.dark-mode .card-head h2[data-i18n="whoWeAre"]{
  color:#a5170d;
}
body.dark-mode .card-body p[data-i18n="whoWeAreSubtitle"]{
  color:#a5170d;
}
body.dark-mode .content-grid p[data-i18n="whoWeAreDesc"]{
  color: white;
}
body.dark-mode .sub h3[data-i18n="safetyFirst"],
body.dark-mode .sub h3[data-i18n="customerCommitment"],
body.dark-mode .sub h3[data-i18n="responsibility"],
body.dark-mode .sub h3[data-i18n="continuousImprovement"],
body.dark-mode .sub h3[data-i18n="teamwork"],
body.dark-mode .sub h3[data-i18n="reliability"]{
  color: white;
}
body.dark-mode .sub h3[data-i18n="founderTitle"],
body.dark-mode .sub h3[data-i18n="whatWeDo"],
body.dark-mode .sub h3[data-i18n="coreServices"],
body.dark-mode .sub h3[data-i18n="whyChooseUsSubtitle"],
body.dark-mode .sub h3[data-i18n="keyAdvantages"],
body.dark-mode .sub h3[data-i18n="mdTitle"] {
  color: #a5170d;
}

body.dark-mode .sub p {
  color: #e0e0e0;
}

body.dark-mode .check-list li {
  color: #e0e0e0;
}

body.dark-mode .check-list li span {
  color: #e0e0e0;
}

body.dark-mode .founder-row {
  color: #e0e0e0;
}

body.dark-mode .founder-quote {
  color: #e0e0e0;
}

body.dark-mode .founder-img {
  border: 2px solid #4a5568;
}

/* Dark Mode Footer */
body.dark-mode .footer {
  background: #1a1a1a;
  border-top: 1px solid #4a5568;
}

body.dark-mode .footer-logo {
  color: #ffffff;
}

body.dark-mode .footer-description {
  color: #e0e0e0;
}

body.dark-mode .footer-heading {
  color: #ffffff;
}

body.dark-mode .footer-links a {
  color: #e0e0e0;
}

body.dark-mode .principle-row svg {
  color: #a5170d;
  stroke: #a5170d;
}
body.dark-mode .social-icon {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

body.dark-mode .social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #a5170d;
}

body.dark-mode .footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  border-top-color: #4a5568;
}

body.dark-mode .copyright p {
  color: #b0b0b0;
}

body.dark-mode .designed-by {
  color: #4fc3f7 !important;
  font-size: 0.8rem !important;
}
/* ===== CENTER FOOTER IN MOBILE ===== */
@media (max-width: 768px) {

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .footer-column {
    text-align: center;
    align-items: center;
  }

  .company-info {
    align-items: center;
  }

  .footer-links {
    text-align: center;
  }

  .footer .contact-info {
    align-items: center;
    text-align: center;
  }

  .footer .contact-item {
    justify-content: center;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

}
/* ===== HAMBURGER TO X ===== */

.mobile-menu-toggle {
  width: 30px;
  height: 24px;
  position: relative;
}

.mobile-menu-toggle span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #053047;
  transition: 0.3s ease;
}

/* top */
.mobile-menu-toggle span:nth-child(1) {
  top: 0;
}

/* middle */
.mobile-menu-toggle span:nth-child(2) {
  top: 10px;
}

/* bottom */
.mobile-menu-toggle span:nth-child(3) {
  top: 20px;
}

/* turn into X */

.mobile-menu-toggle.active span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  top: 10px;
  transform: rotate(-45deg);
}
/* ===== MATCH HOME PAGE MOBILE SIZE ===== */

@media (max-width: 768px) {

  .main-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 2rem 1rem !important;
    margin-top: 0 !important;
  }

  .card {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .card-body {
    width: 100% !important;
  }

}
/* ===== ALLOW DESKTOP VIEW WHEN USER REQUESTS ===== */

/* If screen becomes large (desktop mode), restore desktop layout */

@media (min-width: 769px) {

  .nav-links {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    height: auto !important;
    width: auto !important;
  }

  .mobile-menu-toggle {
    display: none !important;
  }

  .main-content {
    max-width: 900px !important;
    margin: 0 auto !important;
  }

  .content-grid {
    grid-template-columns: 1.4fr 1fr !important;
  }

}
/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #95b8ed 0%, #a7c8f781 100%);
  border: none;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(197, 237, 255, 0.3);
}

.scroll-to-top:hover {
  background: linear-gradient(135deg, #892203 0%, #c0533b 100%);
  transform: translateY(0) scale(1.1);
  box-shadow: 0 6px 20px rgba(229, 201, 197, 0.4);
}

.scroll-to-top:active {
  transform: translateY(0) scale(0.95);
}

/* Mobile Scroll Button */
@media (max-width: 768px) {
  .scroll-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .scroll-to-top {
    width: 35px;
    height: 35px;
    bottom: 15px;
    right: 15px;
    font-size: 0.9rem;
  }
}
/* ===== FIX MOBILE NAVBAR TO MATCH HOME ===== */
@media (max-width: 768px) {

  /* Fix hamburger size */
  .mobile-menu-toggle span {
    width: 25px !important;
    height: 3px !important;
    margin: 3px 0 !important;
  }

  /* Fix menu text size */
  .nav-links li a {
    font-size: 15px !important;
    font-weight: 515 !important;
  }

  /* Fix logo size */
  .logo-title img {
    width: 50px !important;
    height: 30px !important;
  }

  /* Fix navbar spacing */
  .navbar {
    padding: 0 20px !important;
    height: 80px !important;
  }
}
.sub h3.md-title {
  color: var(--brand-blue) !important;
}

body.dark-mode .sub h3.md-title {
  color: #a5170d !important;
}



/* ==================== END OF STYLES ==================== */