:root,
html,
body {
  --bs-body-font-family: "Roboto", sans-serif;
  max-width: 100%;
  overflow-x: hidden;
}

:lang(ka) *:not(.main-logo-text) {
  font-family: "Noto Sans Georgian", sans-serif;
}
body {
  background-color: #f8f9fa !important;
}

html {
  scroll-behavior: smooth;
}

.nav-link {
  transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-link:hover {
  color: #f8f9fa;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 0.375rem;
}

.banner-with-curve {
  clip-path: ellipse(120% 100% at 50% 100%);
  margin-bottom: -1px;
}

.text-primary-new {
  color: #1e293b;
}

footer {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.1);
  padding-top: calc(5rem + 40px);
}

.banner-gradient {
  background: linear-gradient(to bottom, #0d6efd, #0d6efd 80%, #0d6efd00 100%);
  position: relative;
  z-index: 1;
}

.navbar-brand {
  letter-spacing: 1px;
}

.bg-primary {
  background-color: #1e293b !important;
}

.btn-primary {
  background-color: #1e293b !important;
  border-color: #1e293b !important;
}

.map-pin-icon path {
  fill: #1e293b;
}

.btn-primary:hover {
  background-color: #1e293b !important;
  border-color: #1e293b !important;
  opacity: 0.9;
}

.hero-section {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Roboto", sans-serif;
}

.hero-image {
  width: 20vw;
  height: auto;
}

section.py-5.bg-light {
  background-color: #f8f9fa;
  color: #333;
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

h1[data-key="hero-title"] {
  font-weight: 700;
  font-family: "Roboto", sans-serif;
  color: #222;
}

h1.fs-5.text-secondary.fst-italic {
  font-weight: 500;
  font-style: italic;
  color: #555;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

img[alt="IronGroup Logo"] {
  max-height: 150px;
  width: auto;
  margin-bottom: 1rem;
}

h1.fs-5.text-secondary.fst-italic {
  font-style: italic;
  color: #6c757d;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.col-md-6.d-flex.flex-column.justify-content-center.align-items-center.align-items-md-start {
  padding-left: 1rem;
  padding-right: 1rem;
}

#exploreBtn {
  background-color: #1e293b;
  border: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  transition: opacity 0.3s ease;
}

#exploreBtn:hover {
  opacity: 0.85;
}

.text-soft-blue {
  color: #4a90e2;
}

.btn-white-banner {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #1e293b;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.btn-white-banner:hover {
  background-color: #e6e6e6;
  border-color: #e6e6e6;
  color: #1e293b;
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.btn-white-banner:active {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: #1e293b !important;
  transform: translateY(0) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

#cargoCarousel {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

#cargoCarousel .carousel-inner {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#cargoCarousel .carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

#cargoCarousel .carousel-control-prev,
#cargoCarousel .carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  z-index: 10;
}

#cargoCarousel .carousel-control-prev {
  left: 15px;
}

#cargoCarousel .carousel-control-next {
  right: 15px;
}

#cargoCarousel .carousel-control-prev-icon,
#cargoCarousel .carousel-control-next-icon {
  background-image: none;
  width: auto;
  height: auto;
}

#cargoCarousel .carousel-control-prev-icon::before {
  content: "\f284";
  font-family: "bootstrap-icons";
  font-size: 1.5rem;
  color: white;
}

#cargoCarousel .carousel-control-next-icon::before {
  content: "\f285";
  font-family: "bootstrap-icons";
  font-size: 1.5rem;
  color: white;
}

.map-container {
  position: relative;
}

#pins-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.map-pin {
  position: absolute;
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.3s ease;
  z-index: 2;
}

.map-pin svg {
  fill: #1e293b;
  transition: all 0.3s ease;
}

.map-pin:hover svg {
  transform: translateY(-6px) scale(1.15);
  filter: drop-shadow(0 6px 12px rgba(30, 41, 59, 0.3));
}

.map-pin.active svg {
  fill: #2563eb;
  transform: translateY(-6px) scale(1.15);
  filter: drop-shadow(0 6px 12px rgba(14, 165, 233, 0.4));
}

.map-pin.active::after {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.2);
  z-index: -1;
  animation: pulse-ring 1.5s infinite ease-in-out;
}

.country-info-box {
  position: absolute;
  top: 86%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  max-width: 280px;
  background: #f8f9fa;
  color: #212529;
  border-radius: 8px;
  padding: 16px 20px;
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10000;
  text-align: center;
  user-select: none;
}

.country-info-box.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.country-info-box h5 {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: #0d6efd;
}

.country-info-box p {
  margin: 0;
  line-height: 1.4;
  color: #495057;
}
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3);
}

.service-card .card-title i,
.service-card .card-title img {
  transition: transform 0.3s ease, color 0.3s ease;
  color: #1e293b;
  width: 1.75rem;
  height: 1.75rem;
}

.service-card:hover .card-title i,
.service-card:hover .card-title img {
  transform: scale(1.2) rotate(5deg);
}

.service-card:hover .card-title {
  color: #1e293b;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.7;
  }
  70% {
    transform: scale(1);
    opacity: 0;
  }
  100% {
    transform: scale(0.8);
    opacity: 0;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  #cargoCarousel {
    max-width: 800px;
  }
  #cargoCarousel .carousel-item img {
    height: 400px;
  }
}

@media (min-width: 1025px) {
  #cargoCarousel {
    max-width: 900px;
  }
  #cargoCarousel .carousel-item img {
    height: 450px;
  }
}

@media (max-width: 767px) {
  #cargoCarousel {
    max-width: 100%;
  }
  #cargoCarousel .carousel-item img {
    height: 250px;
  }
}

.calculator-section {
  background-color: transparent;
}

.calculator-card {
  border: none;
  border-radius: 0.75rem;
}

.calculator-card .card-title {
  color: #1e293b;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
}

.form-control:focus {
  border-color: #1e293b;
  box-shadow: 0 0 0 0.25rem rgba(30, 41, 59, 0.25);
}

#calculator-results {
  background-color: #ffffff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  border: 1px solid #dee2e6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
#calculator-results .result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  font-size: 1.1rem;
}

#calculator-results .result-item:not(:last-child) {
  border-bottom: 1px solid #e9ecef;
}

#calculator-results .result-value {
  font-weight: 600;
  color: #1e293b;
}

.btn-calculate {
  transition: opacity 0.3s;
}

.btn-calculate:hover {
  background-color: #1e293b !important;
  border-color: #1e293b !important;
  opacity: 0.9;
}

footer .nav-link,
footer .footer-contact-link a,
footer .text-decoration-none {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

footer .nav-link:hover,
footer .footer-contact-link a:hover,
footer .text-decoration-none:hover {
  opacity: 1;
  text-decoration: underline;
}

footer .footer-contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  footer .footer-contact-link {
    justify-content: flex-start;
  }
}

footer .social-icon {
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.8;
}

footer .social-icon:hover {
  transform: translateY(-4px);
  opacity: 1;
}

footer hr {
  opacity: 0.2;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
}

.whatsapp-fab {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1050;

  width: 60px;
  height: 60px;

  background-color: #25d366;
  color: #fff;

  border-radius: 50%;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);

  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;

  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-fab:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3);
}
