/* ===================================
   Custom Styles (Bootstrap Override)
   =================================== */
body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

/* ===================================
   Header / Navigation
   =================================== */
.main-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
}

.logo {
  width: 200px;
}

.main-nav ul {
  gap: 30px;
}

.main-nav a {
  font-size: 18px;
  transition: opacity 0.3s;
}

.main-nav a:hover {
  opacity: 0.8;
}

/* Language Selector Dropdown */
.language-dropdown {
  min-width: 140px;
}

.language-option:first-child {
  border-radius: 4px 4px 0 0;
}

.language-option:last-child {
  border-radius: 0 0 4px 4px;
}

.language-option.active,
.language-option:hover {
  background-color: #0c8450 !important;
  color: #fff !important;
}

.main-nav a[data-language-selector] {
  cursor: pointer;
  position: relative;
}

.main-nav a[data-language-selector]:after {
  content: "▼";
  font-size: 10px;
  margin-left: 5px;
  vertical-align: middle;
}

/* Mobile language dropdown adjustments */
@media (max-width: 991px) {
  .navbar-collapse .nav-item {
    position: relative;
  }
  
  .navbar-collapse .language-dropdown {
    position: relative !important;
    margin-top: 10px !important;
    width: 100%;
    max-width: none;
  }
  
  .navbar-collapse a[data-language-selector]:after {
    float: right;
  }
}

/* Hamburger Menu - Mobile Only */
.navbar-toggler {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 10000;
  position: relative;
}

