/* ========================================
   RESPONSIVE DESIGN SYSTEM - FOUNDATION
   ======================================== */

:root {
  /* Device-Agnostic Typography Scale - Maintains Desktop Proportions */
  --font-size-xs: 0.8rem;     /* 12.8px - Scales proportionally */
  --font-size-sm: 0.933rem;   /* 14.93px - Matches desktop 15px */
  --font-size-base: 0.933rem; /* 14.93px - Matches desktop 15px paragraphs */
  --font-size-lg: 1.25rem;    /* 20px - Matches desktop h3 */
  --font-size-xl: 1.125rem;   /* 18px - Matches desktop h4 */
  --font-size-2xl: 1.5rem;    /* 24px - Proportional to desktop */
  --font-size-3xl: 2.25rem;   /* 36px - Matches desktop h2 */
  
  /* Responsive Spacing - Proportional to Desktop */
  --space-xs: 0.25rem;        /* 4px */
  --space-sm: 0.5rem;         /* 8px */
  --space-md: 1rem;           /* 16px */
  --space-lg: 1.25rem;        /* 20px - Matches desktop margins */
  --space-xl: 2rem;           /* 32px */
  
  /* Responsive Breakpoints */
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
}

/* Tablet: Slight scale adjustment for readability */
@media (min-width: 768px) {
  :root {
    --font-size-base: 1rem;     /* 16px - Slightly larger for tablet readability */
    --font-size-lg: 1.375rem;   /* 22px - Proportional increase */
    --font-size-xl: 1.25rem;    /* 20px - Proportional increase */
    --font-size-2xl: 1.625rem;  /* 26px - Proportional increase */
  }
}

/* Desktop: Return to exact original sizes */
@media (min-width: 992px) {
  :root {
    --font-size-base: 0.9375rem; /* 15px - EXACT desktop match */
    --font-size-lg: 1.25rem;     /* 20px - EXACT desktop h3 match */
    --font-size-xl: 1.125rem;    /* 18px - EXACT desktop h4 match */
    --font-size-2xl: 1.5rem;     /* 24px - Common promo price size */
    --font-size-3xl: 2.25rem;    /* 36px - EXACT desktop h2 match */
    --space-lg: 1.25rem;         /* 20px - EXACT desktop margin match */
  }
}

body,
html {
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
}
h2,
h3,
h4 {
  font-family: "Raleway", sans-serif;
}
h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 36px;
  color: #333;
}
h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}
h4 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}
h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}
p {
  font-size: 15px;
}
p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}
a {
  color: #608dfd;
  font-weight: 400;
}
a:hover,
a:focus {
  text-decoration: none;
  color: #608dfd;
}
ul,
ol {
  list-style: none;
}
ul,
ol {
  padding: 0;
  webkit-padding: 0;
  moz-padding: 0;
}
hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: #1e7a46;
  margin-bottom: 20px;
  border: 0;
}
/* Navigation */
#menu {
  padding: 15px;
  transition: all 0.8s;
}

/* Ensure navbar layout isn't affected by portfolio styles - mobile/tablet only */
@media (max-width: 768px) {
  #menu .row,
  #menu .col-md-4,
  #menu .col-lg-4,
  #menu .col-sm-6 {
    display: block !important;
    flex-direction: initial !important;
    justify-content: initial !important;
    align-items: initial !important;
  }
}
#menu.navbar-default {
  background-color: #fff;
  border-color: rgba(231, 231, 231, 0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
#menu a.navbar-brand {
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  padding: 8px 15px;
}
#menu.navbar-default .navbar-nav > li > a {
  font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
  text-transform: none;
  color: #28282B;
  font-size: 16px;
  font-weight: 400;
  padding: 8px 2px;
  border-radius: 0;
  margin: 9px 20px 0;
}
#menu.navbar-default .navbar-nav > li > a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: #fd0003;
  content: "";
  transition: width 0.2s;
}
#menu.navbar-default .navbar-nav > li > a:hover:after {
  width: 100%;
}
#menu.navbar-default .navbar-nav > li > a:hover {
  color: #fd0003;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: transparent;
}
.navbar-default .navbar-nav > .active > a:after,
.navbar-default .navbar-nav > .active > a:hover:after,
.navbar-default .navbar-nav > .active > a:focus:after {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 2px !important;
  background: #fd0003 !important;
  content: "" !important;
  transition: width 0.2s !important;
}
.navbar-toggle {
  border-radius: 0;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #fff;
  border-color: #608dfd;
}
.navbar-default .navbar-toggle:hover > .icon-bar {
  background-color: #608dfd;
}

/* Dropdown menu styles */
.navbar-nav .dropdown {
  position: relative;
}

.navbar-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 280px;
  padding: 5px 0;
  margin: 2px 0 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
}

.navbar-nav .dropdown-menu > li > a {
  display: block;
  padding: 10px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  color: #333;
  white-space: nowrap;
  text-decoration: none;
  font-size: 14px;
}

.navbar-nav .dropdown-menu > li > a:hover {
  color: #fd0003;
  background-color: #f5f5f5;
}

