/*
Theme Name: OMM_Transport_Theme
Theme URI: http://example.com
Author: DUmboDesigns
Author URI: http://dumbodesigns.com
Description: A custom theme for OMM Transport
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: OMM-custom-theme
*/


@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');


.raleway-light {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}


.montserrat-light {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

/* Reset and base styles */
html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* WebKit Browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #ffffff;
    /* white track */
}

::-webkit-scrollbar-thumb {
    background-color: #bf8b28;
    /* maroon thumb */
    border-radius: 10px;
    border: 2px solid #ffffff;
    /* optional spacing around thumb */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #bf8b28;
    /* darker maroon on hover */
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #bf8b28 #ffffff;
    /* thumb | track */
}


body {
    margin: 0;
    padding: 0;
}

body,
footer,
header,
.p,
a,
.h1,
.h2,
.h3,
.h4,
.h5 {
    font-family: "Raleway", sans-serif !important;
    font-style: normal;
    font-optical-sizing: auto;
}

a {
    text-decoration: none !important;
    color: #000000 ;
}

a:hover {
  color: #bf8b28;
}

h1 {
    font-size: 45px !important;
}

h2 {
    font-size: 40px !important;
}

h3 {
    font-size: 24px !important;
}

h4 {
    font-size: 20px !important;
}

h5 {
    font-size: 17px !important;
}

p {
    font-size: 16px !important;
}


.fw100 {
    font-weight: 100 !important;
}

.fw300 {
    font-weight: 300 !important;
}

.fw400 {
    font-weight: 400 !important;
}

.fw700 {
    font-weight: 700 !important;
}

.fw800 {
    font-weight: 800 !important;
}


/* ====== BUTTONS ====== */

.theme-btn {
    font-size: 17px;
    text-transform: capitalize;
    text-align: center;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    transition: ease-in .4s;
    -webkit-transition: ease-in .4s;
    -moz-transition: ease-in .4s;
    -ms-transition: ease-in .4s;
    -o-transition: ease-in .4s;
    padding: 9px 15px;
    font-weight: 400;
    width: 130px !important;
    cursor: pointer;

}

.dark-bg-button {
    border: 2px solid #FFFFFF85;
}

.theme-btn:hover,
a:hover {
    text-decoration: none;
}

.theme-btn:focus {
    outline: none;
}

.primary-btn {
    color: #ffffff !important;
    background: #000000 !important;
    border: 2px solid #000000 !important;
    /* width: 100%; */
}

.primary-btn:hover {
    border: 2px solid #bf8b28 !important;
    color: #ffffff !important;
    background: #bf8b28 !important;
    transform: scale(0.95) !important;
}

.secondary-btn {
    color: #000000 !important;
    background: transparent !important;
    border: 2px solid #000000 !important;
    /* width: 100%; */
}

.secondary-btn:hover {
    border: 2px solid #bf8b28 !important;
    color: #ffffff !important;
    background: #bf8b28 !important;
    transform: scale(0.95) !important;

}

.tertiary-btn {
    color: #000000 !important;
    background: #ffffff !important;
    border: 2px solid #ffffff !important;
    /* width: 100%; */
}

.tertiary-btn:hover {
    border: 2px solid #bf8b28 !important;
    color: #ffffff !important;
    background: #bf8b28 !important;
    transform: scale(0.95) !important;

}

.quaternary-btn {
    color: #ffffff !important;
    background: transparent !important;
    border: 2px solid #ffffff !important;
    /* width: 100%; */
}

.quaternary-btn:hover {
    border: 2px solid #bf8b28 !important;
    color: #ffffff !important;
    background: #bf8b28 !important;
    transform: scale(0.95) !important;

}




/* Header Styling */

.custom-logo {
    height: 50px;
    width: auto;
}

ul.header-nav-content.nav li {
    padding: 0 25px;
}

ul.header-nav-content.nav li a {
    color: #000000;
    font-size: 17px;
}

ul.header-nav-content.nav li a:hover {
    color: #bf8b28;
}

header,
.site-header,
.nav-wrapper {
  position: relative; /* Make sure the parent is relatively positioned */
}

.site-header .main-navigation {
  overflow: visible;
}


/* === Mega Menu Container === */
.mega-menu {
  position: relative;
}

.mega-menu a {
  /* pointer-events: none; */
  /* cursor: default; */
  color: #000000; /* Optional: make it look non-interactive */
  text-decoration: none;
}

