/* ========================================
   GLOBAL & RESET
======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========================================
   MAIN CONTAINER
======================================== */

.maintenance-page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  background: #ffffff;
  overflow: hidden;
}

/* ========================================
   LEFT COLUMN
======================================== */

.maintenance-left {
  width: 45%;
  min-height: 100vh;
  background: #111111;
  color: #ffffff;
  position: relative;
  display: flex;
  align-items: stretch;
}

.left-inner {
  width: 100%;
  padding: 76px 10.5% 70px 12%;
  display: flex;
  flex-direction: column;
}

/* Logo */
.maintenance-logo {
  width: 105px;
  height: 105px;
  margin-bottom: 88px;
}

.maintenance-logo img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Status Indicator */
.evolving-status {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 54px;
}

.status-pill {
  width: 66px;
  height: 23px;
  border: 3px solid #ffffff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  padding: 2px;
  overflow: hidden;
}

.status-dot {
  width: 13px;
  height: 13px;
  background: #ffffff;
  border-radius: 50%;
  animation: statusMove 2.2s ease-in-out infinite;
}

.status-text {
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 2.2px;
  white-space: nowrap;
}

@keyframes statusMove {
  0% { transform: translateX(0); }
  50% { transform: translateX(39px); }
  100% { transform: translateX(0); }
}

/* Typography & Content */
.maintenance-title {
  font-size: clamp(58px, 4.6vw, 91px);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: -3px;
  margin-bottom: 48px;
}

.maintenance-title span {
  display: block;
}

.maintenance-title span:first-child {
  color: #ffffff;
}

.maintenance-title span:last-child {
  color: #8c8c8c;
}

.maintenance-description {
  max-width: 610px;
  color: #d4d4d4;
  font-size: 23px;
  line-height: 1.55;
  font-weight: 300;
  margin-bottom: 39px;
}

.maintenance-description strong {
  color: #ffffff;
  font-weight: 700;
}

.desktop-break {
  display: block;
}

.maintenance-question {
  color: #d4d4d4;
  font-size: 23px;
  font-weight: 300;
  margin-bottom: 40px;
}

/* Contact Button */
.contact-button {
  width: 240px;
  height: 70px;
  border: 1px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px 0 25px;
  color: #ffffff;
  font-size: 19px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-button:hover {
  background: #ffffff;
  color: #111111;
}

.button-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.contact-button:hover .button-arrow {
  transform: translateX(4px);
}

/* ========================================
   RIGHT COLUMN
======================================== */

.maintenance-right {
  width: 55%;
  min-height: 100vh;
  background: #ffffff;
  color: #303033;
  position: relative;
  overflow: hidden;
  z-index: 5;
}

.right-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 76px 10% 70px 4.2%;
}

.focus-title {
  font-size: 26px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: #555555;
  margin-bottom: 113px;
}

.solutions-heading {
  display: inline-block;
  width: 100%;
  padding: 0 8px 11px;
  border-bottom: 1px solid #444444;
  color: #565656;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 2px;
}

/* Services */
.services-list {
  width: 100%;
}

.service-item {
  min-height: 124px;
  border-bottom: 1px solid #dddddd;
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  padding: 15px 8px;
}

.service-number {
  align-self: start;
  padding-top: 15px;
  font-size: 21px;
  font-weight: 500;
  color: #666666;
}