.navbar-nav .dropdown-toggle .caret {
  margin-left: 5px;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

/* Navbar call button styles */
.navbar-call-btn {
  position: absolute !important;
  right: -100px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background-color: #28a745 !important;
  color: #fff !important;
  border-radius: 25px !important;
  padding: 10px 16px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  border: 2px solid #28a745 !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  z-index: 1000 !important;
}

.navbar-call-btn:hover {
  background-color: #218838 !important;
  border-color: #1e7e34 !important;
  color: #fff !important;
  transform: translateY(-50%) scale(1.05) !important;
  text-decoration: none !important;
}

.navbar-call-btn:focus {
  color: #fff !important;
  text-decoration: none !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  /* Reduce navbar container padding for compact height */
  #menu {
    padding: 5px 15px !important;
  }
  
  /* Simple vertical layout for navbar-header */
  body #menu.navbar-fixed-top .navbar-header {
    float: none !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  /* Logo positioning - centered like Telematics page, show first */
  body #menu.navbar-fixed-top .navbar-brand {
    order: 1 !important;
    display: block !important;
    float: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }
  
  /* Navigation CTA Styles - Removed */
  
  /* Hamburger menu - below logo, show second */
  body #menu.navbar-fixed-top .navbar-toggle {
    order: 2 !important;
    position: relative !important;
    margin: 10px auto 0 auto !important;
    padding: 8px 16px !important;
    background: #2b4b8c !important;
    color: white !important;
    border: 2px solid #2b4b8c !important;
    border-radius: 25px !important;
    display: block !important;
  }

  /* Hero section scaling for mobile */
  header .intro-text {
    padding-top: 40px !important;
    padding-bottom: 20px !important;
  }
  
  /* Scale down hero text for mobile readability */
  .intro h1 {
    font-size: 42px !important;
    line-height: 1.1 !important;
    margin-bottom: 15px !important;
  }
  
  .intro p {
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin-bottom: 30px !important;
  }
  
  /* Remove About section padding entirely and row spacing */
  #about {
    padding: 60px 0 0 0 !important;
  }
  
  /* Remove all spacing between underscore and photo - force it */
  #about h2 {
    margin-bottom: 0 !important;
  }
  
  #about .row:nth-child(2) {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  /* Scale down LEARN MORE button to match Hero text scaling */
  .intro .btn-custom {
    font-size: 12px !important;
    padding: 10px 20px !important;
    margin-top: 15px !important;
  }

  /* SOLUTION: Full-width sections with overflow elimination */
  #about,
  #services,
  #portfolio,
  #testimonials,
  #contact,
  #promos,
  #footer {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding-left: 15px !important;
    padding-right: 0px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  
  /* Solutions section - maintain full-width without scroll isolation */
  #solutions {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding-left: 15px !important;
    padding-right: 0px !important;
    box-sizing: border-box !important;
  }

  /* RESTORE Hero section to normal behavior */
  header,
  header .intro {
    position: static !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
  }

  /* Reset navbar container to normal Bootstrap behavior */
  #menu .container {
    width: auto !important;
    max-width: 1170px !important;
    margin: 0 auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Ensure content containers maintain proper spacing */
  #about .container,
  #services .container,
  #solutions .container,
  #portfolio .container,
  #testimonials .container,
  #contact .container,
  #promos .container,
  #footer .container {
    max-width: 1170px !important;
    margin: 0 auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Social media icons grid - 2 rows of 3 */
  #contact .social ul {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 15px !important;
    max-width: 300px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  #contact .social ul li {
    display: flex !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  /* Portfolio responsive optimizations for smaller mobile screens */
  #portfolio .col-sm-6,
  #portfolio .col-md-4,
  #portfolio .col-lg-4 {
    padding: 3px !important;
  }
  
  .portfolio-item {
    border: 0.5px solid #ffffff !important;
    transition: border-width 0.3s ease, box-shadow 0.3s ease !important;
  }
  
  .portfolio-item:hover {
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3) !important;
  }
}

/* Ensure navbar header has relative positioning */
.navbar-header {
  position: relative !important;
}

/* Ensure container has relative positioning for call button */
#menu .container {
  position: relative !important;
}

.section-title {
  margin-bottom: 50px;
}
.section-title h2 {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
.section-title h2::after {
  position: absolute;
  content: "";
  background: #5ca9fb;
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}
.section-title p {
  font-size: 18px;
}
.btn-custom {
  font-family: "Lexend Deca", sans-serif;
  text-transform: uppercase;
  color: #333;
  background-color: #FFFFFF;
  background-image: none;
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.5s linear;
  border: 2px solid #E0292A;
}
.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: #fff !important;
  background-image: none;
  background-color: #40c057;
  border-color: #40c057;
}
.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: none;
}
/* Header Section */
.intro {
  display: table;
  width: 100%;
  padding: 0;
  background: url(../img/hero_composite.jpg) center center no-repeat;
  background-color: #e5e5e5;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}
.intro .overlay {
  background: transparent;
}
.intro h1 {
  font-family: "Lexend Deca", sans-serif;
  color: #E0292A !important;
  font-size: 82px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 10px;
}
.intro h1 span {
  font-weight: 800;
  color: #5ca9fb;
}
.intro p {
  color: #E0292A !important;
  font-size: 22px;
  font-weight: 300;
  line-height: 30px;
  margin: 0 auto;
  margin-bottom: 60px;
}
header .intro-text {
  padding-top: 100px;
  padding-bottom: 0;
  text-align: center;
}
/* About Section */
#about {
  padding: 60px 0 50px 0;
}
#about h3 {
  font-size: 22px;
  margin: 0 0 20px;
}
#about h2 {
  position: relative;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  padding-bottom: 15px;
}

/* Force only the first two About rows to have no spacing */
#about .row:nth-child(1),
#about .row:nth-child(2) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Force the second row up to eliminate all gaps */
#about .row:nth-child(2) {
  margin-top: -15px !important;
}
#about h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #5ca9fb 0%, #6372ff 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 0;
}
#about .about-text li {
  margin-bottom: 6px;
  margin-left: 6px;
  list-style: none;
  padding: 0;
}
#about .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #5ca9fb;
  font-size: 11px;
  font-weight: 300;
  padding-right: 8px;
}
#about img {
  width: 520px;
  margin-top: 10px;
  background: #fff;
  border-right: 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
}
#about p {
  line-height: 24px;
  margin: 30px 0;
}
/* Services Section */
#services {
  padding: 60px 0 30px 0;
  background: #5ca9fb;
  color: #fff;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 10px 10px;
}

#services .service-desc {
  margin: 0px 10px 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#services h2 {
  color: #fff;
}
#services .section-title h2::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.3);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}
#services i.fa {
  font-size: 42px;
  width: 120px;
  height: 120px;
  padding: 30px 0;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  border-radius: 50%;
  color: #fff;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}
#services h3 {
  font-weight: 500;
  padding: 5px 0;
  color: #fff;
}
#services p {
  color: rgba(255, 255, 255, 0.75);
}
#services .service-desc {
  margin-bottom: 20px;
}
/* Portfolio Section */
#portfolio {
  padding: 60px 0 50px 0;
  background-color: #B8C6DB;
}
#portfolio .col-sm-6,
#portfolio .col-md-4,
#portfolio .col-lg-4 {
  padding: 3px;
}

/* Make portfolio containers 50% larger on desktop */
@media (min-width: 992px) {
  #portfolio .col-md-4 {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}
.portfolio-item {
  margin: 0;
  padding: 0;
  border: 2px solid #ffffff;
}

/* Fix image sizing and border extension issues */
#portfolio .portfolio-item img.img-responsive {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
}

#portfolio .portfolio-item .hover-bg {
  overflow: hidden;
  position: relative;
  margin: 0;
}
#portfolio .hover-bg .hover-text {
  position: absolute;
  text-align: center;
  margin: 0 auto;
  color: #fff;
  background: transparent;
  padding: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#portfolio .hover-bg .hover-text .text-content {
  background: rgba(0, 0, 0, 0.7);
  padding: 20px;
  border-radius: 8px;
  max-width: 90%;
}
#portfolio .hover-bg .hover-text .text-content h4 {
  opacity: 0;
  color: #D42C2C !important;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  transition: all 0.3s;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 10px 0;
}
#portfolio .hover-bg .hover-text .text-content p {
  color: #fff;
  font-weight: 400;
  margin: 0;
}
#portfolio .hover-bg:hover .hover-text .text-content h4 {
  opacity: 1;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
