html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  padding: 0;
  margin-bottom: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  background-color: #f6f7f9;
  color: #333333;
}

/* Top Info Bar */
.top-info-bar {
  background-color: #1a1a2e !important;
  font-size: 0.875rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1031;
  min-height: 40px;
  padding: 8px 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  transform: translateY(0);
  opacity: 1;
}

.top-info-bar.top-bar-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.top-info-bar .info-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  position: relative;
  white-space: nowrap;
}

.top-info-bar .info-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background-color: rgba(255, 255, 255, 0.3);
}

.top-info-bar .info-icon {
  color: #3498db;
  margin-right: 8px;
  font-size: 0.9rem;
}

.top-info-bar .info-item span {
  font-size: 0.875rem;
  white-space: nowrap;
}

/* Logo Styles */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent !important;
  background-color: transparent !important;
}

.navbar-logo {
  height: 75px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  transition: transform 0.3s ease;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  z-index: 10;
  background: transparent !important;
  background-color: transparent !important;
  mix-blend-mode: normal;
}

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

/* Hide old logo elements */
.logo-icon,
.logo-text-large,
.logo-text-small {
  display: none !important;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: 2px solid white;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  font-weight: 900;
  position: relative;
}

.logo-icon::after {
  content: "";
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 12px;
  height: 12px;
  background-color: #fa4216;
  border-radius: 50%;
  border: 2px solid #1a1a2e;
}

.logo-text-large {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: white;
  line-height: 1;
}

.logo-text-small {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: white;
  line-height: 1.2;
}

.logo-text-small .dot {
  color: #ff6b35;
}

/* Hero Section */
.hero-section {
  min-height: calc(90vh + 116px);
  position: relative;
  overflow: hidden;
  background-color: #f6f7f9;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  width: 100%;
  margin-top: -116px !important;
}

/* Hide any truck icons or large graphics in hero section */
.hero-section::before,
.hero-section::after {
  display: none !important;
}

.hero-section img[alt*="truck"],
.hero-section img[alt*="Truck"],
.hero-section img[alt*="TIR"],
.hero-section .fa-truck,
.hero-section .fa-truck-fast,
.hero-section i.fa-truck,
.hero-section i.fa-truck-fast {
  display: none !important;
  visibility: hidden !important;
}

.hero-section .container,
.hero-section .container-fluid {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-left: 30px;
  padding-right: 30px;
}

/* Container fixes - prevent white space on right */
.container,
.container-fluid {
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

body {
  overflow-x: hidden;
  max-width: 100%;
}

.hero-content {
  padding: 150px 30px 100px;
  min-height: calc(90vh + 116px);
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content .row {
  width: 100%;
  margin: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-section .hero-subtitle {
  animation: fadeInUp 1.5s ease-out;
}

.hero-section .hero-title {
  animation: fadeInUp 2s ease-out;
}

.hero-section .hero-tagline {
  animation: fadeInUp 2.5s ease-out;
}

.hero-section .btn-hero {
  animation: fadeInUp 3s ease-out;
}

/* Main Navbar */
.main-navbar {
  padding: 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  background-color: #1a1a2e !important;
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 1030;
  transform: translateY(0);
  opacity: 1;
}

.main-navbar.navbar-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.main-navbar .container-fluid {
  padding-top: 15px;
  padding-bottom: 15px;
}

.nav-orange-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #fa4216;
  z-index: 1;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  transition: transform 0.3s ease;
  color: white !important;
  text-decoration: none;
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
  z-index: 1050;
  display: flex !important;
  align-items: center;
  min-height: 60px;
}

.navbar-brand img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.navbar-brand:hover {
  transform: scale(1.02);
  color: white !important;
  text-decoration: none;
}

.navbar-brand:focus {
  color: white !important;
  text-decoration: none;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1.2rem !important;
  transition: all 0.3s ease;
  position: relative;
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: #fa4216 !important;
}

/* Navbar Toggler - prevent double icon */
.navbar-toggler {
  border: none;
  padding: 4px 8px;
}

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

.navbar-toggler-icon {
  background-image: none !important;
  width: 30px;
  height: 30px;
  position: relative;
}

.navbar-toggler-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background-color: #ffffff;
  box-shadow: 0 9px 0 #ffffff, 0 18px 0 #ffffff;
}

.dropdown-toggle::after {
  content: " +";
  border: none;
  margin-left: 3px;
  font-weight: 300;
  vertical-align: baseline;
}

/* Cards */
.card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  color: #333333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.card-body {
  background-color: #ffffff;
  color: #333333;
}

.card-title {
  color: #333333;
}

.card-text {
  color: #666666;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.card-body i {
  transition: transform 0.4s ease;
}

.card:hover .card-body i {
  transform: scale(1.2) rotate(5deg);
}

