/* Global Reset */
body,
ul,
li {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: 'Segoe UI', sans-serif;
}

/* Main Navigation */
#globalmenu {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 20px 40px;
}

.header-item {
  color: #333;
  text-decoration: none;
  font-weight: 400;
  font-size: 15px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-item:hover {
  color: #000;
}

.arrows {
  font-size: 12px;
  margin-left: 8px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.header-menu.open .arrows {
  transform: rotate(180deg);
}

.header-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  width: 800px;
  border-radius: 8px;
  max-height: 800px;
  overflow-y: auto;
  overflow-x: hidden;
}

.header-menu.open .header-dropdown {
  display: block;
}

/* Mega Menu Columns */
.header-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  min-width: 600px;
}

.header-column a {
  margin: 0;
  padding-right: 10px;
}

/* Mega Links */
.header-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #333;
  text-decoration: none;
  padding: 10px;
  border-radius: 6px;
  transition: background-color 0.2s;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.header-link:hover {
  background-color: #fece58;
  color: #000;
}

.header-link i {
  font-size: 1.5rem;
  color: #666;
}

.header-link strong {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  color: #000;
  font-size: 1rem;
}

.header-link p {
  margin: 0;
  font-size: 0.875rem;
  color: #555;
  line-height: 1.6;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.mega-link-text {
  padding: 10px;
}

/* Certificate Button */
.certificate-btn-outline {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  background-color: #4B1B1B;
  border: 1px solid #4B1B1B;
  border-radius: 0.375rem;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.certificate-btn-outline:hover {
  background-color: #5a4747;
  border: 1px solid #5a4747;
  color: #ffffff;
  text-decoration: none;
}

/* Contact Button */
.custom-btn-outline {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  background-color: #002B4E;
  border: 1px solid #002B4E;
  border-radius: 0.375rem;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.custom-btn-outline:hover {
  background-color: #34424e;
  border: 1px solid #34424e;
  color: #ffffff;
  text-decoration: none;
}

/* Large Badge Style - Button-like Appearance */
.hero-badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #002B4E;
  background-color: #ffffff;
  border: 1px solid #002B4E;
  border-radius: 0.375rem;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.section-badge-transparent {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #002B4E;
  border: 1px solid #002B4E;
  border-radius: 0.375rem;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.section-badge-transparent-light {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 0.375rem;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.section-badge-transparent-blur {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  border-radius: 0.375rem;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  background: rgba(255, 255, 255, .15);
  /* Semi-transparent white */
  backdrop-filter: blur(10px);
  /* Blur effect */
  -webkit-backdrop-filter: blur(10px);
  /* Safari support */
}

/* Header Layout */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  position: relative;
  z-index: 100;
}

.hamburger {
  display: none;
  background: none;
  font-size: 24px;
  border: none;
  cursor: pointer;
}

.country-switcher {
  position: relative;
  display: inline-block;
  font-size: 14px;
  z-index: 99999;
}

.country-btn-selector {
  background: none;
  border: none;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 6px;
  min-width: 180px;
  text-align: left;
}

.region-label {
  display: inline-block;
  transition: all 0.2s ease;
}

.country-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ccc;
  margin-top: 5px;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 100000;
  width: 100%;
}

.country-dropdown div {
  padding: 10px 12px;
  cursor: pointer;
  white-space: nowrap;
}

.country-dropdown div:hover {
  background-color: #f0f0f0;
}

.mobile-contact-btn {
  display: none;
  padding-top: 10px;
}

.desktop-only {
  display: block;
}

.hamburger-wrapper {
  display: none;
}

/* Kamindo Brand Colors */
.text-brand-red {
  color: #2f0809 !important;
}

.bg-brand-red {
  background-color: #2f0809 !important;
}

.bg-brand-red-soft {
  background-color: rgba(222, 31, 38, 0.1) !important;
}

/* Custom Button Styles */
.kamindo-btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.kamindo-btn-light {
  background-color: #ffffff;
  color: #3d0b0c;
  border-color: #ffffff;
}

.kamindo-btn-light:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.carrousel-control {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: #002B4E;
  border: 1px solid #212529;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  transition: color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}

/* Hover state */
.carrousel-control:hover {
  color: #fff;
  background-color: #212529;
  border-color: #212529;
}

/* Focus state */
.carrousel-control:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(33, 37, 41, 0.5);
}

/* Disabled state */
.carrousel-control:disabled {
  opacity: 0.65;
  pointer-events: none;
  color: #212529;
  background-color: transparent;
  border-color: #212529;
}

/* Responsive */
@media (max-width: 768px) {

  body,
  html {
    overflow-x: visible;
    overflow-y: visible;
  }

  #globalmenu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #ffffff;
    z-index: 90000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 90vh;
    max-width: 100vw;
    white-space: nowrap;
  }

  #globalmenu.open {
    display: flex;
  }

  .mobile-contact-btn {
    display: block;
    text-align: center;
  }

  .desktop-only {
    display: none !important;
  }

  .wrapper,
  .main,
  .content {
    overflow: visible !important;
  }

  .hamburger {
    display: block;
    margin: 10px 20px;
    z-index: 1100;
  }

  .country-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100000;
    display: flex;
    align-items: center;
    height: 35px;
  }

  .country-btn-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    background: none;
    border: none;
    color: #000;
    height: 100%;
  }

  .country-btn-selector i,
  .country-btn-selector span {
    color: #000;
    line-height: 1;
  }

  .country-btn-selector span {
    position: relative;
    top: 1px;
  }

  .country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100001;
    background: white;
    width: 100%;
  }

  .region-label::before {
    content: attr(data-short);
  }

  .region-label {
    visibility: hidden;
    position: relative;
  }

  .region-label::before {
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
  }

  .hamburger-wrapper {
    display: block;
    position: fixed;
    top: 12px;
    right: 20px;
    z-index: 100001;
  }

  .menu_side_area.desktop-only {
    display: none !important;
  }

  .header-dropdown {
    width: 100% !important;
    padding: 20px 16px;
    box-sizing: border-box;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: auto;
    white-space: nowrap;
  }

  .header-columns {
    display: inline-flex;
    gap: 16px;
    min-width: max-content;
  }

  .header-column {
    flex: 0 0 auto;
    width: 300px;
  }

  .header-link {
    white-space: normal;
  }
}