#portfolio .hover-bg:hover .hover-text {
  opacity: 1;
}
.hover-bg .hover-text {
  position: absolute;
  text-align: center;
  margin: 0 auto;
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
  padding: 30% 0 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
}
.hover-bg .hover-text > h4 {
  opacity: 0;
  color: #fff;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  transition: all 0.3s;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
}
.hover-bg:hover .hover-text > h4 {
  opacity: 1;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.hover-bg:hover .hover-text {
  opacity: 1;
}
/* Solutions Section */
#solutions {
  padding: 60px 0 50px 0;
  background: #e9ecef;
}
#solutions .portfolio-item {
  margin: 1px -15px 0 -14px;
  padding: 0;
}
#solutions .portfolio-item .hover-bg {
  overflow: hidden;
  position: relative;
  margin: 0;
}
#solutions .hover-bg .hover-text {
  position: absolute;
  text-align: center;
  margin: 0 auto;
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
  padding: 30% 0 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
}
#solutions .hover-bg .hover-text > h4 {
  opacity: 0;
  color: #fff;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  transition: all 0.3s;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
}
#solutions .hover-bg:hover .hover-text > h4 {
  opacity: 1;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
#solutions .hover-bg:hover .hover-text {
  opacity: 1;
}

/* Center single item on last row in solutions section */
#solutions .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#solutions .col-md-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

/* Portfolio tablet optimization (tablet to small desktop) */
@media (min-width: 769px) and (max-width: 991px) {
  #portfolio .col-sm-6,
  #portfolio .col-md-4,
  #portfolio .col-lg-4 {
    padding: 4px !important;
  }
  
  .portfolio-item {
    border: 1.5px solid #ffffff !important;
    transition: border-width 0.3s ease, transform 0.3s ease !important;
  }
  
  .portfolio-item:hover {
    transform: scale(1.02) !important;
  }
}


/* Testimonials Section */
#testimonials {
  padding: 60px 0 30px 0;
  background: #ffffff;
  color: #2c2c2c;
}

/* Center incomplete rows in testimonials */
#testimonials .row {
  text-align: center;
}

#testimonials .col-md-4 {
  display: inline-block;
  float: none;
  text-align: left;
  vertical-align: top;
  margin-bottom: 50px;
}
#testimonials i {
  color: #e6e6e6;
  font-size: 32px;
  margin-bottom: 5px;
}
.testimonial {
  position: relative;
  padding: 1px;
}
.testimonial-image {
  float: left;
  margin-right: 15px;
}
.testimonial-image,
.testimonial-image img {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
.testimonial-content {
  position: relative;
  overflow: hidden;
}
.testimonial-content p {
  margin-bottom: 0;
  font-size: 14px;
  font-style: italic;
}
.testimonial-meta {
  margin-top: 5px;
  font-size: 15px;
  font-weight: 600;
  color: #2c2c2c;
}
/* Team Section */
#team {
  padding: 60px 0 50px 0;
}
#team h4 {
  margin: 5px 0;
}
#team .team-img {
  width: 240px;
}
#team .thumbnail {
  background: transparent;
  border: 0;
}
#team .thumbnail .caption {
  padding: 10px 0 0;
  color: #888;
}
/* Contact Section */
#contact {
  padding: 50px 0 10px 0;
  background: #5ca9fb;
  color: #ffffff;
}
#contact .section-title {
  margin-bottom: 40px;
}
#contact .section-title p {
  font-size: 16px;
}
#contact h2 {
  color: #fff;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
#contact .section-title h2::after {
  position: absolute;
  content: "";
  background: #fd0003;
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 50%;
  margin-left: -30px;
}
#contact h3 {
  color: #fff;
  margin-top: 80px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  font-weight: 400;
}
#contact form {
  padding-top: 10px;
}
#contact .text-danger {
  color: #cc0033;
  text-align: left;
}
#contact .btn-custom {
  margin: 30px 0;
  background: transparent;
  border: 2px solid #fff;
  transition: all 0.3s ease;
}
#contact .btn-custom:hover,
#contact .btn-custom:focus,
#contact .btn-custom:active,
#contact .btn-custom.active {
  color: #fff !important;
  background: #40c057;
  border-color: #40c057;
}
label {
  font-size: 12px;
  font-weight: 400;
  font-family: "Open Sans", sans-serif;
  float: left;
}
#contact .form-control {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.42857143;
  color: #444;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ddd;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}
#contact .form-control:focus {
  border-color: #999;
  outline: 0;
  -webkit-box-shadow: transparent;
  box-shadow: transparent;
}
.form-control::-webkit-input-placeholder {
  color: #777;
}
.form-control:-moz-placeholder {
  color: #777;
}
.form-control::-moz-placeholder {
  color: #777;
}
.form-control:-ms-input-placeholder {
  color: #777;
}
#contact .contact-item {
  margin: 20px 0;
}
#contact .contact-item span {
  color: #ffffff;
  margin-bottom: 10px;
  display: block;
}
#contact .contact-item i.fa {
  margin-right: 10px;
}
#contact .social {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 50px;
  margin-top: 50px;
  text-align: center;
}
#contact .social ul li {
  display: inline-block;
  margin: 0 20px;
}
#contact .social i.fa,
#contact .social i.fa-brands {
  font-size: 22px;
  width: 48px;
  height: 48px;
  padding: 12px 0;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s;
}
#contact .social i.fa:hover,
#contact .social i.fa-brands:hover {
  color: #608dfd;
  background: #fff;
}
/* Footer Section*/
#footer {
  background: #f6f6f6;
  padding: 20px 0;
}
#footer p {
  color: #888;
  font-size: 14px;
}
#footer a {
  color: #608dfd;
}
#footer a:hover {
  border-bottom: 2px solid #608dfd;
}

@media (max-width: 768px) {
  #about img {
    margin: 0;
  }
  
  /* Font sizes restored to original */
  #about h3 {
    font-size: 22px !important;
  }
  
  #about p {
    font-size: 17px !important;
  }
  
  #about .about-text li {
    font-size: 16px !important;
  }
  
  /* MOBILE GAP FIX: Full-width sections with overflow elimination */
  #about,
  #services,
  #portfolio,
  #testimonials,
  #contact,
  #promos,
  #footer {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding-left: 15px !important;
    padding-right: 0px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  
  /* Solutions section - maintain full-width without scroll isolation */
  #solutions {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding-left: 15px !important;
    padding-right: 0px !important;
    box-sizing: border-box !important;
  }

  /* RESTORE Hero section to normal behavior */
  header,
  header .intro {
    position: static !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
  }

  /* Reset navbar container to normal Bootstrap behavior */
  #menu .container {
    width: auto !important;
    max-width: 1170px !important;
    margin: 0 auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Ensure content containers maintain proper spacing */
  #about .container,
  #services .container,
  #solutions .container,
  #portfolio .container,
  #testimonials .container,
  #contact .container,
  #promos .container,
  #footer .container {
    max-width: 1170px !important;
    margin: 0 auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Portfolio responsive optimizations for mobile */
  #portfolio {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  #portfolio .col-sm-6,
  #portfolio .col-md-4,
  #portfolio .col-lg-4 {
    padding: 2px !important;
  }
  
  .portfolio-item {
    border: 1px solid #ffffff !important;
    transition: border-width 0.3s ease !important;
  }
  
  /* Solutions and Promo sections centering and text containment */
  #solutions .row,
  #promos .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  /* Ensure text doesn't spill out of containers and center them */
  #solutions .col-md-4,
  #promos .col-md-4,
  #promos .col-sm-6 {
    margin-bottom: 30px;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
  }
  
  #solutions a,
  #promos a {
    height: auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
}

