html,
body {
  overflow-x: hidden;
}

.text-secondary {
  color: #d32f2f !important;
}

.btn-primary {
  background-color: #d32f2f !important;
}

.text-primary {
  color: #d32f2f !important;
}

p {
  font-size: 18px !important;
  /* Increase paragraph font size */
  letter-spacing: 0.5px !important;
  /* Add space between letters */
  line-height: 1.7 !important;
  /* Increase line height for readability */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 0.5px !important;
  /* line-height: 1.7 !important; */
}

/* Navbar alignment fix for mobile */
.navbar {
  display: flex;
  align-items: center;
  /* Vertically center logo and menu */
  justify-content: space-between;
  /* Space logo & menu apart */
  padding: 8px 15px;
  /* Adjust padding for smaller screens */
}

.navbar-brand img {
  max-height: 60px;
  height: auto;
  width: 200px;
}

.navbar-toggler {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.dropdown-item {
  color: #333;
  /* normal text color */
}

.dropdown-item:hover {
  background: rgba(0, 0, 0, 0.05);
  /* subtle hover shade */
  color: #d32f2f;
}

.our-company-section {
  background-color: #fff;
  color: #444;
  font-size: 16px;
  /* line-height: 1.8; */
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  color: #d32f2f;
  /* Red similar to screenshot */
}

.company-text {
  /* max-width: 750px; */
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.about-text p {
  font-size: 15px !important;
  /* smaller font size */
  line-height: 1.6;
  /* better readability */
  color: #555;
  /* softer gray for text */
}

.custom-bg-image {
  width: 100%;
  /* span full width */
  height: 750px !important;
  /* fixed height (adjust as needed) */
  object-fit: cover;
  /* crop image proportionally */
}

.roccia-content {
  letter-spacing: 0.5px;
  /* subtle spacing for all text */
}

.roccia-content h2 {
  letter-spacing: 1.2px;
  /* more spacing for heading */
}

.services-section {
  position: relative;
  padding: 0 40px;
  /* space for arrows */
}

.services-wrapper {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  /* snap to cards */
}

.services-wrapper::-webkit-scrollbar {
  display: none;
}

.services-carousel .owl-stage {
  display: flex;
  /* make owl items flex */
}

.services-carousel .owl-item {
  display: flex;
  /* allow stretching */
  height: auto;
}

.service-card {
  flex: 1;
  /* card takes full height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 90%;
  /* stretch to match */
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 15px;
}

.service-card img {
  width: 100%;
  height: 220px;
  /* fixed height image */
  object-fit: cover;
  border-radius: 8px;
}

.custom-service-content {
  flex: 1;
  /* text block stretches */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* Arrows */
.custom-owl-prev,
.custom-owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: 0.3s ease;
}

.custom-owl-prev:hover,
.custom-owl-next:hover {
  background: #0E0E55;
  color: #fff;
}

.custom-owl-prev {
  left: -60px;
  /* pushes outside container */
}

.custom-owl-next {
  right: -60px;
  /* pushes outside container */
}

.custom-service-content p {
  font-size: 14px !important;
}


/* Carousel Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  /* no background */
  color: white;
  /* arrow color */
  border: none;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s ease;
}

.carousel-arrow:hover {
  color: #f0ad4e;
  /* hover orange */
}

.carousel-arrow-left {
  left: 15px;
}

.carousel-arrow-right {
  right: 15px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  font-weight: bold;
  font-size: 14px;
  color: #d32f2f;
  /* Red */
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-arrow {
  font-size: 18px;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.service-link:hover {
  color: #b71c1c;
  /* Darker red */
}

.service-link:hover .service-arrow {
  transform: translateX(3px);
}

.info-items {
  color: #0E0E55;
  font-size: 48px;
  line-height: 0;
}

.company-img {
  width: 100%;
  height: 400px;
  /* fixed height for both */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.company-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* crop & scale without distortion */
}

.service-card {
  border-radius: 10px;
  background: #fff;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.border-roccia {
  border: 4px solid #D22F2F !important;
}

.border-emark {
  border: 4px solid #0E0E55 !important;
}

.custom-divider-roccia {
  border: none;
  /* remove default HR border */
  height: 1px;
  /* thickness */
  width: 90%;
  /* length */
  margin: 2rem auto;
  /* spacing + center align */
  background-color: #D22F2F;
  /* dark blue */
  display: block;
  border-radius: 5px;
}

.custom-divider-emark {
  border: none;
  /* remove default HR border */
  height: 1px;
  /* thickness */
  width: 90%;
  /* length */
  margin: 2rem auto;
  /* spacing + center align */
  background-color: #0E0E55;
  /* dark blue */
  display: block;
  border-radius: 5px;
}

.service-image {
  width: 100%;
  /* makes it responsive */
  max-width: 500px;
  /* set a max width */
  height: 300px;
  /* fixed height */
  object-fit: cover;
  /* crop & fit nicely */
}


.card-container {
  display: flex;
  justify-content: center;
  gap: 45px;
  flex-wrap: wrap;
  /* responsive stacking */
  margin: 0 auto 45px;
  max-width: 1200px;
  align-items: stretch;
  /* makes all cards equal height */
  padding: 20px;
}

.vcard-link-wrapper {
  text-decoration: none;
  color: inherit;
}

.vcard {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.vcard-img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: #f9f9f9;
  padding: 10px;
}

.vcard-body {
  padding: 15px;
}

.vcard-text {
  font-size: 15px;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.6;
}

.vcard-link {
  color: #0E0E55;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
}

.vcard-title1 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #D22F2F;
}

.vcard-title2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #0E0E55;

}

.vcard-title3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F17720;
}

