/* =====================================================
   RESET & BASE STYLES
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  overflow: hidden; /* removed by JS after preloader */
  background: #ffffff;
}

body:not(.preloader-active) {
  overflow: visible;
  min-height: 100vh; /* ensures footer stays at bottom if content short */
  display: flex;
  flex-direction: column;
}

/* =====================================================
   PRELOADER
===================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #081428;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 1.2s ease-out;
}

.preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-container {
  width: 100%;
  max-width: 620px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-video {
  width: 100%;
  max-width: 580px;
  border-radius: 12px;
}

/* =====================================================
   HERO SECTION
===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8vw;
  flex: 1;
}

.hero-content {
  max-width: 700px;
}

.hero-title {
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 0.92;
  color: #052b6e;
  font-family: "Playfair Display", serif;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 200;
  color: #216796;
  margin-top: 10px;
  margin-bottom: 40px;
  font-style: italic;
}

.hero-extra-text {
  font-size: 15px;
  font-weight: 150;
  color: #216796;
  font-style: normal;
  text-align: center;
  font-family: "Merriweather", serif;
  margin-top: 700px;
  line-height: 1.5;
  max-width: 520px;
  opacity: 0.95;
}

@media (min-width: 901px) {
  .hero-extra-text {
    text-align: center;
  }
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
  }

  .hero-extra-text {
    margin: 32px auto 0;
    max-width: 90%;
  }

  .hero-logo {
    margin-top: 40px;
  }

  .hero-logo img {
    max-width: 260px;
  }
}

/* HERO LOGO */
.hero-logo img {
  max-width: 420px;
  height: auto;
}

/* =====================================================
   CONTACT SECTION
===================================================== */
.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  font-size: 1.2rem;
  color: #216796;
  font-family: 'Lexend', sans-serif;
}

.contact-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-right: 14px;
  color: #216796;
  transition: 0.25s;
}

.contact-icon-btn:hover {
  background: #052b6e;
  color: white;
  transform: scale(1.1);
}

.contact-item a:not(.contact-icon-btn) {
  color: #216796;
  text-decoration: none;
}

.contact-item a:not(.contact-icon-btn):hover {
  color: #052b6e;
}

/* =====================================================
   FOOTER
===================================================== */
.footer {
  background: #081428;
  color: #ffffff;
  padding: 40px 20px;
  flex-shrink: 0;
  text-align: center;
  font-family: 'Lato', sans-serif;
}

.footer-content {
  max-width: 900px;
  margin: auto;
}

.footer-address {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 18px;
}

.footer-copyright {
  font-size: 0.85rem;
  opacity: 0.6;
}

/* =====================================================
   MOBILE SPECIFIC
===================================================== */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
  }

  .hero-logo {
    margin-top: 40px;
  }

  .hero-logo img {
    max-width: 260px;
  }

  .hero-extra-text {
    margin: 32px auto 0;
    max-width: 90%;
  }
}