/* Fix text spillover and centering for Solutions and Promo sections between 768px-992px */
@media (min-width: 768px) and (max-width: 992px) {
  /* Increase About section font sizes by 1 point */
  #about h3 {
    font-size: 23px !important;
  }
  
  #about p {
    font-size: 18px !important;
  }
  
  #about .about-text li {
    font-size: 16px !important;
  }
  /* Force 3-column layout immediately at 768px */
  #solutions .col-md-4,
  #promos .col-md-4 {
    width: 33.333333% !important;
    float: left !important;
  }
  /* Override inline styles and create equal height containers */
  #solutions a.solution-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 530px !important;
    justify-content: space-between !important;
    padding: 20px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  }
  
  #promos a.promo-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 350px !important;
    justify-content: space-between !important;
    padding: 20px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  }
  
  /* Make columns equal height */
  #solutions .col-md-4,
  #promos .col-md-4 {
    display: flex !important;
    margin-bottom: 30px !important;
  }
  
  /* Center the rows */
  #solutions .row,
  #promos .row {
    justify-content: center !important;
  }
  
  /* Set height for Solutions containers */
  #solutions a.solution-item {
    height: 530px !important;
    min-height: 530px !important;
  }
  
  /* Set height for Promo containers */
  #promos a.promo-item {
    height: 615px !important;
    min-height: 615px !important;
  }
  
  /* Content areas with proper spacing */
  #solutions .solution-content,
  #promos .promo-content {
    flex-grow: 1 !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
  }
  
  /* Normal text display - no truncation */
  #solutions .solution-content h3,
  #promos .promo-content h3 {
    margin-bottom: 15px !important;
    line-height: 1.3 !important;
  }
  
  #solutions .solution-description,
  #promos .promo-description {
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
  }
  
  /* Bottom sections stay at bottom */
  #solutions .solution-bottom,
  #promos .promo-bottom {
    margin-top: auto !important;
    flex-shrink: 0 !important;
  }
}

/* Fix text spillover and centering for Solutions and Promo sections between 992px-1200px */
@media (min-width: 992px) and (max-width: 1200px) {
  /* Force 3-column layout */
  #solutions .col-md-4,
  #promos .col-md-4 {
    width: 33.333333% !important;
    float: left !important;
  }
  /* Override inline styles and create equal height containers */
  #solutions a.solution-item {
    display: flex !important;
    flex-direction: column !important;
    height: 430px !important;
    min-height: 430px !important;
    justify-content: space-between !important;
    padding: 20px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  }
  
   #promos a.promo-item {
    display: flex !important;
    flex-direction: column !important;
    height: 530px !important;
    min-height: 530px !important;
    justify-content: space-between !important;
    padding: 20px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  }
  
  /* Make columns equal height */
  #solutions .col-md-4,
  #promos .col-md-4 {
    display: flex !important;
    margin-bottom: 30px !important;
  }
  
  /* Center the rows */
  #solutions .row,
  #promos .row {
    justify-content: center !important;
  }
  
  /* Content areas with proper spacing */
  #solutions .solution-content,
  #promos .promo-content {
    flex-grow: 1 !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
  }
  
  /* Normal text display - no truncation */
  #solutions .solution-content h3,
  #promos .promo-content h3 {
    margin-bottom: 15px !important;
    line-height: 1.3 !important;
  }
  
  #solutions .solution-description,
  #promos .promo-description {
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
  }
  
  /* Bottom sections stay at bottom */
  #solutions .solution-bottom,
  #promos .promo-bottom {
    margin-top: auto !important;
    flex-shrink: 0 !important;
  }
}

/* Telematics Page Styles - Clean Start */
.telematics-page {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
}

.telematics-header {
  background: #fff;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.telematics-logo {
  max-height: 60px;
  width: auto;
}

.telematics-header .logo-container {
  text-align: center;
  margin: 0;
  padding: 0;
}

.telematics-header .container {
  margin: 0 auto;
  padding: 0 15px;
}

.telematics-header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.telematics-header .logo-container {
  text-align: left !important;
}

/* Login/Logout Button Styling */
.login-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.session-display {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.session-timer {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 20px;
  border: 1px solid #e9ecef;
}

.login-logout-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  min-width: fit-content;
}

.login-btn {
  background: #2b4b8c;
  color: white;
  border: 2px solid #2b4b8c;
}

.login-btn:hover {
  background: #1e3a6f;
  border-color: #1e3a6f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 75, 140, 0.3);
}

.logout-btn {
  background: #dc3545;
  color: white;
  border: 2px solid #dc3545;
}

