/* ContactUsNew.css */

.cu-hero-gradient {
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.8) 100%), url('/images/banners/contactus-banner.webp') no-repeat center center;
  background-size: cover;
  padding-top: 12rem;
  padding-bottom: 8rem;
}

.cu-mt-n16 {
  margin-top: -4rem;
}

.cu-rounded-3xl {
  border-radius: 1.5rem;
}

.cu-rounded-2xl {
  border-radius: 1rem;
}

.cu-rounded-xl {
  border-radius: 0.75rem;
}

.cu-rounded-lg {
  border-radius: 0.5rem;
}

.cu-rounded-full {
  border-radius: 9999px;
}

.cu-shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.cu-shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.cu-shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.cu-z-10 {
  z-index: 10;
}

.cu-gap-12 {
  gap: 3rem;
}

.cu-gap-6 {
  gap: 1.5rem;
}

.cu-gap-4 {
  gap: 1rem;
}

.cu-gap-3 {
  gap: 0.75rem;
}

.cu-gap-2 {
  gap: 0.5rem;
}

.text-brand-dark { color: #1a2b3c !important; }
.bg-brand-dark { background-color: #1a2b3c !important; }
.text-brand-teal { color: #042f40 !important; }
.bg-brand-teal { background-color: #042f40 !important; }
.border-brand-light { border-color: #e5e7eb !important; }

/* Font Weights */
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }

/* Grid / Flex adjustments */
.cu-w-lg-50 {
  width: 100%;
}
@media (min-width: 992px) {
  .cu-w-lg-50 {
    width: 50%;
  }
}

.cu-icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  background-color: #1f2937;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background-color 0.2s;
}
.cu-icon-btn:hover {
  background-color: #374151;
}

/* Map specific styling */
.cu-map-container {
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

/* Bulletproof border-radius for flex children with order swapping */
@media (max-width: 991.98px) {
  .connect-address-col {
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
  }
  .cu-map-container {
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
  }
}
@media (min-width: 992px) {
  .connect-address-col {
    border-top-left-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
  }
  .cu-map-container {
    border-top-right-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
  }
}
.cu-map-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Table Expansion */
.cu-accordion-header {
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}
.cu-accordion-icon {
  transition: transform 0.3s ease;
}
.cu-accordion-header[aria-expanded="true"] .cu-accordion-icon {
  transform: rotate(180deg);
}

.cu-table-container {
  overflow-x: auto;
  border-radius: 0.25rem;
  border: 1px solid #a6cad3;
}
.cu-table {
  width: 100%;
  text-align: left;
  font-size: 0.875rem;
}
.cu-table th {
  background-color: #255868;
  color: #ffffff;
  font-weight: 600;
  padding: 1rem;
  border-bottom: 1px solid #a6cad3;
  border-top: none;
}
.cu-table td {
  padding: 1rem;
  border-bottom: 1px solid #a6cad3;
  background-color: transparent;
  color: #092b34;
  border-top: none;
}
.cu-table tr:last-child td {
  border-bottom: none;
}

/* Expandable Transitions */
.cu-collapse-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out, margin-top 0.3s ease-out;
  opacity: 0;
}
.cu-collapse-content.open {
  max-height: 1000px; /* Arbitrary large max height */
  opacity: 1;
  margin-top: 1rem;
}

/* Custom Grid */
.cu-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .cu-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .cu-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .cu-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Level Cards */
.cu-level-card {
  background: transparent;
  padding: 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid #a6cad3;
  box-shadow: 0 4px 6px -1px rgba(9, 43, 52, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  line-height: 1.3;
  min-height: 480px;
}
.cu-level-card,
.cu-level-card * {
  color: #092b34 !important;
  line-height: 1.15 !important;
}
.cu-level-card svg {
  color: #092b34 !important;
}
.cu-level-top {
  flex: 0 0 42%;
}
.cu-level-inner {
  padding-top: 1rem;
  border-top: 1px solid #a6cad3;
  margin-top: 0;
  flex: 1;
}

/* External Cards */
.cu-external-card {
  background-color: transparent !important;
  border: 1px solid #a6cad3 !important;
  box-shadow: 0 4px 6px -1px rgba(9, 43, 52, 0.1) !important;
  color: #092b34 !important;
}
.cu-external-card span {
  color: #092b34 !important;
}
.cu-external-arrow {
  background-color: #092b34 !important;
  color: #ffffff !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  border-radius: 50% !important;
  padding: 0 !important;
}

/* Inputs */
.cu-input {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  padding: 0.75rem 1rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.cu-input:focus {
  border-color: #3b82f6;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

/* Buttons */
.cu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #042f40;
  color: white;
  font-weight: 500;
  padding: 0.75rem 2.5rem;
  border-radius: 9999px;
  transition: opacity 0.2s;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
}
.cu-btn:hover {
  opacity: 0.9;
  text-decoration: none;
  color: white;
}
.cu-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Text Colors */
.text-gray-900 { color: #111827; }
.text-gray-800 { color: #1f2937; }
.text-gray-700 { color: #374151; }
.text-gray-600 { color: #4b5563; }
.text-gray-500 { color: #6b7280; }
.text-gray-400 { color: #9ca3af; }

.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
