/* ===============================
   Global Styles
   =============================== */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  height: 100%;
  width: 100%;
  font-family: "Calibri", sans-serif;
  overflow-x: hidden;       /* prevent horizontal scroll */
}

/* ===============================
   Background Video
   =============================== */
.background {
  position: fixed;          /* fill viewport */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;

  width: auto;
  height: auto;

  transform: translate(-50%, -50%) scale(0.9);

  object-fit: cover;

  z-index: 1;
  will-change: transform;
  animation: slowZoom 30s ease-in-out infinite alternate;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(10, 20, 40, 0.08) 0%,
    rgba(42, 20, 12, 0.55) 100%
  );
  z-index: 2;
}


@keyframes slowZoom {
  from {
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    transform: translate(-50%, -50%) scale(1.08);
  }
}


/* ===============================
   Content Wrapper
   =============================== */
.content-wrapper {
  position: fixed;          /* fullscreen overlay */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;

  width: 90%;
  max-width: 1200px;
  height: 100vh;
  padding: 0 2rem;
  overflow: hidden;
}

/* ===============================
   Main Text Box
   =============================== */
.content-box {
  width: 100%;
  max-width: 850px;
  max-height: 80vh;         /* prevents vertical overflow */
  padding: 2rem;
  overflow-y: auto;         /* scroll inside box if needed */

  /* Metallic glass gradient */
  background: linear-gradient(
    135deg,
    rgba(240, 242, 245, 0.85) 0%,
    rgba(220, 225, 232, 0.65) 30%,
    rgba(255, 255, 255, 0.55) 55%,
    rgba(210, 215, 220, 0.7) 75%,
    rgba(245, 248, 252, 0.85) 100%
  );

  background-image:
    linear-gradient(
      135deg,
      rgba(240, 242, 245, 0.85),
      rgba(210, 215, 220, 0.7)
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.05) 0px,
      rgba(255,255,255,0.05) 1px,
      transparent 1px,
      transparent 3px
    );

  color: #0f234d;
  text-shadow: 0 1px 2px rgba(255,255,255,0.35);
  border-radius: 10px;
  border: 1px solid rgba(180, 190, 205, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 -3px 10px rgba(140,150,170,0.35),
    0 18px 50px rgba(0,0,0,0.22);


  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-box:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -3px 12px rgba(140,150,170,0.4),
    0 25px 60px rgba(0,0,0,0.28);
}


/* ===============================
   Logo inside box
   =============================== */
.logo-inside {
  text-align: center;
  margin-bottom: 1rem;
}

.logo-inside img {
  max-height: 130px;
  width: auto;
}

/* ===============================
   Headline
   =============================== */
.main-box h1 {
  text-align: center;
  margin: 1.2rem 0 1rem 0;
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  font-weight: 800;
  text-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* ===============================
   Paragraph Text
   =============================== */
.main-box p {
  text-align: center;
  margin: 1rem 0;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ===============================
   Contact Button
   =============================== */
.contact-button {
  display: inline-block;
  padding: 1.2rem 3rem;
  font-size: 2rem;

  background: #142a5c;
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  border: none;

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;

  margin-top: 2.5rem;
  letter-spacing: 0.04em;
}

.contact-button:hover {
  background: #1e3a8a;
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* ===============================
   Mobile Layout (<=768px)
   =============================== */
@media (max-width: 768px) {

  .content-wrapper {
    width: 95%;
    height: 100vh;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .content-box {
    padding: 1.5rem 1rem;
    max-height: 90vh;
  }

  .logo-inside img {
    max-height: 60px;
    margin-bottom: 1.5rem;
  }

  .main-box h1 {
    font-size: 1.6rem;
    margin: 1rem 0 1.5rem 0;
    line-height: 1.2;
  }

  .main-box p {
    font-size: 1.1rem;
    line-height: 1.3;
    margin: 1rem 0;
  }

  .contact-button {
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    margin-top: 1.5rem;
  }

  .background-video {
    transform: translate(-50%, -50%);
  }
}

/* ===============================
   Ultra-small screens (<=375px)
   =============================== */
@media (max-width: 375px) {

  .content-wrapper {
    gap: 1rem;
  }

  .content-box {
    padding: 1rem 0.8rem;
    max-height: 88vh;
  }

  .logo-inside img {
    max-height: 50px;
    margin-bottom: 1rem;
  }

  .main-box h1 {
    font-size: 1.3rem;
    margin: 0.8rem 0 1rem 0;
  }

  .main-box p {
    font-size: 1rem;
    line-height: 1.25;
    margin: 0.8rem 0;
  }

  .contact-button {
    font-size: 1rem;
    padding: 0.6rem 1rem;
    margin-top: 1rem;
  }

  .background-video {
    transform: translate(-50%, -50%);
  }
}