.logout-btn:hover {
  background: #c82333;
  border-color: #c82333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Session Warning Notification */
.session-warning {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 1000;
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 15px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  max-width: 400px;
  animation: slideInRight 0.3s ease-out;
}

.warning-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.warning-icon {
  font-size: 20px;
  color: #856404;
}

.warning-text {
  color: #856404;
  font-weight: 500;
  font-size: 14px;
  flex: 1;
}

.warning-close {
  background: none;
  border: none;
  color: #856404;
  font-size: 16px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.warning-close:hover {
  background: rgba(133, 100, 4, 0.1);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive adjustments for login system */
@media (max-width: 768px) {
  .telematics-header .header-content {
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
  }
  
  .logout-section {
    flex-direction: row;
    gap: 8px;
    justify-content: flex-end;
  }
  
  .session-timer {
    font-size: 12px;
    padding: 6px 10px;
  }
  
  .session-warning {
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

/* Clean Hero Section - Modeled after working test video */
.telematics-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Simple video background - same approach as test video */
.telematics-hero video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 0 !important;
}

.hero-overlay {
  position: relative;
  z-index: 10;
  background: transparent;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-overlay .container {
  position: relative;
  height: 100%;
}

.hero-overlay .row {
  position: relative;
  height: 100%;
  margin: 0;
}

.hero-overlay .col-md-6 {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  width: auto !important;
  max-width: 350px !important;
  float: none !important;
}

/* Process page - wider text container - RESTORED ORIGINAL STYLING */
.process-page .process-hero .hero-overlay .col-md-6 {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 1000px !important;
  max-width: 1000px !important;
}

/* RemoteAssets page - SPECIFIC LEFT positioning using URL or unique identifier */
body[data-page="remote-assets"] .telematics-page .telematics-hero .hero-overlay .col-md-6,
.telematics-page.remote-assets-page .telematics-hero .hero-overlay .col-md-6 {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  width: auto !important;
  max-width: 350px !important;
  float: none !important;
}

.hero-content-overlay {
  color: white;
  text-align: left;
  padding: 1px 20px 20px 20px !important;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  border-radius: 8px;
  /* Updated spacing: all margins reduced to 5px */
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px !important;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 25px !important;
  line-height: 1.6;
  opacity: 0.9;
}

.telematics-page .hero-subtitle {
  font-size: 1.4rem !important;
}

.hero-stats {
  display: flex;
  gap: 2px;
  margin-bottom: 25px !important;
  padding: 0 2px !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.hero-stats .stat-item {
  margin: 0 !important;
  padding: 0 2px !important;
  flex: 1 0 auto !important;
  align-self: flex-start !important;
  min-height: 0 !important;
  height: auto !important;
  max-width: 32% !important;
  width: 32% !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #608dfd;
}

.stat-label {
  font-size: 1.3rem;
  opacity: 0.8;
}

.telematics-page .stat-label {
  font-size: 1.3rem !important;
}

.telematics-page .hero-stats .stat-item .stat-number {
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: #fd0003 !important;
  line-height: 1.2 !important;
}

.telematics-page .hero-stats .stat-item .stat-label {
  font-size: 1.3rem !important;
  opacity: 0.8 !important;
  line-height: 1.2 !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
  hyphens: auto !important;
  max-width: 100% !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-cta .btn {
  padding: 8px 20px !important;
  font-size: 1.4rem !important;
  border-radius: 25px !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-cta .btn-lg {
  padding: 8px 20px !important;
  font-size: 1.4rem !important;
  border-radius: 25px !important;
}

.btn-primary {
  background: transparent;
  border: none;
  color: #fd0003;
}

.btn-primary:hover {
  background: #40c057 !important;
  border: none !important;
  color: white !important;
}

/* Force override for hero buttons - Override Bootstrap */
.hero-cta .btn.btn-primary:hover,
.process-page .btn.btn-primary:hover,
.telematics-page .btn.btn-primary:hover,
a.btn.btn-primary:hover,
.btn-primary.btn-lg:hover {
  background-color: #40c057 !important;
  background: #40c057 !important;
  border-color: #40c057 !important;
  border: none !important;
  color: white !important;
}

.btn-outline-primary {
  background: transparent;
  border: 2px solid #608dfd;
  color: #608dfd;
}

.btn-outline-primary:hover {
  background: #608dfd;
  color: white;
}

/* Telematics section spacing - match contact section padding */
.telematics-page #benefits,
.telematics-page #features,
.telematics-page #industries,
.telematics-page #technology {
  padding-top: 50px;
}

/* Match background colors - Waste Estimator and Technology Stack */
#roi-calculator,
.telematics-page #technology {
  background: #e9ecef;
  padding: 60px 0 50px 0;
}

/* Match background colors - Trusted Across Industries and Portfolio */
.telematics-page #industries {
  background-color: #B8C6DB;
  padding: 60px 0 50px 0;
}

/* Rectangular blocks with rounded edges for telematics sections */
.telematics-page #benefits .service-item,
.telematics-page #industries .service-item {
  background: #ffffff;
  border-radius: 15px;
  padding: 30px 20px;
  margin: 15px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.telematics-page #benefits .service-item:hover,
.telematics-page #industries .service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Different color scheme for Complete Mobile Asset Management - match Industries background */
.telematics-page #benefits .service-item {
  background: #B8C6DB;
  border-left: 4px solid #608dfd;
  padding: 20px 20px 10px 20px !important;
}

.telematics-page #benefits .service-item i.fa {
  color: #608dfd;
  background: rgba(96, 141, 253, 0.1);
  border-radius: 50%;
  padding: 15px;
  margin-bottom: 20px;
}

/* Change icon colors to Yuccan red in Complete Fleet Visibility & Control section */
.telematics-page #features .service-item i.fa {
  color: #D42C2C !important;
  background: #ffffff !important;
}

/* Clean industry card layout with photos above text */
.telematics-page #industries .industry-card {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  margin-bottom: 20px;
  padding: 0;
}

.telematics-page #industries .industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Photo containers - absolutely no spacing, flush with container */
.telematics-page #industries .industry-photo {
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 15px 15px 0 0;
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
}

/* LOCAL FILES OVERRIDE - HIGHEST PRIORITY FOR TELEMATICS PAGE */
.telematics-page #industries .industry-card.industry-logistics,
.telematics-page #industries .industry-logistics {
  background-image: url('/img/telematics/industry-logistics.jpg') !important;
}

.telematics-page #industries .industry-card.industry-construction,
.telematics-page #industries .industry-construction {
  background-image: url('/img/telematics/industry-construction.jpg') !important;
}

.telematics-page #industries .industry-card.industry-field-services,
.telematics-page #industries .industry-field-services {
  background-image: url('/img/telematics/industry-field-services.jpg') !important;
}

.telematics-page #industries .industry-card.industry-transportation,
.telematics-page #industries .industry-transportation {
  background-image: url('/img/telematics/industry-transportation.jpg') !important;
}

/* Technology photo containers */
.telematics-page #technology .technology-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.telematics-page #technology .technology-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.telematics-page #technology .technology-photo {
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 15px 15px 0 0;
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
}

.telematics-page #technology .technology-dashboard {
  background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
}

.telematics-page #technology .technology-mobile {
  background-image: url('https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
}

.telematics-page #technology .technology-hardware {
  background-image: url('https://images.unsplash.com/photo-1518717758536-85ae29035b6d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
}

/* Text content below photos - minimal padding for maximum text width */
.telematics-page #industries .service-desc {
  padding: 8px;
  background: #ffffff;
  margin: 0;
}

.telematics-page #industries .service-desc h3 {
  color: #2B4B8C;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 18px;
}

.telematics-page #industries .service-desc p {
  color: #4a5568;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Technology section text styling */
.telematics-page #technology .service-desc {
  padding: 8px;
  background: #ffffff;
  margin: 0;
}

.telematics-page #technology .service-desc h3 {
  color: #2B4B8C;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 18px;
}

.telematics-page #technology .service-desc p {
  color: #4a5568;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Contact form styling improvements - no container */
.telematics-page .telematics-contact-form {
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.telematics-page .telematics-contact-form .form-group {
  margin-bottom: 8px;
}

.telematics-page .form-legal {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-bottom: 10px;
}

.telematics-page .form-legal a {
  color: #2B4B8C;
  text-decoration: none;
}

.telematics-page .form-legal a:hover {
  text-decoration: underline;
}

.telematics-page .form-note {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 0;
}

/* Button styling to match Get Started form */
.telematics-page .btn-custom {
  font-family: "Lexend Deca", sans-serif;
  text-transform: uppercase;
  color: #333;
  background-color: #FFFFFF;
  background-image: none;
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 30px 0;
  font-size: 15px;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.5s linear;
  border: 2px solid #E0292A;
}

.telematics-page .btn-custom:hover,
.telematics-page .btn-custom:focus,
.telematics-page .btn-custom.focus,
.telematics-page .btn-custom:active,
.telematics-page .btn-custom.active {
  color: #fff !important;
  background-image: none;
  background-color: #40c057;
  border-color: #40c057;
}

/* Minimize section paddings for telematics page */
.telematics-page #contact {
  padding: 20px 0 10px 0 !important;
}