.navbar-toggler-awesome {
  font-size: 24px;
  color: #fff;
  transition: all 0.3s;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-awesome {
  color: #333;
}

.navbar-toggler .fa-bars {
  display: inline-block;
}

.navbar-toggler .fa-times {
  display: none;
}

.navbar-toggler[aria-expanded="true"] .fa-bars {
  display: none;
}

.navbar-toggler[aria-expanded="true"] .fa-times {
  display: inline-block;
}

/* Mobile Navigation Collapse */
.navbar-collapse {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: #ffffff !important;
  padding: 80px 30px 30px 30px !important;
  display: none !important;
  z-index: 9999 !important;
  overflow-y: auto !important;
  height: 100vh !important;
}

.navbar-collapse.show {
  display: block !important;
}

.navbar-collapse.collapsing {
  background-color: #ffffff !important;
}

.navbar-nav {
  flex-direction: column;
  gap: 0;
}

.nav-item {
  border-bottom: 1px solid #e0e0e0;
}

.navbar-collapse .nav-link {
  font-size: 16px !important;
  transition: opacity 0.3s;
  color: #333333 !important;
  text-decoration: none !important;
}

.navbar-collapse .nav-link:hover {
  opacity: 0.8;
  color: #333333 !important;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
  background-image: url("../images/hertz.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-bottom: 55px;
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 120px 0 50px;
}

.font-20 {
  font-size: 20px;
}
.f-bold {
  font-weight: 700;
}

.font-18 {
  font-size: 18px;
}

.font-22 {
  font-size: 22px;
  font-weight: 700;
}

.hero-section h2 {
  font-size: 45px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.form-card {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.form-subtitle {
  font-size: 14px;
  line-height: 1.6;
  color: #000;
}

.benefits-list li {
  padding-left: 20px;
  position: relative;
  font-size: 14px;
}

.benefits-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #000;
  font-weight: bold;
}

.btn-primary {
  background: #0c8450;
  border-color: #0c8450;
  font-weight: 600;  
}

.btn-primary:hover {
  background: #09663e;
  border-color: #09663e;
}

.btn-primary:disabled,
.btn-primary.disabled {
  background: #0c8450;
  border-color: #0c8450;
  opacity: 0.7;
}

.form-footer a {
  color: #0c8450;
}

.form-control-custom {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  font-size: 16px;
  height: 50px;
  text-align: left;
  padding: 10px 16px;
  padding-right: 40px;
  width: 100%;
  transition: border-color 0.3s;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-control-custom:focus {
  border-color: #0c8450;
  outline: none;
  box-shadow: none;
}

/* Remove custom arrow for non-select inputs and textarea */
input.form-control-custom,
textarea.form-control-custom {
  background-image: none;
  padding-right: 16px;
}

.label-title {
  position: absolute;
  top: -7px;
  left: 15px;
  font-size: 14px;
  font-weight: 400;
  background-color: #fff;
  padding: 0 4px;
  color: #000;
  line-height: 1;
  z-index: 1;
}

/* ===================================
   Icon Placeholders
   =================================== */
.with-icon {
  width: 85px;
}

.icon-modal {
  width: 18px;
  margin-right: 10px;
}

.circle-icon {
  width: 120px;
  height: 120px;
  background: #272727d6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-icon img {
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
}

.logo-item {
  height: 60px;
  background: #f0f0f0;
}

/* ===================================
   Sections
   =================================== */
.section-title {
  font-size: 36px;
  font-weight: 700;
}

.section-subtitle {
  max-width: 800px;
}

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

/* ===================================
   Image Slider
   =================================== */
.slider-container {
  position: relative;
  padding: 20px 0;
}

.image-slider {
  overflow: hidden;
}

.image-slider .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s;
}

.image-slider .image-container {
  width: 100%;
  max-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.image-slider .img-responsive {
  max-width: 100%;
  height: auto;
}

/* ===================================
   Adapt Slider
   =================================== */
.adapt-slider {
  overflow: hidden;
  padding-bottom: 40px;
}

.adapt-slider .swiper-slide {
  height: auto;
}

.adapt-slider .swiper-pagination {
  bottom: 0;
}

@media (min-width: 992px) {
  .adapt-slider .swiper-pagination {
    display: none !important;
  }
}

/* ===================================
   Adapt Cards with Hover Effect
   =================================== */
.adapt-card-wrapper {
  position: relative;
  min-height: 300px;
}

.adapt-content {
  transition: opacity 0.3s ease;
}

.adapt-hover-card {
  position: absolute;
  top: 0%;
  left: 0%;
  right: 15%;
  bottom: 13%;
  background: linear-gradient(135deg, #0c8450 0%, #09663e 100%);
  border-radius: 15px;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(12, 132, 80, 0.3);
}

@media (min-width: 992px) {
  .adapt-card-wrapper:hover .adapt-hover-card {
    opacity: 1;
    visibility: visible;
  }

  .adapt-card-wrapper:hover .adapt-content {
    opacity: 0;
  }
}

.hover-card-content {
  color: white;
  text-align: center;
}

.hover-card-title {
  font-size: 22px;
  font-weight: 700;
  color: white;
}

.hover-card-text {
  color: white;
  font-size: 15px;
  line-height: 1.6;
}

.hover-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.hover-card-features li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: white;
  font-size: 14px;
}

.hover-card-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: white;
  font-weight: bold;
  font-size: 16px;
}

.btn-hover-card {
  background: white;
  color: #0c8450;
  border: none;
  padding: 10px 30px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-hover-card:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile Button */
.btn-mobile-modal {
  background: #0c8450;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 14px;
}

.btn-mobile-modal:hover {
  background: #09663e;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(12, 132, 80, 0.3);
}

/* ===================================
   Modal Styles
   =================================== */
.modal-content {
  border-radius: 15px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
  border-bottom: 2px solid #f0f0f0;
  padding: 20px 30px;
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  color: #0c8450;
}

.modal-body {
  padding: 30px;
}

.modal-body h6 {
  font-weight: 600;
  color: #333;
}

.modal-body ul li {
  margin-bottom: 8px;
}

.modal-footer {
  border-top: 2px solid #f0f0f0;
  padding: 20px 30px;
}

.close {
  font-size: 30px;
  font-weight: 300;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.close:hover {
  opacity: 1;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section-wrapper {
  background: transparent;
  padding: 60px 0;
}

.cta-card {
  background-image: url("../images/bg-contact-us.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
}

.cta-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.btn-cta {
  background: #0c8450;
  border: none;
  color: white;
  font-weight: 600;
  font-size: 16px;
  border-radius: 5px;
  transition: all 0.3s;
}

.btn-cta:hover {
  background: #09663e;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(12, 132, 80, 0.3);
}

.bg-black {
  background-color: #000 !important;
}

.text-white {
  color: #fff !important;
}

/* Remove Bootstrap's default padding when modal is open */
body.modal-open {
  padding-right: 0 !important;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 991px) {
  .navbar-toggler {
    display: block;
  }

  .navbar-collapse {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    background: #000;
    padding: 80px 24px 30px;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .navbar-collapse.show {
    right: 0;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 0;
    align-items: flex-start !important;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-link {
    font-size: 16px;
    display: block;
  }
}

@media (max-width: 768px) {
  .main-header {
    padding: 15px 0;
  }

  .main-header .container {
    padding: 0 24px;
  }

  .logo h1 {
    font-size: 18px;
  }

  .logo-subtitle {
    font-size: 7px;
    letter-spacing: 1.5px;
  }

  .hero-section {
    padding: 80px 0 40px;
    min-height: auto;
  }

  .hero-section h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  .icon-placeholder {
    width: 60px;
    height: 60px;
  }

  .circle-icon {
    width: 100px;
    height: 100px;
  }

  .circle-icon img {
    max-width: 55%;
    max-height: 55%;
  }

  .logo-item {
    height: 50px;
  }

  .section-title {
    font-size: 24px;
  }

  .cta-section-wrapper {
    padding: 40px 0;
  }

  .cta-card {
    padding: 30px 20px;
    border-radius: 10px;
  }

  .cta-title {
    font-size: 24px;
  }

  .cta-description {
    font-size: 14px;
  }

  .btn-cta {
    padding: 12px 40px !important;
    font-size: 14px;
  }

  /* Mobile: Hide hover cards, keep them hidden */
  .adapt-card-wrapper {
    min-height: auto;
  }

  .adapt-hover-card {
    display: none !important;
  }
}
