/* Thiraconnect Custom Styles */

/* Navbar menu items styling */
.navmenu > ul > li > a {
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem;
  white-space: nowrap;
}

/* Dropdown styling */
.navmenu ul ul {
  min-width: 200px;
  background: white;
  border: 1px solid #ddd;
}

.navmenu ul ul li a {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

/* Nested dropdown - appear to the left */
.navmenu ul ul ul {
  min-width: 200px;
  left: auto !important;
  right: calc(100% + 8px) !important;
  top: 0 !important;
  background: white;
  border: 1px solid #ddd;
  box-shadow: -4px 4px 12px rgba(0,0,0,0.1);
}

.navmenu ul ul ul li a {
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
}

/* Services section - equal card heights */
.services .service-item {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.services .service-item .img {
  overflow: hidden;
  height: 220px;
  flex-shrink: 0;
}

.services .service-item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.services .service-item:hover .img img {
  transform: scale(1.05);
}

.services .service-item .details {
  flex: 1;
}

/* Header contact info (desktop only) */
.header-contact-info {
  font-size: 0.82rem;
  white-space: nowrap;
}

.header-contact-info a {
  color: inherit;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.header-contact-info a:hover {
  opacity: 1;
}

.header-contact-info i {
  font-size: 0.9rem;
}

/* CTA button */
.cta-btn {
  margin-left: 10px;
  padding: 0.5rem 1.2rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* Dropdown toggle icon styling */
.toggle-dropdown {
  transition: all 0.2s ease;
  font-size: 0.75rem;
  margin-left: 2px;
}

/* Mobile submenu toggle */
@media (max-width: 1199px) {
  .navmenu ul ul {
    display: none !important;
  }

  .navmenu ul ul.show {
    display: block !important;
  }

  .navmenu ul ul ul {
    display: none !important;
  }

  .navmenu ul ul ul.show {
    display: block !important;
  }
}