/* === Top-level Submenu === */
/* Full-width mega menu */
.mega-menu > .sub-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    width: 100vw;
    background: #fff;
    padding: 40px 50px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
    z-index: 999;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    /* transform: translateX(-50%); */
    max-width: 1300px;
}

/* Show the mega menu on hover */
.mega-menu > .sub-menu {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: grid; /* keep grid structure, but make it invisible */
  /* pointer-events: none; */
  /* cursor: default; */
}

.mega-menu:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* === Each Column Header (2nd level item) === */
.mega-menu .mega-column > a {
  font-weight: 600;
  font-size: 16px;
  display: block;
  margin-bottom: 20px;
  color: #333;
}

/* === Inner List (3rd level items) === */
.mega-menu .mega-column > .sub-menu {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
  display: block !important; /* <-- Force display for 3rd-level submenu */
}

.mega-menu .mega-column > .sub-menu li {
  margin-bottom: 8px;
  font-size: 14px;
}

.mega-menu .mega-column > .sub-menu li a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
   pointer-events: auto;
  cursor: pointer;
}

.mega-menu .mega-column > .sub-menu li a:hover {
  color: #bf8b28;
}



/* Remove all list styles for mega menu and its submenus */
.mega-menu .sub-menu,
.mega-menu .mega-column .sub-menu,
.mega-menu .mega-column .sub-menu li {
  list-style: none;  /* Remove bullets or numbers */
  padding-left: 0;   /* Remove indentation */
  margin: 0;         /* Remove any unwanted spacing */
}

/* Ensure list items have no default spacing */
.mega-menu .mega-column .sub-menu li {
  margin-bottom: 20px;  /* Optional: Adjust if needed */
}


/* Icon before 3rd-level submenu links */
.mega-menu .mega-column > .sub-menu li a::before {
  content: "\f1b2"; /* Unicode for fa-cube */
  font-family: "Font Awesome 6 Free"; 
  font-weight: 900;
  margin-right: 8px;
  color: #000000; /* Adjust color if needed */
}
li.signup-css.left-content-bottom a::before {
    content: "\f1b2"; /* Unicode for fa-cube */
  font-family: "Font Awesome 6 Free"; 
  font-weight: 900;
  margin-right: 8px;
  color: transparent !important;
}
.menu-description {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 3px;
    margin-left: 25px;
}
.mega-menu > a::after {
  content: "\f078"; /* Unicode for Font Awesome chevron-down */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.6rem;
  margin-left: 6px;
  vertical-align: middle;
  display: inline-block;
  transition: transform 0.2s ease;
}

.has-mega-menu:hover > a::after {
  transform: rotate(180deg);
}

/* menu hover animation */

.header-nav-content a {
  position: relative;
  display: inline-block;
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-nav-content li:not(.mega-menu) > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: #000000;
  transition: width 0.3s ease;
}

.header-nav-content li:not(.mega-menu) > a:hover::after {
  width: 100%;
}

li.quote-track-wrapper-menu .sub-menu {
    display: flex;
    gap: 20px;
}
li.quote-track-wrapper-menu a {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: default;
}