/* Industries Page Custom Styles */
.industry-hero {
  padding: 80px 0 40px 0;
  background: linear-gradient(90deg, #f8fafc 60%, #fff 100%);
  text-align: center;
  position: relative;
}

.industry-hero-img {
  width: 100%;
  max-width: 600px;
  max-height: 260px;
  object-fit: cover;
  border-radius: 18px;
  margin: 0 auto 2rem auto;
  display: block;
}

.industry-overview {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  padding: 2.5rem 2rem;
  margin: -40px auto 40px auto;
  max-width: 700px;
}

.industry-section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.industry-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.industry-card {
  background: #f8fafc;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
  padding: 2rem 1.5rem;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.industry-icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin: 0 auto 1rem auto;
}

.industry-icon-box.challenge {
  background: #2f0809;
}

.industry-icon-box.solution {
  background: #de1f26;
}

.industry-icon-box i {
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
}

.industry-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 3rem 0 2rem 0;
}

.industry-stat {
  text-align: center;
}

.industry-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #de1f26;
}

.industry-cta {
  text-align: center;
  margin: 3rem 0 2rem 0;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .industry-hero {
    padding: 40px 0 20px 0;
  }

  .industry-hero-img {
    max-width: 100%;
    max-height: 160px;
    border-radius: 10px;
  }

  .industry-cards {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .industry-card {
    min-width: 80vw;
    max-width: 90vw;
    flex: 0 0 auto;
    margin-right: 0.5rem;
    align-items: center;
  }
}

/* Wider container for industry sections */
.industry-container-wide {
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 1200px) {
  .industry-container-wide {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Services Hero Split Section Styles */
.service-hero-section {
  background: #002B4E;
  /* Soft pink, adjust as needed */
  position: relative;
  overflow: hidden;
  padding-top: 0 !important;
}

.hero-img-col {
  min-height: 350px;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  background: transparent;
  position: relative;
  padding: 0 !important;
  margin: 0 !important;
}

.hero-img-shape {
  object-fit: cover;
  height: 100%;
  width: 100%;
  min-height: 350px;
  display: block;
  clip-path: url(#heroImgClip);
  margin: 0;
  padding: 0;
  border: 0;
}

@media (max-width: 991px) {

  .hero-img-col,
  .hero-img-shape {
    border-radius: 0 !important;
    min-height: 200px;
    clip-path: none;
  }

  .service-hero-section {
    padding: 2rem 0 !important;
  }
}

/* Utility class for no top padding */
.no-top-padding {
  padding-top: 0 !important;
}

#content {
  width: 100%;
  background: #ffffff;
  padding: 0 0 90px 0;
  z-index: 100;
}