.vcard-text {
  flex: 1;
  font-size: 15px !important;
  color: #555;
  margin-bottom: 20px;
}

.vcard-link {
  align-self: flex-start;
  font-size: 0.95rem;
  font-weight: 500;
  color: #0b5ed7;
  text-decoration: underline;
}

.vcard-link:hover {
  text-decoration: underline;
}

.vcard-link-wrapper {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: 0.3s ease;
}

/* General hover for all cards */
.vcard-link-wrapper:hover .vcard {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

/* Card 1 hover - Roccia (Red shade) */
.vcard-link-wrapper:nth-child(1):hover .vcard {
  background: #fdeaea;
}

/* Card 2 hover - Emark (Blue shade) */
.vcard-link-wrapper:nth-child(2):hover .vcard {
  background: #e9f1ff;
}

/* Card 3 hover - Cross-Border (Orange shade) */
.vcard-link-wrapper:nth-child(3):hover .vcard {
  background: #fff4e6;
}

.feature-content p {
  font-size: 14px !important;
}

.col-md-4.text-center.mb-3 a {
  color: #333 !important;
  text-decoration: none;
}

.col-md-4.text-center.mb-3 a:hover {
  text-decoration: none;
  color: #333 !important;
  /* darker on hover for clarity */
}

.email-id a {
  color: #333;
  /* dark gray text */
  text-decoration: none;
  /* remove underline */
  font-weight: 500;
  /* make it stand out slightly */
}

.email-id a:hover {
  color: #000;
  /* darker on hover */
  text-decoration: none;
}

/* ---------- Values slider: responsive fixes ---------- */
/* Keep the desktop look as-is; only change under breakpoints */
#valuesSlider { overflow: hidden; } /* avoid accidental scrollbars */
#valuesSlider .carousel-inner { display: flex; align-items: center; height: 100%; }

/* Ensure each carousel-item centers its content */
#valuesSlider .carousel-item {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
}

/* White content panel (desktop defaults kept elsewhere) */
#valuesSlider .carousel-item .text-center {
  max-width: 520px;      /* desktop max */
  width: 100%;
  margin: 0 auto;
  padding: 40px 28px;
  min-height: 320px;
  box-sizing: border-box;
}

/* text rules */
#valuesSlider .carousel-item h4 { margin-bottom: 12px; }
#valuesSlider .carousel-item p { margin: 0; white-space: normal; word-break: break-word; }

/* arrows : keep visible and inside slide */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  z-index: 50;
  transition: color .2s, transform .15s;
}
.carousel-arrow:hover { color: #ffd966; transform: translateY(-50%) scale(1.05); }

.carousel-arrow-left  { left: 18px; }
.carousel-arrow-right { right: 18px; }

/* ---------- VALUES SLIDER: RESPONSIVE & FIXED HEIGHT ---------- */

/* Base container fix */
#valuesSlider {
  overflow: hidden;
  position: relative;
}

/* Ensure carousel content stays vertically centered */
#valuesSlider .carousel-inner {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 450px; /* ensures consistent height */
}

/* Individual slides stay centered and hidden properly */
#valuesSlider .carousel-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  transition: transform 0.8s ease, opacity 0.6s ease;
  min-height: 450px;
}

/* Hide inactive slides completely */
#valuesSlider .carousel-item:not(.active) {
  display: none;
}

/* White content card */
#valuesSlider .carousel-item .text-center {
  background: #fff;
  color: #0F355D;
  border-radius: 10px;
  padding: 40px 28px;
  margin: auto;
  max-width: 520px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Headings and text */
#valuesSlider .carousel-item h4 {
  margin-bottom: 12px;
  font-size: 24px;
  letter-spacing: 1px;
}
#valuesSlider .carousel-item p {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.5px;
  line-height: 1.7;
  word-break: break-word;
}

/* ---------- Arrows ---------- */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  z-index: 50;
  transition: color 0.2s, transform 0.15s;
}
.carousel-arrow:hover {
  color: #ffd966;
  transform: translateY(-50%) scale(1.05);
}
.carousel-arrow-left {
  left: 18px;
}
.carousel-arrow-right {
  right: 18px;
}