li.quote-track-wrapper-menu .sub-menu li a {
   opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* menu bottom */
li.signup-css.left-content-bottom {
    position: absolute;
    bottom: -10%;
    left: 0;
}
li.quote-css.right-content-bottom {
    position: absolute;
    bottom: 0;
}

li.quote-track-wrapper-menu.menu-item {
    display: flex;
    position: absolute;
    bottom: -15%;
    right: 0%;
    gap: 20px;
}

ul.header-nav-content.nav .mega-menu {
    position: initial !important;
}







/* Home Slider */


.home-slider {
  background-image: url('https://omm-transport.infy.uk/wp-content/uploads/2025/09/ezgif-1f4ca081f8dff9.gif');
  background-size: cover;
  background-position: center;
  height: 100svh;
  color: white;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  position: relative;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.homeslider-contents {
  position: relative;
  z-index: 2;
  max-width: 500px;
  padding: 20px;
  display: block;
  margin-left: 3%;
}

.button-wrapper {
  display: flex;
  gap: 20px;
}
.homeslider-contents p {
    padding: 30px 0;
}

.homeslider-contents {
    max-width: 500px;
    display: block;
    margin: 0 auto 0 0;
}

/* Services section */

.section-padding {
  padding: 80px 0 40px;
}

/* .container {
  max-width: 1200px;
  margin: 0 auto;
} */

.subheading {
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 800;
}
.mainheading {
  margin-bottom: 20px;
  font-weight: 800;
}

.center-description {
  max-width: 700px;
  margin: 0 auto 60px auto;
}

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

.service-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
}

.service-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-item p {
  font-size: 0.95rem;
  color: #444;
}

.icon-box {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #000;
}


.placeholder-image {
  width: 100%;
  height: 400px;
  background-color: #e0e0e0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  grid-column: 2;
}

.cta-buttons {
  gap: 20px;
}

.btn-outline {
  padding: 10px 20px;
  border: 1px solid #000;
  background: transparent;
  cursor: pointer;
}

.btn-arrow {
  padding: 10px 20px;
  border: none;
  background: none;
  font-weight: bold;
  cursor: pointer;
}

 
.service-grid-col {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.service-item-image {
    width: 100%;
}



/* Home ship tracking */


.home-shiptracking-list i {
  color: #000;
  min-width: 20px;
}




/* Home Location */


.home-location-section {
  background-color: #fff;
}

.home-location-tabs .nav-link {
  border-left: 2px solid transparent;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-radius: 0;
  transition: border-color 0.3s;
  color: #000000;
}

.home-location-tabs .nav-link.active {
    border-left: 2px solid #1e4d36 !important;
    color: #1e4d36 !important;
    background-color: transparent !important;
    border-radius: 0 !important;
}

.home-location-tabs .nav-link:hover {
  color: #bf8b28 !important;
}

.home-location-map {
  height: 400px;
}


#map {
  height: 450px;
  width: 100%;
}


/* main footer */

.main-footer {
  padding: 30px 0 80px;
}

.main-footer a {
  text-decoration: none;
  color: #000;
}

.main-footer a:hover {
  color: #bf8b28 !important;
}

.footer-main-wrapper p {
    margin-bottom: 30px;
}

.main-footer .social-icons a {
  color: #000;
}
.footer-main-wrapper .custom-logo {
    max-height: 60px;
    height: auto;
    width: auto;
    margin-bottom: 30px;
}

ul.footer-menu-ul li {
    margin-bottom: 25px;
}

ul.footer-menu-ul li a {
    font-weight: 700;
}

.footer-main-wrapper {
    padding: 40px;
    border: 1px solid #000000;
    margin-bottom: 30px;
}

.footer-privacy-links a {
  text-decoration: underline !important;
}




/* home trusted partners slider */


    .home-partner-slider h5 {
      margin-bottom: 30px;
      font-weight: bold;
    }

    .home-partner-slider .logo-img {
      max-height: 40px;
      object-fit: contain;
      /* filter: grayscale(100%); */
      filter: invert(100%);
      transition: filter 0.3s;
    }

    .home-partner-slider .logo-img:hover {
      /* filter: grayscale(0%); */
    }

    .home-partner-slider .logo-wrapper {
      padding: 15px;
    }







/* testimonial slider */

    .home-testimonial .testimonial-logo img {
      height: 30px;
      margin-bottom: 30px;
    }

    .home-testimonial .testimonial-text {
      font-size: 1.5rem;
      font-weight: bold;
      line-height: 1.6;
      max-width: 900px;
      margin: 20px auto 40px;
    }

    .home-testimonial .testimonial-user img {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
    }

    .home-testimonial .testimonial-user h6 {
      margin: 20px 0 10px;
      font-weight: 700;
    }

    .home-testimonial .testimonial-user p {
      margin: 0;
      color: #666;
    }

    .home-testimonial .swiper-button-next,
    .home-testimonial .swiper-button-prev {
      color: #000;
      border: 1px solid #000;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      top: 50%;
      transform: translateY(-50%);
    }

    .home-testimonial .swiper-pagination-bullet {
      background: #000;
    }

    .home-testimonial .swiper-pagination-bullet-active {
      opacity: 1;
    }
    .testimonial-user {
      margin-bottom: 60px;
    }

    /* .swiper-slide {
  display: block !important;
} */

.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after ,
.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
    font-size: 20px !important;
}

.home-testimonial .swiper-button-next, .home-testimonial .swiper-button-prev {
  background-color: #ffffff !important;
}




/* innerpage css */
/* section1 */
.inner-header {
  position: relative;
  min-height: 100vh;
  background-image: url('https://omm-transport.infy.uk/wp-content/uploads/2025/06/innerpageheader.jpg');
  background-size: cover;
  background-position: center;
  padding: 60px 15px;
  overflow: hidden;
}

.inner-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* adjust darkness */
  z-index: 0;
}

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

.inner-header-contents {
  max-width: 800px;
}

.inner-header .tagline {
  font-weight: 600;
  font-size: 1.1rem;
  color: #e0e0e0;
}