/* Buttons */
.btn {
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

.btn-success {
  background-color: #25d366;
  border-color: #25d366;
  color: white;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-success:hover {
  background-color: #20ba5a;
  border-color: #20ba5a;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* WhatsApp Button (Orange/Red) */
.btn-whatsapp-nav {
  background-color: #fa4216;
  color: white;
  font-weight: 600;
  padding: 12px 30px;
  text-decoration: none;
  display: inline-block;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
  transition: all 0.3s ease;
  font-size: 0.95rem;
  border: none;
}

.btn-whatsapp-nav:hover {
  background-color: #e55a2b;
  color: white;
  transform: translateX(3px);
  text-decoration: none;
}

.btn-whatsapp {
  background-color: #fa4216;
  border-color: #fa4216;
  color: white;
  font-weight: 600;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #e55a2b;
  border-color: #e55a2b;
  color: white;
  transform: translateX(5px);
}

/* Hero Button */
.btn-hero {
  background-color: #3498db;
  border-color: #3498db;
  color: #ffffff;
  font-weight: 600;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-hero:hover {
  background-color: #2980b9;
  border-color: #2980b9;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.5);
}

/* Hero Text Styles */
.hero-subtitle {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  z-index: 3;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
  color: #ffffff !important;
  letter-spacing: 0px;
}

.hero-tagline {
  font-size: 1.2rem;
  font-weight: 300;
  color: #ffffff !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  letter-spacing: 0px;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 0.7;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Main Content */
main {
  margin-top: 116px;
}

main > section:first-of-type.hero-section {
  margin-top: -116px !important;
  padding-top: 0 !important;
}

/* Sections */
section {
  padding: 5rem 0;
  position: relative;
  background-color: #f6f7f9;
  color: #333333;
  text-align: left;
}

/* Remove text-center from all sections */
section .text-center {
  text-align: left !important;
}

.container {
  text-align: left;
  max-width: 100%;
}

.hero-section {
  padding: 0 !important;
  margin-top: 0 !important;
}

section:not(.page-header):not(.hero-section) h1,
section:not(.page-header):not(.hero-section) h2,
section:not(.page-header):not(.hero-section) h3,
section:not(.page-header):not(.hero-section) h4,
section:not(.page-header):not(.hero-section) h5,
section:not(.page-header):not(.hero-section) h6,
section:not(.page-header):not(.hero-section) .display-1,
section:not(.page-header):not(.hero-section) .display-2,
section:not(.page-header):not(.hero-section) .display-3,
section:not(.page-header):not(.hero-section) .display-4,
section:not(.page-header):not(.hero-section) .display-5 {
  color: #333333 !important;
}

section:not(.page-header):not(.hero-section) p,
section:not(.page-header):not(.hero-section) .lead {
  color: #666666 !important;
}

.text-primary {
  color: #fa4216 !important;
}

.text-primary.stats-number {
  color: #fa4216 !important;
}

.bg-light {
  background-color: #ffffff !important;
  color: #333333;
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.5s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 1.5s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 1.5s ease-out;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 1.5s ease-out;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 {
  transition-delay: 0.1s;
}
.stagger-2 {
  transition-delay: 0.2s;
}
.stagger-3 {
  transition-delay: 0.3s;
}
.stagger-4 {
  transition-delay: 0.4s;
}
.stagger-5 {
  transition-delay: 0.5s;
}

/* Stats Section */
.stats-number {
  display: inline-block;
  transition: all 0.3s ease;
}

.stats-number:hover {
  transform: scale(1.1);
  color: #fa4216 !important;
}

.display-4 {
  font-weight: bold;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

/* Icons */
.fa-3x {
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  color: #fa4216;
}

.card-body i.fa-3x {
  color: #fa4216;
}

.text-primary i {
  color: #fa4216;
}

.fa-10x {
  opacity: 0.3;
}

/* Footer */
footer {
  background-color: #212529 !important;
  position: relative;
  color: #ffffff;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

footer .container {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

footer .container > *:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #fa4216, #fb5c35, #fa4216);
  background-size: 200% 100%;
  animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

footer a {
  transition: all 0.3s ease;
  position: relative;
}

footer a::before {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #fa4216;
  transition: width 0.3s ease;
}

footer a:hover::before {
  width: 100%;
}

footer a:hover {
  color: #fa4216 !important;
  transform: translateX(5px);
}

footer h5,
footer h4 {
  color: #ffffff;
}

footer p,
footer a {
  color: #ffffff;
}

/* Dropdown Menu */
.dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-radius: 5px;
  padding: 0.5rem 0;
  animation: slideDown 0.3s ease-out;
  background-color: #34495e !important;
}

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

.dropdown-item {
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.9) !important;
}

.dropdown-item:hover {
  background-color: #ff6b35 !important;
  transform: translateX(5px);
  color: white !important;
}

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

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

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Loading Animation */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Smooth transitions for all interactive elements */
a,
button,
input,
textarea,
select {
  transition: all 0.3s ease;
}

/* Card staggered animation */
.card:nth-child(1) {
  animation-delay: 0.1s;
}
.card:nth-child(2) {
  animation-delay: 0.2s;
}
.card:nth-child(3) {
  animation-delay: 0.3s;
}
.card:nth-child(4) {
  animation-delay: 0.4s;
}
.card:nth-child(5) {
  animation-delay: 0.5s;
}
.card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
    background-attachment: scroll;
  }

  .hero-content {
    min-height: 70vh;
    padding: 100px 15px 40px;
  }

  .hero-title {
    font-size: 2.5rem !important;
  }

  .hero-tagline {
    font-size: 1.1rem !important;
  }

  .hero-subtitle {
    font-size: 1rem !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
    margin-bottom: 15px !important;
  }

  .btn-hero {
    padding: 0.9rem 2rem !important;
    font-size: 0.95rem !important;
  }

  .top-info-bar {
    display: none !important;
  }

  .main-navbar {
    top: 0 !important;
  }

  main {
    margin-top: 76px !important;
  }

  section {
    padding: 3rem 0;
  }

  .main-navbar {
    top: auto !important;
  }

  main {
    margin-top: 100px !important;
  }

  .navbar-logo {
    height: 60px;
    max-width: 180px;
  }
}

@media (max-width: 576px) {
  .top-info-bar {
    display: none !important;
  }

  .main-navbar {
    top: 0 !important;
  }

  main {
    margin-top: 76px !important;
  }

  .hero-content {
    padding: 80px 15px 30px !important;
  }

  .hero-subtitle {
    font-size: 0.95rem !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
    margin-bottom: 12px !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9) !important;
  }

  .hero-title {
    font-size: 2rem !important;
  }

  .hero-tagline {
    font-size: 1rem !important;
  }
}

/* Focus states */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Form inputs */
.form-control {
  transition: all 0.3s ease;
  border-radius: 8px;
}

.form-control:focus {
  transform: scale(1.02);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Smooth page transitions */
* {
  scroll-behavior: smooth;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  color: #fff;
  text-decoration: none;
  transform: scale(1.1);
  box-shadow: 3px 3px 5px #666;
}

.whatsapp-float i {
  margin-top: 8px;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
  }
}

/* Modern Page Header Styles */
.page-header {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2c3e50 50%, #1a1a2e 100%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  overflow: hidden;
  margin-top: 116px;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Corporate Minimal Background Pattern */
.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.25;
  z-index: 1;
  pointer-events: none;
}

/* Corporate Top Accent Line */
.page-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #fa4216, transparent);
  background-size: 200% 100%;
  animation: shimmerLine 4s ease-in-out infinite;
  z-index: 3;
  pointer-events: none;
}

@keyframes shimmerLine {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.page-header-content {
  position: relative;
  z-index: 2;
  animation: contentFadeIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes contentFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.page-header h1,
.page-header h1.display-4,
.page-header .display-4 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 30px rgba(250, 66, 22, 0.3);
  letter-spacing: -1px;
  line-height: 1.2;
  animation: corporateTitleReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
  position: relative;
  display: inline-block;
}

@keyframes corporateTitleReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    filter: blur(10px);
  }
  50% {
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Corporate Underline Animation */
.page-header h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #fa4216, #3498db, #fa4216, transparent);
  animation: underlineExpand 1.2s ease-out 0.8s forwards;
  border-radius: 2px;
}

@keyframes underlineExpand {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 120px;
    opacity: 1;
  }
}

.page-header .lead,
.page-header p.lead,
.page-header p {
  font-size: 1.3rem;
  font-weight: 300;
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: corporateLeadReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

@keyframes corporateLeadReveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.page-header * {
  color: #ffffff !important;
}

.page-header .text-white,
.page-header.text-white * {
  color: #ffffff !important;
}

/* Corporate Geometric Decorations */
/* Corporate Minimal Geometric Shapes */
.page-header-decoration {
  position: absolute;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0;
  top: 50%;
  left: -150px;
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
  opacity: 0.2;
}

.page-header-decoration::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.page-header-decoration-right {
  position: absolute;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0;
  top: 20%;
  right: -120px;
  transform: rotate(-45deg);
  z-index: 1;
  opacity: 0.2;
}

.page-header-decoration-right::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}


@media (max-width: 768px) {
  .page-header {
    padding: 80px 0 60px;
    margin-top: 76px;
  }
  
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .page-header .lead {
    font-size: 1.1rem;
  }
  
  .page-header-decoration,
  .page-header-decoration-right {
    display: none;
  }
}

/* Enhanced Body Sections */
section:not(.page-header):not(.hero-section) {
  background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
  position: relative;
}

section:not(.page-header):not(.hero-section)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(250, 66, 22, 0.3), transparent);
}

/* Enhanced Card Styles for Body */
section:not(.page-header):not(.hero-section) .card {
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: #ffffff;
}

section:not(.page-header):not(.hero-section) .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Section Headings Enhancement */
section:not(.page-header):not(.hero-section) h2 {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

section:not(.page-header):not(.hero-section) h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #fa4216, transparent);
  border-radius: 2px;
}

section:not(.page-header):not(.hero-section) h2.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Enhanced Text Styles */
section:not(.page-header):not(.hero-section) .lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #555;
  font-weight: 300;
}

/* Better spacing for content sections */
section:not(.page-header):not(.hero-section) {
  padding: 4rem 0;
}

@media (max-width: 768px) {
  section:not(.page-header):not(.hero-section) {
    padding: 3rem 0;
  }
}
}