/* =====================================================
   MAIN CSS INDEX - Imports all modular stylesheets
   ===================================================== */

/* 1. Global Styles & Variables */
@import url("./01-global.css");

/* 2. Header & Navigation */
@import url("./02-header-navbar.css");

/* 3. Hero Sections */
@import url("./03-hero-sections.css");

/* 4. Reusable Components */
@import url("./04-components.css");

/* 5. Home Page Specific */
@import url("./05-home-page.css");

/* 6. Service Overview Page */
@import url("./06-service-overview.css");

/* 7. Industries Page */
@import url("./07-industries.css");

/* 8. Contact Page */
@import url("./08-contact.css");

/* Announcement */
.company-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 10, 25, 0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.company-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.company-popup {
  position: relative;
  width: min(100%, 560px);
  padding: 34px 30px 30px;
  border-radius: 20px;
  overflow: hidden;
  color: #ffffff;

  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #0e1b3d 0%, #172554 55%, #1d2f6f 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.42),
    0 10px 28px rgba(0, 0, 0, 0.22);

  transform: translateY(18px) scale(0.985);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.company-popup::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #f19839 0%, #f4b56a 100%);
}

.company-popup-overlay.show .company-popup {
  transform: translateY(0) scale(1);
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.popup-close:hover {
  background: rgba(241, 152, 57, 0.18);
  color: #f4b56a;
  transform: rotate(90deg);
}

.popup-close:focus-visible {
  outline: 2px solid #f4b56a;
  outline-offset: 3px;
  background: rgba(241, 152, 57, 0.18);
}

.popup-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(241, 152, 57, 0.24);
  border-radius: 999px;
  background: rgba(241, 152, 57, 0.08);
  color: #f4b56a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.company-popup h3 {
  margin: 0 0 14px;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  max-width: 14ch;
}

.company-popup p {
  margin: 0 0 14px;
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.84);
}

.company-popup strong {
  color: #ffffff;
  font-weight: 700;
}

.popup-sub {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.66);
}

.popup-logo-transition {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  padding: 18px;
  border-radius: 16px;
  background: #ffffffe6;
  border: 1px solid rgba(129, 11, 11, 0.08);
}

.popup-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(245, 153, 42);
}

.popup-logo-item img {
  max-width: 170px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.popup-logo-item .new-logo {
  max-width: 210px;
  max-height: 62px;
}

.popup-logo-arrow {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgb(245, 153, 42);
  opacity: 0.9;
}

@media (max-width: 576px) {
  .company-popup {
    padding: 28px 22px 24px;
    border-radius: 18px;
  }

  .company-popup h3 {
    font-size: 1.4rem;
    max-width: 100%;
  }

  .company-popup p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .popup-logo-transition {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  .popup-logo-arrow {
    transform: rotate(90deg);
  }

  .popup-logo-item img,
  .popup-logo-item .new-logo {
    max-width: 140px;
    max-height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-popup-overlay,
  .company-popup,
  .popup-close {
    transition: none;
  }

  .company-popup {
    transform: none;
  }

  .popup-close:hover {
    transform: none;
  }
}