@media (max-width: 768px) {
  .inner-header h1 {
    font-size: 2rem;
  }
  .inner-header .lead {
    font-size: 1rem;
  }
}

/* section2 */
.service-section-1 .fw-semibold {
  font-weight: 600;
}

.service-section-1 img {
  max-width: 100%;
  height: auto;
}

/* section 4 */

    .service-section-4 { --gap: 1.5rem; }

    .service-section-4__card {
      border: 1px solid #ddd;
      border-radius: .5rem;
      height: 400px;
      transition: box-shadow .25s ease;
    }
    .service-section-4__card:hover {
      box-shadow: 0 .25rem .75rem rgba(0,0,0,.08);
    }

    .service-section-4__icon {
      width: 40px;
      height: 40px;
      flex: 0 0 auto;
    }

    .service-section-4__media {
      background-image: url('https://omm-transport.infy.uk/wp-content/uploads/2025/06/innerpageheader.jpg');
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 240px;
    }
    .service-section-4__media svg {
      width: 56px;
      height: 56px;
      opacity: .4;
    }

    /* Consistent column gaps across breakpoints */
    @media (min-width: 768px) {
      .service-section-4 .row { --bs-gutter-x: var(--gap); }
    }


/* section 5 */
.service-section-5-card {
  transition: transform 0.3s ease;
  background: #fff;
}


.service-section-5-stars i {
  color: #000; 
}


.service-section-5-pagination {
  position: static !important;
  display: flex;
  justify-content: flex-start; 
  gap: 8px;
}

.service-section-5 .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #000;
  opacity: 0.3;
}

.service-section-5 .swiper-pagination-bullet-active {
  opacity: 1;
}

.service-section-5-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}


.service-section-5-prev, .service-section-5-next {
    border-radius: 50px !important;
}



/* coveragearea section 2 */

.timeline-wrapper {
  position: relative;
  margin-left: 30px;
}

.timeline-dot {
  position: absolute;
  transform: translateY(-50%);
  top: 40px;
  left: -45px;
  width: 40px;
  height: 40px;
  border-radius: 30px;
  background-color: #000000;
  border: 10px solid #ffffff;
}

section.single-page-inner.inner-header {
    min-height: 50vh;
}

p.timeline-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Quote request section FAQ */

.quoterequest-section-2 .accordion-button {
  background-color: transparent;
  border: none;
  padding: 1.25rem 1rem;
  font-size: 1rem;
  box-shadow: none;
}

.quoterequest-section-2 .accordion-item {
  border: 1px solid #ccc;
  border-radius: 0;
}

.quoterequest-section-2 .accordion-button:focus {
  box-shadow: none;
}

/* .quoterequest-section-2 .accordion-button::after {
  display: none; 
} */

.quoterequest-section-2 .faq-close-icon {
  font-size: 1.25rem;
  margin-left: auto;
  opacity: 0.7;
}


/* Show Bootstrap default arrow */
.quoterequest-section-2 .accordion-button::after {
  margin-left: auto;
  transition: transform 0.2s;
}

/* Hide the ✕ icon when collapsed */
.quoterequest-section-2 .accordion-button.collapsed .faq-close-icon {
  display: none;
}

/* Hide Bootstrap arrow when open */
.quoterequest-section-2 .accordion-button:not(.collapsed)::after {
  display: none;
}

/* Show ✕ icon when open */
.quoterequest-section-2 .accordion-button:not(.collapsed) .faq-close-icon {
  display: inline;
  font-size: 1.25rem;
  opacity: 0.8;
}

.accordion-button:not(.collapsed) {
    color: #000000 !important;
    background-color: #f4c97a7e !important;
}

.quoterequest-section-3 {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 100px 15px;
  overflow: hidden;
}

.quoterequest-section-3 .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* adjust darkness */
  z-index: 0;
}

/* aboutus page section 5 */

/* Changes */
section.home-shiptracking-section.section-padding {
    background: #0569eb;
    color: #ffffff;
    padding: 100px 0;
}

.home-shiptracking-list i {
    color: #FFFFFF;
}

section.home-partner-slider {
    background: #0569eb;
    color: #ffffff;
    padding-bottom: 80px;
}
.home-shiptracking-image {
    background: #0569eb !important;
}
li.disable-link-menu {
    pointer-events: none;
}


li.mega-menu.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-has-children {
    padding: 0 25px 0 0;
    margin-left: -33px;
}

li.mega-menu.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-has-children a {
    color: transparent;
}

ul.sub-menu a {
    color: #000000 !important;
}

li.mega-menu.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-has-children a::after {
    color: #000000 !important;
}