/* Reduce spacing between section title and content in benefits section */
.telematics-page #benefits .section-title {
  margin-bottom: 10px !important;
}

/* Ensure contact section title underline is centered */
.telematics-page #contact .section-title h2::after {
  position: absolute;
  content: "";
  background: #fd0003;
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 50% !important;
  margin-left: -30px !important;
}

/* Process Page Styles - Clean Start */
.process-page {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
}

.process-header {
  background: #fff;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  /* DEBUG: Add border to compare */
  border: 2px solid red;
}

.process-logo {
  max-height: 60px;
  width: auto;
}

.process-header .logo-container {
  text-align: center;
  margin: 0;
  padding: 0;
}

.process-header .container {
  margin: 0 auto;
  padding: 0 15px;
}

/* Clean Hero Section - Modeled after working test video */
.process-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Simple video background - same approach as test video */
.process-hero video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 0 !important;
}

.process-page .hero-subtitle {
  font-size: 1.4rem !important;
}

.process-page .stat-label {
  font-size: 1.3rem !important;
}

/* Process page 2-column layout - flat and wide - v2 */
.process-page .hero-content-overlay {
  padding: 1px 20px 0px 20px !important;
  background: rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(5px) !important;
}

.process-page .hero-two-column {
  display: flex !important;
  gap: 20px !important;
  align-items: flex-start !important;
  width: 100% !important;
}

.process-page .hero-left-column {
  width: 65% !important;
  flex: none !important;
  padding-top: 5px !important;
  padding-bottom: 0px !important;
}

.process-page .hero-left-column .hero-title {
  margin-top: 0px !important;
  margin-bottom: 10px !important;
}

.process-page .hero-left-column .hero-subtitle {
  margin-top: 0px !important;
  margin-bottom: 5px !important;
}

.process-page .hero-right-column {
  width: 30% !important;
  flex: none !important;
  padding-top: 15px !important;
  padding-bottom: 0px !important;
  margin-left: auto !important;
  margin-right: -5px !important;
}

/* Keep stats in horizontal row for compact height */
.process-page .hero-stats {
  display: flex !important;
  flex-direction: row !important;
  gap: 2px !important;
  margin-bottom: 25px !important;
  justify-content: space-between !important;
  padding: 0 2px !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.process-page .hero-stats .stat-item {
  margin: 0 !important;
  padding: 0 2px !important;
  flex: 1 0 auto !important;
  align-self: flex-start !important;
  min-height: 0 !important;
  height: auto !important;
  max-width: 32% !important;
  width: 32% !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.process-page .hero-stats .stat-item .stat-number {
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: #fd0003 !important;
  line-height: 1.2 !important;
}

.process-page .hero-stats .stat-item .stat-label {
  font-size: 1.3rem !important;
  opacity: 0.8 !important;
  line-height: 1.2 !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
  hyphens: auto !important;
  max-width: 100% !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
}

.process-page .hero-cta {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
}


}

/* Process section spacing - match contact section padding */
.process-page #benefits,
.process-page #features,
.process-page #industries,
.process-page #technology {
  padding-top: 50px;
}

/* Match background colors - Waste Estimator and Technology Stack */
.process-page #technology {
  background: #e9ecef;
  padding: 60px 0 50px 0;
}

/* Match background colors - Trusted Across Industries and Portfolio */
.process-page #industries {
  background-color: #B8C6DB;
  padding: 60px 0 50px 0;
}

/* Rectangular blocks with rounded edges for process sections */
.process-page #benefits .service-item,
.process-page #industries .service-item {
  background: #ffffff;
  border-radius: 15px;
  padding: 30px 20px;
  margin: 15px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.process-page #benefits .service-item:hover,
.process-page #industries .service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Different color scheme for Complete Mobile Asset Management - match Industries background */
.process-page #benefits .service-item {
  background: #B8C6DB;
  border-left: 4px solid #608dfd;
  padding: 20px 20px 10px 20px !important;
}

.process-page #benefits .service-item i.fa {
  color: #608dfd;
  background: rgba(96, 141, 253, 0.1);
  border-radius: 50%;
  padding: 15px;
  margin-bottom: 20px;
}

/* Change icon colors to Yuccan red in Complete Fleet Visibility & Control section */
.process-page #features .service-item i.fa {
  color: #D42C2C !important;
  background: #ffffff !important;
}

/* Clean industry card layout with photos above text */
.process-page #industries .industry-card {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  margin-bottom: 20px;
  padding: 0;
}

.process-page #industries .industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Photo containers - absolutely no spacing, flush with container */
.process-page #industries .industry-photo {
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 15px 15px 0 0;
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
}

/* Individual background images for each industry */
.process-page #industries .industry-logistics {
  background-image: url('https://images.unsplash.com/photo-1566576912321-d58ddd7a6088?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
}

.process-page #industries .industry-construction {
  background-image: url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
}

.process-page #industries .industry-field-services {
  background-image: url('https://images.unsplash.com/photo-1621905251189-08b45d6a269e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
}

.process-page #industries .industry-transportation {
  background-image: url('https://images.unsplash.com/photo-1570125909232-eb263c188f7e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
}

/* Technology photo containers */
.process-page #technology .technology-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.process-page #technology .technology-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.process-page #technology .technology-photo {
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 15px 15px 0 0;
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
}

.process-page #technology .technology-dashboard {
  background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
}

.process-page #technology .technology-mobile {
  background-image: url('https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
}

.process-page #technology .technology-hardware {
  background-image: url('https://images.unsplash.com/photo-1518717758536-85ae29035b6d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
}

/* Text content below photos - minimal padding for maximum text width */
.process-page #industries .service-desc {
  padding: 8px;
  background: #ffffff;
  margin: 0;
}

.process-page #industries .service-desc h3 {
  color: #2B4B8C;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 18px;
}

.process-page #industries .service-desc p {
  color: #4a5568;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Technology section text styling */
.process-page #technology .service-desc {
  padding: 8px;
  background: #ffffff;
  margin: 0;
}

.process-page #technology .service-desc h3 {
  color: #2B4B8C;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 18px;
}

.process-page #technology .service-desc p {
  color: #4a5568;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Contact form styling improvements - no container */
.process-page .process-contact-form {
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.process-page .process-contact-form .form-group {
  margin-bottom: 8px;
}

.process-page .form-legal {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-bottom: 10px;
}

.process-page .form-legal a {
  color: #2B4B8C;
  text-decoration: none;
}

.process-page .form-legal a:hover {
  text-decoration: underline;
}

.process-page .form-note {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 0;
}

/* Desktop only - Center the bottom promo-actions container */
@media (min-width: 769px) {
  .promo-detail-page .row:last-child .promo-actions {
    justify-content: center !important;
    display: flex !important;
  }
}

/* Button styling to match Get Started form */
.process-page .btn-custom {
  font-family: "Lexend Deca", sans-serif;
  text-transform: uppercase;
  color: #333;
  background-color: #FFFFFF;
  background-image: none;
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 30px 0;
  font-size: 15px;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.5s linear;
  border: 2px solid #E0292A;
}

.process-page .btn-custom:hover,
.process-page .btn-custom:focus,
.process-page .btn-custom.focus,
.process-page .btn-custom:active,
.process-page .btn-custom.active {
  color: #fff !important;
  background-image: none;
  background-color: #40c057;
  border-color: #40c057;
}

/* Minimize section paddings for process page */
.process-page #contact {
  padding: 20px 0 10px 0 !important;
}

