html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f7f9fc;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}

/* STANDARDIZED TYPOGRAPHY */
h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
}

h4 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

h5 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

h6 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

p {
  font-size: 15px;
  line-height: 1.6;
}

/* NAVBAR STYLES */
.custom_navbar {
  background-color: transparent !important;
  box-shadow: none;
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.custom_navbar.scrolled {
  background-color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.custom_navbar .navbar-brand {
  position: relative;
  z-index: 1;
  padding: 8px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.custom_navbar.scrolled .navbar-brand {
  background-color: transparent;
  padding: 0;
  box-shadow: none;
}

.custom_navbar .navbar-brand img {
  width: 200px;
  height: auto;
  transition: all 0.3s ease;
  display: block;
}

.custom_navbar .navbar-brand:hover img {
  transform: scale(1.05);
}

.custom_navbar .nav-link {
  color: #fff !important;
  font-weight: 500;
  font-size: 15px;
  margin: 0 10px;
  padding: 8px 15px !important;
  transition: all 0.3s;
  border-radius: 5px;
  position: relative;
}

.custom_navbar .nav-link:hover,
.custom_navbar .nav-link.active {
  color: #fff !important;
  background-color: rgba(255, 255, 255, 0.2);
}

.custom_navbar.scrolled .nav-link {
  color: #333 !important;
}

.custom_navbar.scrolled .nav-link:hover,
.custom_navbar.scrolled .nav-link.active {
  color: #940205 !important;
  background-color: rgba(148, 2, 5, 0.1);
}

.custom_navbar.scrolled .navbar-collapse.show .nav-link,
.custom_navbar.scrolled .navbar-collapse.collapsing .nav-link {
  color: #333 !important;
}

.custom_navbar.scrolled .navbar-collapse.show .nav-link:hover,
.custom_navbar.scrolled .navbar-collapse.show .nav-link.active,
.custom_navbar.scrolled .navbar-collapse.collapsing .nav-link:hover,
.custom_navbar.scrolled .navbar-collapse.collapsing .nav-link.active {
  background-color: rgba(148, 2, 5, 0.1);
  color: #940205 !important;
}

.custom_navbar.scrolled .navbar-collapse.show,
.custom_navbar.scrolled .navbar-collapse.collapsing {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.custom_navbar.scrolled .dropdown-menu {
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.custom_navbar .dropdown-toggle::after {
  margin-left: 5px;
  vertical-align: 0.15em;
}

.custom_navbar .dropdown-menu {
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-top: 10px;
  padding: 8px 0;
  min-width: 200px;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.custom_navbar .dropdown-item {
  padding: 10px 20px;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
}

.custom_navbar .dropdown-item:hover {
  background-color: #940205;
  color: #fff;
}

.custom_navbar.scrolled .dropdown-item {
  color: #333;
}

.custom_navbar.scrolled .dropdown-item:hover {
  background-color: #940205;
  color: #fff;
}

.custom_navbar .dropdown-item i {
  width: 20px;
  text-align: center;
}

.custom_navbar .navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.custom_navbar .navbar-toggler:focus {
  box-shadow: none;
}

.custom_navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.custom_navbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2851, 51, 51, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar background when menu is opened (before scroll) */
.custom_navbar:has(.navbar-collapse.show):not(.scrolled),
.custom_navbar:has(.navbar-collapse.collapsing):not(.scrolled) {
  background-color: rgba(0, 0, 0, 0.95) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Navbar background when menu is opened (after scroll) */
.custom_navbar.scrolled:has(.navbar-collapse.show),
.custom_navbar.scrolled:has(.navbar-collapse.collapsing) {
  background-color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.custom_navbar .navbar-collapse {
  background-color: transparent;
  transition: all 0.3s ease;
}

.custom_navbar .navbar-collapse.show,
.custom_navbar .navbar-collapse.collapsing {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 20px 15px;
  margin-top: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.custom_navbar .navbar-collapse.show .nav-link,
.custom_navbar .navbar-collapse.collapsing .nav-link {
  color: #fff !important;
  padding: 12px 15px !important;
  margin: 5px 0;
  border-radius: 5px;
}

.custom_navbar .navbar-collapse.show .nav-link:hover,
.custom_navbar .navbar-collapse.show .nav-link.active,
.custom_navbar .navbar-collapse.collapsing .nav-link:hover,
.custom_navbar .navbar-collapse.collapsing .nav-link.active {
  background-color: rgba(148, 2, 5, 0.3);
  color: #fff !important;
}

.custom_navbar .navbar-collapse.show .dropdown-menu,
.custom_navbar .navbar-collapse.collapsing .dropdown-menu {
  background-color: rgba(0, 0, 0, 0.8);
  margin-top: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* BUTTON STYLES */
.btn-primary {
  background: #940205;
  color: #fff;
  border-color: #940205;
  padding: 10px 25px;
  font-weight: 500;
  font-size: 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #7a0104;
  color: #fff;
  border-color: #7a0104;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(148, 2, 5, 0.3);
}

.btn-outline-primary {
  color: #940205;
  border-color: #940205;
  padding: 10px 25px;
  font-weight: 500;
  font-size: 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: #940205;
  color: #fff;
  border-color: #940205;
}

/* SECTION STYLES */
/* Padding handled by Bootstrap utility classes */

/* PAGE BANNER SECTION - Uses same styling as hero-section */
.hero-section.page-banner {
  min-height: 50vh !important;
  margin-top: 0;
}


.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  margin-bottom: 15px;
  text-align: center;
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  text-align: center;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* HERO SECTION */
.hero-section {
  background: #000000;
  color: #fff;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  margin-top: 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/banner.jpg') center/cover;
  background-attachment: fixed;
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.hero-background-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-element {
  position: absolute;
  font-size: 80px;
  color: rgba(255, 255, 255, 0.08);
  animation: float 15s infinite ease-in-out;
}

.hero-truck {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.hero-box {
  bottom: 20%;
  right: 10%;
  animation-delay: 3s;
  font-size: 70px;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) translateX(10px) rotate(5deg);
  }
  50% {
    transform: translateY(-10px) translateX(-10px) rotate(-5deg);
  }
  75% {
    transform: translateY(-15px) translateX(5px) rotate(3deg);
  }
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FEATURE CARDS */
.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 35px 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  margin-bottom: 0;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-card i {
  font-size: 48px;
  color: #940205;
  margin-bottom: 20px;
}

.feature-card h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #222;
}

.feature-card p {
  color: #666;
  font-size: 14px;
  margin: 0;
}

/* SERVICE CARD */
.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  height: 100%;
}

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

.service-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.service-card-body {
  padding: 25px;
}

.service-card h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #222;
}

.service-card p {
  color: #666;
  font-size: 14px;
  margin: 0;
}

/* ABOUT SECTION */
.about-content {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* CONTACT FORM */
.contact-form {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #222;
}

.contact-info {
  background: #940205;
  color: #fff;
  border-radius: 12px;
  padding: 40px;
  height: 100%;
}

.contact-info h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
}

.contact-info-item {
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
}

.contact-info-item i {
  font-size: 20px;
  margin-right: 15px;
  margin-top: 5px;
  min-width: 25px;
}

.contact-info-item p {
  margin: 0;
  font-size: 14px;
}

.contact-info h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
}

.contact-info .social_icons {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-info .social_icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
  text-decoration: none;
  margin: 0;
}

.contact-info .social_icons a:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.form-control,
.form-select {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 12px 15px;
  font-size: 14px;
  transition: all 0.3s;
}

.form-control:focus,
.form-select:focus {
  border-color: #940205;
  box-shadow: 0 0 0 0.2rem rgba(148, 2, 5, 0.25);
}

.form-label {
  font-weight: 500;
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
}

/* LOGIN FORM */
.login-section {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}

.login-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 40px;
  max-width: 450px;
  margin: 0 auto;
}

.login-card h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
  text-align: center;
}

.login-card p {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-bottom: 30px;
}

/* FOOTER */
footer {
  background: #000000;
  color: #fff;
  padding: 70px 0 0;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/banner.jpg') center/cover;
  background-attachment: fixed;
  z-index: 0;
  opacity: 0.4;
}

footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

footer .container {
  position: relative;
  z-index: 1;
}

footer h6 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 25px;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 10px;
}

footer h6::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #940205;
}

footer .footer-logo {
  width: 220px;
  filter: brightness(0) invert(1);
  margin-bottom: 25px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

footer .footer-logo:hover {
  transform: scale(1.05);
}

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

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

footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
}

footer a:hover {
  color: #940205;
  padding-left: 8px;
  transform: translateX(3px);
}

footer .social_icons {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

footer .social_icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

footer .social_icons a:hover {
  background: #940205;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(148, 2, 5, 0.4);
  border-color: #940205;
  padding-left: 0;
}

footer .bottom_bar {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 30px 0;
  margin-top: 50px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}

footer .bottom_bar a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

footer .bottom_bar a:hover {
  color: #940205;
  padding-left: 0;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.8) !important;
}

footer p.text-white-50 {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* UTILITY CLASSES */
.text-primary-custom {
  color: #940205 !important;
}

.bg-primary-custom {
  background-color: #940205 !important;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* RESPONSIVE STYLES */
@media (max-width: 1199px) {
  .custom_navbar .nav-link {
    font-size: 13px;
  }
}
/* RESPONSIVE STYLES */
@media (max-width: 991px) {
  .custom_navbar .navbar-brand img {
    width: 150px;
  }

  .hero-section {
    padding: 100px 0 80px;
    min-height: 100vh;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-element {
    font-size: 50px !important;
  }

  .section-title {
    font-size: 24px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  h4 {
    font-size: 18px;
  }

  h5 {
    font-size: 16px;
  }

  .hero-section.page-banner {
    min-height: 40vh !important;
  }
}

@media (max-width: 768px) {
  .custom_navbar .navbar-brand img {
    width: 120px;
  }

  .hero-section {
    padding: 80px 0 60px;
    min-height: 100vh;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-element {
    font-size: 40px !important;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 15px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .section-title {
    font-size: 22px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }

  h4 {
    font-size: 17px;
  }

  h5 {
    font-size: 15px;
  }

  body {
    font-size: 14px;
  }

  p {
    font-size: 14px;
  }

  .section-subtitle {
    font-size: 15px;
  }

  .hero-section.page-banner {
    min-height: 50vh !important;
  }

  /* Padding handled by Bootstrap utility classes */

  .feature-card,
  .service-card {
    margin-bottom: 20px;
  }

  .contact-form,
  .about-content,
  .contact-info {
    padding: 25px;
    margin-bottom: 20px;
  }

  .login-card {
    padding: 30px 20px;
  }

  footer {
    padding: 50px 0 0;
  }

  footer .footer-logo {
    width: 180px;
  }

  footer h6 {
    margin-bottom: 20px;
    font-size: 14px;
  }

  footer .social_icons {
    gap: 10px;
  }

  footer .social_icons a {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  footer .bottom_bar {
    padding: 25px 15px;
    margin-top: 40px;
  }
}

@media (max-width: 576px) {
  .custom_navbar .nav-link {
    margin: 5px 0;
    padding: 8px 10px !important;
  }

  .hero-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 20px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 17px;
  }

  h4 {
    font-size: 16px;
  }

  h5 {
    font-size: 14px;
  }

  body {
    font-size: 14px;
  }

  p {
    font-size: 14px;
  }
}
