:root {
  --main-blue: #0a1a44;
  --accent-red: #e50914;
  --white-color: #ffffff;
  --primary-color: #ffffff;
  --secondary-color: #c12828;
  --section-bg-color: #f0f8ff;
  --custom-btn-bg-color: #c12828;
  --custom-btn-bg-hover-color: #fdbb2d;
  --dark-color: #000000;
  --p-color: #717275;
  --border-color: #7fffd4;
  --link-hover-color: #830000;
  --body-font-family: "Unbounded", cursive;
}
a,
body,
button,
div,
h1,
h2,
h3,
h4,
h5,
h6,
html,
li,
p,
span {
  font-family: var(--body-font-family) !important;
  --h1-font-size: 74px;
  --h2-font-size: 46px;
  --h3-font-size: 32px;
  --h4-font-size: 28px;
  --h5-font-size: 24px;
  --h6-font-size: 22px;
  --p-font-size: 20px;
  --btn-font-size: 16px;
  --copyright-font-size: 14px;
  --border-radius-large: 100px;
  --border-radius-medium: 20px;
  --border-radius-small: 10px;
  --font-weight-thin: 200;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
}
img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
body {
  background-color: var(--white-color);
  font-family: var(--body-font-family);
}
h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}
h1 {
  font-size: var(--h1-font-size);
}
h2 {
  font-size: var(--h2-font-size);
}
h3 {
  font-size: var(--h3-font-size);
}
h4 {
  font-size: var(--h4-font-size);
}
h5 {
  font-size: var(--h5-font-size);
}
h6 {
  font-size: var(--h6-font-size);
}
p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}
ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}
a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}
a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}
a:hover {
  color: var(--link-hover-color);
}
strong {
  font-weight: var(--font-weight-bold);
}
.section-padding {
  padding: 100px 50px;
}
.section-bg {
  background-color: var(--section-bg-color);
}
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  transition: all 0.3s;
  padding: 10px 20px;
}
.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}
.custom-border-btn {
  background: 0 0;
  border: 2px solid var(--custom-btn-bg-color);
  color: var(--custom-btn-bg-color);
}
.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}
.sidebar {
  background: var(--primary-color);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  padding: 50px 0 0;
}
.sidebar-sticky {
  height: calc(100vh - 48px);
  overflow-x: hidden;
  overflow-y: auto;
  text-align: center;
  position: relative;
}
.navbar {
  background: 0 0;
  z-index: 9;
}
.logo-image {
  width: 300px;
  height: auto;
  margin-bottom: 50px;
}
#sidebarMenu .nav-link {
  color: var(--dark-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  position: relative;
}
#sidebarMenu .nav-link.active,
#sidebarMenu .nav-link:hover {
  color: #760202 !important;
}
.navbar-toggler {
  background: var(--primary-color);
  border-radius: var(--border-radius-large);
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 222;
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 25px;
  width: 55px;
  height: 55px;
  outline: 0;
}
.navbar-toggler:focus {
  outline: 0;
  box-shadow: none;
}
.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 0.3s ease;
  display: block;
  margin: auto;
  width: 25px;
  height: 2px;
  position: relative;
}
.navbar-toggler .navbar-toggler-icon:after,
.navbar-toggler .navbar-toggler-icon:before {
  transition: top 0.3s 350ms ease, -webkit-transform 0.3s 50ms ease;
  transition: top 0.3s 350ms ease, transform 0.3s 50ms ease;
  transition: top 0.3s 350ms ease, transform 0.3s 50ms ease,
    -webkit-transform 0.3s 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 25px;
  height: 2px;
  content: "";
}
.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}
.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}
.hero-section {
  background-image: url(https://nexmarserv.com/images/hero1.png);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  padding: 50px;
  padding-bottom: 0;
  min-height: 665px;
  border-bottom: 15px solid var(--primary-color);
}
@media screen and (min-width: 991px) {
  .hero-section {
    height: calc(100vh - 0px);
  }
}
.hero-section::after {
  content: "";
  background: linear-gradient(90deg, #077e7875 0, #22c1c3 100%);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.65;
}
.hero-section .container {
  position: relative;
  z-index: 2;
}
.about-section h2 {
  text-align: center;
  font-weight: 700;
  color: #002b5c;
  margin-bottom: 30px;
}
.about-section h6 {
  color: var(--secondary-color);
}
.about-section {
  background-image: url("https://nexmarserv.com/images/logistis\ \(5\).png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  position: relative;
  text-align: center;
}
body {
  background: url("https://nexmarserv.com/images/logistis\ \(4\).png") no-repeat
    center center fixed;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}
section {
  background: rgba(255, 255, 255, 0);
  color: #fff;
}
section .container {
  backdrop-filter: blur(4px);
}
.section-padding {
  padding: 80px 0;
}
#sidebarMenu,
.navbar {
  background-color: #fff;
  position: fixed;
  z-index: 1000;
}
.service-card {
  width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .service-card .card-inner {
    flex-direction: column;
  }
}
.services-section {
  background: #f9fafc;
  padding: 20px 0;
  visibility: visible;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #002b5c;
}
.section-subtitle {
  color: #555;
  font-size: 1.1rem;
}
.service-card {
  perspective: 1000px;
  cursor: pointer;
}
.card-inner {
  position: relative;
  width: 100%;
  height: 320px;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}
.service-card:hover .card-inner {
  transform: rotateY(180deg);
}
.card-back,
.card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  backface-visibility: hidden;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.card-front {
  z-index: 2;
}
.card-back {
  background: #002b5c;
  color: #fff;
  transform: rotateY(180deg);
}
.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  margin-bottom: 0;
  display: block;
}
.card-front h4 {
  background: #002b5c;
  color: #fff;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  margin: 0;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
}
.service-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 10px;
}
.card-back p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #eee;
  text-align: center;
  padding: 0 10px;
}
.blog-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
  overflow: hidden;
}
.blog-section h2 {
  font-size: 2.2rem;
  color: #002b5c;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2rem;
  background: 0 0;
}
.contact-info-item {
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.contact-info-item i {
  color: var(--red-color);
}
.contact-info-item h6 {
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
}
.contact-link {
  color: #555;
  font-size: 0.95rem;
  text-decoration: none;
}
.contact-link:hover {
  color: var(--red-color);
}
@media (max-width: 768px) {
  .contact-info-row {
    row-gap: 20px;
  }
}
.about-section,
.blog-section,
.section-bg,
.services-section {
  background: 0 0 !important;
  background-color: transparent !important;
}
section {
  color: #fff;
}
section .container {
  backdrop-filter: blur(4px);
}
.section-padding h5 {
  color: #002b5c;
  font-weight: 700;
}
.text-danger {
  color: #e63946 !important;
}
.about-section,
.blog-section,
.section-bg,
.services-section {
  background: 0 0 !important;
  background-color: transparent !important;
}
.main-wrapper {
  position: static !important;
  overflow: visible !important;
}
#about {
  background: url(https://nexmarserv.com/css/images/backgrounds/about-bg.jpg)
    center center/cover no-repeat;
}
#services {
  background: url(https://nexmarserv.com/css/images/backgrounds/services-bg.jpg)
    center center/cover no-repeat;
}
#blog {
  background: url(https://nexmarserv.com/css/images/backgrounds/blog-bg.jpg)
    center center/cover no-repeat;
}
#contact {
  background: url(https://nexmarserv.com/css/images/backgrounds/logistic1.png)
    center center/cover no-repeat;
}
section {
  background-attachment: fixed;
  position: relative;
}
section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.245);
  z-index: 0;
}
section > * {
  position: relative;
  z-index: 1;
}
body {
  margin-bottom: 0 !important;
}
body,
html {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
#contact .container,
#contact .row,
.contact-info-row {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
@media (max-width: 768px) {
  h1,
  h2,
  h3 {
    font-size: 1.5rem;
    text-align: center;
  }
  .hero-section {
    text-align: center;
    padding: 60px 20px;
  }
}
body,
html {
  overflow-x: hidden;
  width: 100%;
}
@media (max-width: 768px) {
  #sidebarMenu {
    position: fixed;
    width: 100%;
    height: auto;
    z-index: 1050;
    background: #000;
  }
}
.service-section {
  background-color: #f8f9fa;
}
.service-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, #002b5c, #031c3a);
  color: #fff;
  font-family: Poppins, sans-serif;
}
.service-section h2 {
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: #f5c542;
}
.service-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease;
}
.service-img:hover {
  transform: scale(1.05);
}
.service-content h3 {
  font-size: 1.3rem;
  color: #f5c542;
  margin-bottom: 10px;
  font-family: Unbounded, sans-serif;
  font-weight: 600;
}
.service-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #d8e2ff;
}
.row.align-items-center {
  margin-bottom: 60px;
}
@media (max-width: 992px) {
  .service-section {
    padding: 60px 20px;
  }
  .service-img {
    height: 250px;
  }
  .service-content {
    text-align: center;
    margin-top: 20px;
  }
  .service-content h3 {
    font-size: 1.2rem;
  }
  .service-content p {
    font-size: 0.85rem;
  }
}
.services-section {
  background-color: #f8f3e7;
  padding: 80px 0;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #031c3a;
  letter-spacing: 1px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: #444;
  opacity: 0.85;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  position: relative;
}
.service-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: all 0.4s ease;
}
.service-content {
  padding: 25px;
  text-align: left;
}
.service-content p {
  color: #900101;
  font-size: 0.95rem;
  line-height: 1.6;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 31, 63, 0.15);
}
.service-card:hover .service-img {
  transform: scale(1.08);
  filter: brightness(0.9);
}
.services-section {
  animation: fadeUp 1s ease-in-out;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
html {
  scroll-behavior: smooth;
}
body {
  background-attachment: scroll !important;
}