/* Reduce spacing between section title and content in benefits section */
.process-page #benefits .section-title {
  margin-bottom: 10px !important;
}

/* Ensure contact section title underline is centered */
.process-page #contact .section-title h2::after {
  position: absolute;
  content: "";
  background: #fd0003;
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 50% !important;
  margin-left: -30px !important;
}

.process-page #benefits,
.process-page #features,
.process-page #industries,
.process-page #technology {
  padding: 30px 0 20px 0 !important;
}

.telematics-page #benefits,
.telematics-page #features,
.telematics-page #industries,
.telematics-page #technology {
  padding: 30px 0 20px 0 !important;
}

/* Telematics Page - Industry Photos */
.industry-photo {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px 10px 0 0;
  margin-bottom: 20px;
}

.industry-logistics {
  background-image: url('/img/telematics/industry-logistics.jpg');
}

.industry-construction {
  background-image: url('/img/telematics/industry-construction.jpg');
}

.industry-field-services {
  background-image: url('/img/telematics/industry-field-services.jpg');
}

.industry-transportation {
  background-image: url('/img/telematics/industry-transportation.jpg');
}

/* Telematics Page - Technology Photos */
.technology-photo {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px 10px 0 0;
  margin-bottom: 20px;
}

.technology-dashboard {
  background-image: url('/img/telematics/technology-dashboard.jpg');
}

.technology-mobile {
  background-image: url('/img/telematics/technology-mobile.jpg');
}

.technology-hardware {
  background-image: url('/img/telematics/technology-hardware.jpg');
}

/* Fallback styling removed - using CSS class-based images instead of inline styles */

/* Responsive adjustments */
@media (max-width: 768px) {
  .telematics-hero {
    height: 70vh;
  }
  
  .process-hero {
    height: 70vh;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px !important;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 25px !important;
  }
  
  .hero-cta {
    flex-direction: column;
  }

  .industry-photo,
  .technology-photo {
    height: 150px;
  }
}

/* ========================================
   TELEMATICS HERO MOBILE-ONLY OPTIMIZATION
   ======================================== */

/* Mobile phone optimization - Move text container below hero */
@media (max-width: 576px) {
  .telematics-hero {
    height: 40vh !important;
    min-height: 300px !important;
  }
  
  /* Hide the overlay within the hero */
  .telematics-hero .hero-overlay {
    display: none !important;
  }
  
  /* Apply same mobile optimization to Process page */
  .process-hero {
    height: 40vh !important;
    min-height: 300px !important;
  }
  
  /* Hide the overlay within the Process hero */
  .process-hero .hero-overlay {
    display: none !important;
  }
  
  /* Mobile-only Hero Content Section - Show only on mobile */
  .mobile-hero-content {
    display: block;
    padding: 10px 0 40px 0;
    background: rgba(240, 245, 250, 0.95);
    text-align: center;
  }
  
  .mobile-hero-content-container {
    max-width: 100%;
    padding: 0 15px;
  }
  
  .mobile-hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--yuccan-navy, #2B4B8C) !important;
    margin-bottom: 20px;
    line-height: 1.2;
  }
  
  .mobile-hero-title .text-primary {
    color: #fd0003 !important;
  }
  
  .mobile-hero-subtitle {
    font-size: 1.6rem;
    color: #000000;
    margin-bottom: 25px;
    line-height: 1.6;
    text-align: justify;
  }
  
  .mobile-hero-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    flex-wrap: nowrap;
    gap: 10px;
  }
  
  .mobile-stat-item {
    flex: 1;
    min-width: auto;
  }
  
  .mobile-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fd0003 !important;
    margin-bottom: 5px;
    line-height: 1.2;
  }
  
  .mobile-stat-label {
    font-size: 1.5rem;
    color: #000000;
    font-weight: 400;
  }
  
  .mobile-hero-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .mobile-hero-cta .btn {
    width: 100%;
    max-width: 180px;
    min-height: 50px;
    height: auto;
    padding: 3px 18px;
    font-size: 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 500;
    line-height: 1.3;
    white-space: normal;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .mobile-hero-cta .btn-outline-primary {
    background: transparent;
    color: #000000 !important;
    border: 2px solid #2B4B8C;
  }
  
  .mobile-hero-cta .btn-outline-primary:hover {
    background: #2B4B8C !important;
    color: white !important;
    border-color: #2B4B8C !important;
  }
  
  .mobile-hero-cta .btn-primary {
    background: transparent;
    color: #000000 !important;
    border: 2px solid #fd0003;
  }
  
  .mobile-hero-cta .btn-primary:hover {
    background: #40c057;
    border-color: #40c057;
    color: white;
  }
}

/* Hide mobile hero content on desktop */
@media (min-width: 577px) {
  .mobile-hero-content {
    display: none !important;
  }
}

/* ========================================
   PROMO COMPONENT ARCHITECTURE - NEW
   ======================================== */

/* Promo Components - Device-Agnostic Design */
.promo-price-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

/* Price elements that scale proportionally across devices */
.promo-price-current {
  font-size: var(--font-size-2xl);  /* 24px mobile → 26px tablet → 24px desktop */
  font-weight: bold;
  color: #f8825a;
}

.promo-price-original {
  font-size: var(--font-size-xl);   /* 18px mobile → 20px tablet → 18px desktop */
  text-decoration: line-through;
  color: #999;
  margin: 0 15px;
}

.promo-description-header {
  font-size: var(--font-size-lg);   /* 20px mobile → 22px tablet → 20px desktop */
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.promo-description-text {
  font-size: var(--font-size-base); /* 15px mobile → 16px tablet → 15px desktop */
  color: #000;
  line-height: 1.6;
}

.promo-discount-badge {
  background-color: #28a745;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  margin-left: 15px;
}

/* MOBILE ONLY: Font size increases by 2 points for all hero text except main header */
@media (max-width: 576px) {
  /* Removed conflicting !important declarations to allow JavaScript responsive control */
  
  .product-description h3[style*="color"] {
    font-size: 22px !important; /* 20px + 2px - assuming default h3 is 20px */
    font-family: "Open Sans", sans-serif !important; /* Match h1 Promo title font */
    font-weight: 400 !important; /* Match h1 Promo title weight */
  }
  
  .product-description p[style*="color"] {
    font-size: 17px !important; /* 15px + 2px - assuming default paragraph is 15px */
  }
  
  /* Main landing page Promos section - move header and paragraph text up by 15px */
  #promos .promo-content h3 {
    transform: translateY(-15px); /* Move header text up by 15px */
  }
  
  #promos .promo-description {
    transform: translateY(-15px); /* Move paragraph text up by 15px */
  }
  
  /* Button width reduction and centering - mobile only */
  .promo-actions .btn {
    width: 30% !important; /* Reduce to 30% of current width */
    margin: 0 auto 10px auto !important; /* Center and stack with spacing */
    display: block !important; /* Stack buttons vertically */
    text-align: center !important; /* Center text within buttons */
  }
  
  /* Removed conflicting bottom button rule - now handled by .row:last-child .btn */
}