/* Footer Address Section */
.footer .col-lg-4 p,
.footer .col-lg-4 i,
.footer .col-lg-4 h4 {
  color: #fff !important;
  opacity: 1 !important;
}

/* Ensure icons have consistent spacing and color */
.footer .col-lg-4 i {
  color: #D22F2F !important; /* Optional: orange highlight for icons */
  margin-right: 8px;
}

/* Optional - Make links (if any) inside footer white too */
.footer .col-lg-4 a {
  color: #fff !important;
  text-decoration: none;
}

.footer .col-lg-4 a:hover {
  color: #D22F2F !important;
  text-decoration: underline;
}


/* ---------- Tablet (≤768px) ---------- */
@media (max-width: 768px) {
  #valuesSlider .carousel-inner {
    min-height: 400px;
  }
  #valuesSlider .carousel-item {
    min-height: 400px;
  }
  #valuesSlider .carousel-item .text-center {
    max-width: 85%;
    padding: 25px 15px;
  }
  #valuesSlider .carousel-item h4 {
    font-size: 20px;
  }
  #valuesSlider .carousel-item p {
    font-size: 14px;
    line-height: 1.6;
  }
  .carousel-arrow {
    font-size: 1.8rem;
  }
  .carousel-arrow-left {
    left: 5px;
  }
  .carousel-arrow-right {
    right: 5px;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  /* Adjust content card inside slider */
  #valuesSlider .carousel-item .text-center {
    max-width: 95%;
    margin: 0 auto;
    padding: 20px 10px;
  }

  /* Headings inside slides */
  #valuesSlider .carousel-item h4 {
    font-size: 18px;
    letter-spacing: 0.8px;
  }

  /* Paragraphs inside slides */
  #valuesSlider .carousel-item p {
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0.3px;
  }

  /* Arrows smaller and closer to edges */
  .carousel-arrow {
    font-size: 1.5rem;
  }

  .carousel-arrow-left {
    left: 5px;
  }

  .carousel-arrow-right {
    right: 5px;
  }

  /* Remove px-5 padding from the whole carousel container */
  #valuesSlider {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #valuesSlider .carousel-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Specifically remove Bootstrap utility class px-5 effect */
  #valuesSlider.w-100.px-5 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* ===== Tablet (<= 1024px) ===== */
@media (max-width: 1024px) {
  .vcard {
    width: 280px;
  }
}

/* ===== Mobile (<= 768px) ===== */
@media (max-width: 768px) {
  .card-container {
    gap: 20px;
  }

  .vcard {
    width: 90%;
  }

  .vcard-img {
    height: 130px;
  }

  .vcard-text {
    font-size: 14px;
  }

  .vcard-link {
    font-size: 13px;
  }
}

/* ===== Small Mobile (<= 480px) ===== */
@media (max-width: 480px) {
  .card-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 10px;
  }

  .vcard {
    width: 100%;
    max-width: 340px;
  }

  .vcard-img {
    height: 120px;
  }

  .vcard-text {
    font-size: 13px;
    line-height: 1.5;
  }

  .vcard-link {
    font-size: 12px;
  }
}

/* ========== UNIVERSAL SERVICE SECTION STYLING ========== */
.service-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-image:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

h3.text-uppercase {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
}

h5 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

p, ul {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

ul {
  margin-bottom: 10px;
  padding-left: 20px;
}

ul li {
  margin-bottom: 6px;
}

/* ========== TABLET (≤1024px) ========== */
@media (max-width: 1024px) {
  h3.text-uppercase {
    font-size: 26px;
  }

  h5 {
    font-size: 18px;
  }

  p, ul {
    font-size: 15px;
  }

  .service-image {
    height: 280px;
  }

  .row.g-5.align-items-center {
    margin-bottom: 40px;
  }
}

/* ========== MOBILE (≤768px) ========== */
@media (max-width: 768px) {
  .row.g-5.align-items-center {
    flex-direction: column !important;
    text-align: center;
    margin-bottom: 40px;
  }

  .row.g-5.align-items-center.flex-row-reverse {
    flex-direction: column !important;
  }

  .col-lg-6 {
    width: 100%;
  }

  .service-image {
    height: 240px;
    max-width: 90%;
    margin: 0 auto 20px;
  }

  h3.text-uppercase {
    font-size: 22px;
  }

  h5 {
    font-size: 17px;
  }

  p, ul {
    font-size: 14px;
  }

  ul {
    padding-left: 0;
    list-style-position: inside;
  }
}

/* ========== SMALL MOBILE (≤480px) ========== */
@media (max-width: 480px) {
  .container-xxl, .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .row.g-5.align-items-center {
    margin-bottom: 35px;
  }

  .service-image {
    height: 200px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 15px;
  }

  h3.text-uppercase {
    font-size: 20px;
  }

  h5 {
    font-size: 16px;
  }

  p, ul {
    font-size: 13px;
    line-height: 1.5;
  }

  ul {
    padding-left: 0;
  }

  ul li {
    margin-bottom: 5px;
  }
}