.service-item h3 {
  font-size: clamp(34px, 2.35vw, 48px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: #303033;
}

.focus-description {
  max-width: 590px;
  margin-top: 91px;
  font-size: 22px;
  line-height: 1.45;
  color: #6a6a6a;
  font-weight: 300;
}

/* ========================================
   DECORATIVE BACKGROUNDS & EFFECTS
======================================== */

.background-lines {
  position: absolute;
  top: 0;
  right: -100px;
  width: 330px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.line {
  position: absolute;
  width: 245px;
  height: 245px;
  border-left: 1px solid #ededed;
  border-bottom: 1px solid #ededed;
  transform: rotate(45deg);
}

.line-one {
  top: 40px;
  right: -95px;
}

.line-two {
  top: 390px;
  right: -95px;
}

.line-three {
  top: 740px;
  right: -95px;
}

.rainbow-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Relative path so it works under artisan serve AND Apache subdirectory */
  background-image: url('../images/rainbow-buai.jpg');
  background-size: cover;
  background-position: center;

  /* Rainbow is revealed in a circle that follows the cursor.
     Opaque center = rainbow visible, transparent edges = hidden.
     JS updates --mouse-x / --mouse-y on <html>; hidden until hover. */
  -webkit-mask-image: radial-gradient(
    circle var(--reveal-radius, 260px) at var(--mouse-x, -1000px) var(--mouse-y, -1000px),
    black 0%,
    black 55%,
    rgba(0, 0, 0, 0.4) 80%,
    transparent 100%
  );
  mask-image: radial-gradient(
    circle var(--reveal-radius, 260px) at var(--mouse-x, -1000px) var(--mouse-y, -1000px),
    black 0%,
    black 55%,
    rgba(0, 0, 0, 0.4) 80%,
    transparent 100%
  );
}

/* Distortion card styles are defined later in this file
   (see DISTORTION CARD section, near the end) */

.distortion-title {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 5;
  color: white;
  font-size: 28px;
  pointer-events: none;
}

/* ========================================
   RESPONSIVE MEDIA QUERIES
======================================== */

/* Small Desktop */
@media (max-width: 1200px) {
  .left-inner {
    padding-left: 8%;
    padding-right: 7%;
  }

  .right-inner {
    padding-left: 5%;
    padding-right: 7%;
  }

  .maintenance-logo {
    margin-bottom: 65px;
  }

  .status-text {
    font-size: 20px;
  }

  .maintenance-description,
  .maintenance-question {
    font-size: 19px;
  }

  .focus-title {
    margin-bottom: 90px;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .maintenance-page {
    flex-direction: column;
  }

  .maintenance-left,
  .maintenance-right {
    width: 100%;
    min-height: 850px;
  }

  .left-inner {
    padding: 55px 8%;
  }

  .maintenance-logo {
    margin-bottom: 70px;
  }

  .maintenance-title {
    font-size: clamp(55px, 9vw, 78px);
  }

  .maintenance-description {
    max-width: 650px;
  }

  .right-inner {
    padding: 65px 8%;
  }

  .focus-title {
    margin-bottom: 80px;
  }

  .service-item h3 {
    font-size: clamp(32px, 6vw, 48px);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .maintenance-left,
  .maintenance-right {
    min-height: 760px;
  }

  .left-inner {
    padding: 42px 25px 60px;
  }

  .maintenance-logo {
    width: 78px;
    height: 78px;
    margin-bottom: 60px;
  }

  .evolving-status {
    gap: 10px;
    margin-bottom: 40px;
  }

  .status-pill {
    width: 54px;
    height: 20px;
    border-width: 2px;
  }

  .status-dot {
    width: 12px;
    height: 12px;
  }

  @keyframes statusMove {
    0% { transform: translateX(0); }
    50% { transform: translateX(30px); }
    100% { transform: translateX(0); }
  }

  .status-text {
    font-size: 14px;
    letter-spacing: 1.4px;
  }

  .maintenance-title {
    font-size: 53px;
    line-height: 0.98;
    letter-spacing: -2px;
    margin-bottom: 38px;
  }

  .maintenance-description,
  .maintenance-question {
    font-size: 17px;
    margin-bottom: 30px;
  }

  .maintenance-description {
    line-height: 1.55;
  }

  .desktop-break {
    display: none;
  }

  .contact-button {
    width: 205px;
    height: 60px;
    font-size: 16px;
    padding-left: 20px;
  }

  .button-arrow {
    width: 28px;
    height: 28px;
    font-size: 20px;
  }

  .right-inner {
    padding: 50px 25px 70px;
  }

  .focus-title {
    font-size: 21px;
    letter-spacing: 2px;
    margin-bottom: 70px;
  }

  .solutions-heading {
    font-size: 17px;
    letter-spacing: 1.4px;
    padding-left: 0;
  }

  .service-item {
    min-height: 105px;
    grid-template-columns: 48px 1fr;
    padding: 13px 0;
  }

  .service-number {
    font-size: 16px;
    padding-top: 10px;
  }

  .service-item h3 {
    font-size: 29px;
    line-height: 1.05;
  }

  .focus-description {
    margin-top: 60px;
    font-size: 17px;
  }

  .background-lines {
    right: -180px;
    opacity: 0.7;
  }
}

/* Small Mobile */
@media (max-width: 400px) {
  .maintenance-title {
    font-size: 46px;
  }

  .status-text {
    font-size: 12px;
  }

  .service-item h3 {
    font-size: 25px;
  }
}
/* =========================================
   DISTORTION CARD
========================================= */

.distortion-card {
    width: 220px;
    aspect-ratio: 509 / 490;
    position: relative;
    overflow: hidden;
    margin-bottom: 88px;
}

.distortion-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.distortion-image canvas {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    display: block;
}



/* ========================================
   CONTACT US PAGE
======================================== */

.contact-left {
  width: 35%;
}

.contact-right {
  width: 65%;
  display: flex;
  align-items: center;
}

.contact-subtitle {
  font-size: 24px;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: #555555;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.contact-heading {
  font-size: clamp(52px, 5vw, 85px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -2px;
  color: #111111;
  margin-bottom: 70px;
}

.contact-heading span {
  color: #777777;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  max-width: 750px;
}

.contact-info-card {
  padding: 25px 30px 30px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-info-card:first-child {
  border-right: 1px solid #dddddd;
}

.contact-info-card:last-child {
  padding-left: 30px;
}

.info-label {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 500;
  color: #8c8c8c;
  text-transform: uppercase;
}

.info-value {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  color: #111111;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.contact-info-card a:hover .info-value {
  color: #555555;
  transform: translateX(4px);
}

.contact-back-wrap {
  margin-top: auto;
  padding-top: 40px;
}

@media (max-width: 900px) {
  .contact-left,
  .contact-right {
    width: 100%;
  }

  .contact-left {
    min-height: auto;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-card:first-child {
    border-right: none;
    border-bottom: 1px solid #dddddd;
    padding-right: 0;
  }

  .contact-info-card:last-child {
    padding-left: 0;
  }
}