@media (max-width: 480px) {
  /* Removed conflicting small mobile !important declarations */
  
  .product-description p[style*="color"] {
    font-size: 16px !important; /* Slightly smaller for very small screens */
  }
}
/* Responsive Utility Classes */
.text-responsive-sm { font-size: var(--font-size-sm); }
.text-responsive-base { font-size: var(--font-size-base); }
.text-responsive-lg { font-size: var(--font-size-lg); }
.text-responsive-xl { font-size: var(--font-size-xl); }
.text-responsive-2xl { font-size: var(--font-size-2xl); }

.space-xs { margin: var(--space-xs); }
.space-sm { margin: var(--space-sm); }
.space-md { margin: var(--space-md); }
.space-lg { margin: var(--space-lg); }

.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }

/* Promo Container - Responsive */
.promo-container-responsive {
  padding: var(--space-md);
  max-width: 100%;
}

@media (min-width: 768px) {
  .promo-container-responsive {
    padding: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* ========================================
   PROMO PAGES MOBILE OPTIMIZATION - LEGACY
   ======================================== */

/* Desktop/default layout - maintain existing structure */
.promo-detail-page .row[style*="display: flex"] {
  display: flex;
  align-items: stretch;
}

/* Base styles for promo descriptor text */
.promo-content h1 {
  font-size: 2.7rem !important;
  font-weight: 700 !important;
  line-height: 1.3;
  color: #333;
}

/* Tablet optimization */
@media (max-width: 768px) {
  .promo-detail-page .container {
    padding: 20px 15px !important;
  }
  
  /* Restructure Hero section to stack image on top */
  .promo-detail-page .row[style*="display: flex"] {
    display: block !important;
  }
  
  .promo-detail-page .col-xs-12.col-md-6 {
    width: 100% !important;
    margin-bottom: 20px;
  }
  
  /* Image column adjustments */
  .promo-detail-page .col-xs-12.col-md-6:first-child {
    margin-bottom: 25px;
  }
  
  .promo-detail-page .col-xs-12.col-md-6 img {
    max-width: 100%;
    height: auto;
    border-radius: 10px !important;
  }
  
  /* Content column adjustments */
  .promo-content {
    display: flex !important;
    flex-direction: column !important;
  }
  
  .promo-content h1 {
    font-size: 2.3rem !important;
    line-height: 1.3;
    margin-bottom: 15px !important;
    font-weight: 700 !important;
  }
  
  /* Price section improvements */
  .price-section {
    margin-bottom: 20px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px;
  }
  
  .price-section .current-price,
  .price-section .original-price,
  .price-section .price-period {
    margin: 0 !important;
  }
  
  .price-section .discount-badge {
    margin-left: 0 !important;
  }
  
  /* Description section */
  .product-description {
    margin-bottom: 20px !important;
  }
  
  .product-description h3 {
    font-size: 1.3rem !important;
    margin-bottom: 12px !important;
  }
  
  .product-description p {
    font-size: 15px !important;
    line-height: 1.5;
  }
  
  /* Button spacing fixes */
  .promo-actions {
    margin-top: 20px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px;
  }
  
  .promo-actions .btn {
    flex: 1;
    min-width: 140px;
    margin: 0 !important;
    font-size: 14px !important;
    padding: 12px 20px !important;
  }
}

/* Mobile phone optimization */
@media (max-width: 576px) {
  .promo-detail-page .container {
    padding: 15px 10px !important;
  }
  
  /* Removed conflicting var() font-size overrides */
  
  body .product-description h3 {
    font-size: calc(var(--font-size-lg) * 1.05) !important; /* Proportional to desktop +1px */
  }
  
  body .product-description p {
    font-size: calc(var(--font-size-base) * 1.07) !important; /* Proportional to desktop +1px */
  }
  
  /* Logo section */
  .promo-detail-page .row:first-child {
    margin-bottom: 20px !important;
  }
  
  /* Hero image */
  .promo-detail-page .col-xs-12.col-md-6:first-child {
    margin-bottom: 20px;
  }
  
  /* Content adjustments */
  .promo-content h1 {
    font-size: 2.5rem !important;
    line-height: 1.2;
    margin-bottom: 12px !important;
    text-align: center;
    font-weight: 700 !important;
  }
  
  /* Price section mobile layout */
  .price-section {
    justify-content: center !important;
    text-align: center;
    margin-bottom: 18px !important;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
  }
  
  .price-section .current-price {
    display: block;
    width: 100%;
    margin-bottom: 5px !important;
  }
  
  .price-section .original-price,
  .price-section .price-period {
    display: block;
    width: 100%;
    margin-bottom: 8px !important;
  }
  
  .price-section .discount-badge {
    display: inline-block;
    margin: 5px 0 !important;
  }
  
  /* Description section */
  .product-description {
    text-align: center;
    margin-bottom: 18px !important;
  }
  
  .product-description h3 {
    font-size: 1.3rem !important;
    margin-bottom: 10px !important;
  }
  
  .product-description p {
    font-size: 15px !important;
    line-height: 1.4;
  }
  
  /* Buttons - stack vertically on mobile */
  .promo-actions {
    flex-direction: column !important;
    gap: 10px;
    align-items: stretch;
  }
  
  .promo-actions .btn {
    width: 65% !important;
    flex: none;
    min-width: auto;
    font-size: 16px !important;
    padding: 6px 8px !important;
    margin: 5px auto !important;
    display: block !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  
  /* Bottom button now uses same .promo-actions structure - no separate CSS needed */
}

/* Small mobile phones */
@media (max-width: 480px) {
  .promo-detail-page .container {
    padding: 10px 5px !important;
  }
  
  /* Small mobile: Removed conflicting calc() font-size overrides */
  
  body .product-description p {
    font-size: calc(var(--font-size-base) * 1.0) !important; /* Maintain proportion */
  }
  
  .promo-content h1 {
    font-size: 2.2rem !important;
    font-weight: 700 !important;
  }
  
  .price-section .current-price {
    /* Font size now controlled by JavaScript inline styles */
  }
  
  .price-section .original-price,
  .price-section .price-period {
    /* Font size now controlled by JavaScript inline styles */
  }
  
  .product-description p {
    font-size: 14px !important;
  }
  
  .promo-actions .btn {
    width: 65% !important;
    flex: none;
    min-width: auto;
    font-size: 16px !important;
    padding: 6px 8px !important;
    margin: 5px auto !important;
    display: block !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  
  /* Bottom button now uses same .promo-actions structure - no separate CSS needed */
}
