@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,800;1,400&display=swap');

:root {
  --font-main: 'Open Sans', Helvetica, sans-serif;
  --color-bg-dark: #2e3842;
  --color-accent1: #21b2a6;
  --color-accent1-hover: #26c7ba;
  --color-accent5: #505393;
  --color-accent6: #ed4933;
  --color-accent6-hover: #f05e4a;
  --color-white: #ffffff;
  --color-text: rgba(255, 255, 255, 0.75);
  --color-text-light: rgba(255, 255, 255, 0.5);
  --color-border: rgba(255, 255, 255, 0.15);
  --color-border-hover: rgba(255, 255, 255, 0.35);
  --header-height: 3.5em;
  --transition-fast: 0.25s ease;
  --transition-menu: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-family: var(--font-main);
  font-size: 16pt;
  font-weight: 400;
  line-height: 1.75;
  background-color: var(--color-bg-dark);
  color: var(--color-text);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 1680px) { html { font-size: 13pt; } }
@media (max-width: 1280px) { html { font-size: 12pt; } }
@media (max-width: 736px) { html { font-size: 11pt; } }
@media (max-width: 480px) { html { font-size: 10pt; } }

body {
  background: var(--color-bg-dark);
  color: var(--color-text);
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

h1, h2, h3, h4 {
  color: var(--color-white);
  font-weight: 800;
  letter-spacing: 0.225em;
  line-height: 1.35;
  text-transform: uppercase;
  margin-bottom: 0.75em;
}

h2 {
  font-size: 1.35em;
  line-height: 1.75em;
}

h3 {
  font-size: 1.15em;
  line-height: 1.75em;
}

p {
  margin-bottom: 1.5em;
}

p:last-child {
  margin-bottom: 0;
}

strong, b {
  color: var(--color-white);
  font-weight: 600;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: #2e3842;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.bolas {
  display: flex;
  gap: 10px;
}

.bolas > div {
  width: 14px;
  height: 14px;
  background-color: #21b2a6;
  border-radius: 50%;
  animation: preloader-bounce 1.4s infinite ease-in-out both;
}

.bolas > div:nth-child(1) { animation-delay: -0.32s; }
.bolas > div:nth-child(2) { animation-delay: -0.16s; }

@keyframes preloader-bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Header */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  line-height: var(--header-height);
  padding: 0 1.5em;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
  background-color: transparent;
}

#header.scrolled {
  background-color: rgba(46, 56, 66, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

#header h1 {
  font-size: 0.85em;
  font-weight: 800;
  letter-spacing: 0.225em;
  margin: 0;
  color: var(--color-white);
}

#header h1 a {
  border-bottom: 0;
}

/* Nav & Menu Toggle */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: var(--color-white);
  font-size: 0.8em;
  font-weight: 600;
  letter-spacing: 0.225em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.4em 0.8em;
  border-radius: 4px;
  background: transparent;
  border: 0;
  transition: background-color var(--transition-fast);
}

.menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.menu-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Off-Canvas Menu */
#menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-menu), visibility var(--transition-menu);
}

#menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

#menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 20em;
  max-width: 80%;
  height: 100%;
  background: #21b2a6;
  color: #ffffff;
  padding: 3.5em 2em 2em;
  z-index: 10001;
  transform: translateX(100%);
  transition: transform var(--transition-menu);
  overflow-y: auto;
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.3);
}

#menu.active {
  transform: translateX(0);
}

#menu .menu-close {
  position: absolute;
  top: 1em;
  right: 1em;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 0.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color var(--transition-fast);
}

#menu .menu-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

#menu .menu-close svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

#menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#menu ul li {
  border-top: solid 1px rgba(0, 0, 0, 0.15);
  margin: 0.5em 0 0 0;
  padding: 0.6em 0 0 0;
}

#menu ul li:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

#menu ul li a {
  display: block;
  color: #ffffff;
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 0.225em;
  text-transform: uppercase;
  padding: 0.4em 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

#menu ul li a:hover {
  opacity: 0.8;
  transform: translateX(4px);
}

/* Page Wrapper */
#page-wrapper {
  position: relative;
}

/* Banner */
#banner {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8em 2em 6em;
  background-color: #2e3842;
  overflow: hidden;
}

#banner video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
  object-fit: cover;
}

#banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(46, 56, 66, 0.65) 0%, rgba(46, 56, 66, 0.88) 100%);
  z-index: 2;
}

#banner .inner {
  position: relative;
  z-index: 3;
  max-width: 48em;
  margin: 0 auto;
}

#banner .logo-container {
  margin-bottom: 2.5em;
}

#banner .logo-container img {
  margin: 0 auto;
  max-width: 420px;
  width: 90%;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.4));
}

#banner .more {
  position: absolute;
  bottom: 2em;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 0.225em;
  text-transform: uppercase;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

#banner .more:hover {
  color: #ffffff;
  transform: translateX(-50%) translateY(3px);
}

#banner .more svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.125em;
  line-height: 3.125em;
  padding: 0 2.75em;
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0.225em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 0 0 2px var(--color-white);
  color: var(--color-white);
  background-color: transparent;
  transition: all var(--transition-fast);
}

.button:hover {
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 0 2px var(--color-white);
}

.button.primary {
  background-color: var(--color-accent6);
  box-shadow: none;
  color: #ffffff;
}

.button.primary:hover {
  background-color: var(--color-accent6-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(237, 73, 51, 0.4);
}

.button.fit {
  width: 100%;
  max-width: 24em;
}

/* Section Wrappers */
.wrapper {
  padding: 6em 2em;
}

.wrapper > .inner {
  max-width: 60em;
  margin: 0 auto;
}

.wrapper.special {
  text-align: center;
}

.wrapper.style1 {
  background-color: var(--color-accent1);
  color: rgba(255, 255, 255, 0.85);
}

.wrapper.style1 h2 {
  color: #ffffff;
}

.wrapper.style1 .major p {
  color: #ffffff;
  font-size: 1.05em;
}

.wrapper.style2 {
  background-color: var(--color-bg-dark);
  padding: 0;
}

.wrapper.style3 {
  background-color: var(--color-accent5);
  color: rgba(255, 255, 255, 0.85);
}

.wrapper.style4 {
  background-color: var(--color-accent6);
  color: #ffffff;
  padding: 5em 2em;
}

.wrapper.style4 h2 {
  color: #ffffff;
  margin-bottom: 1.5em;
}

/* Major Headers */
header.major {
  margin-bottom: 3.5em;
  text-align: center;
}

header.major h2 {
  position: relative;
  padding-bottom: 0.8em;
  margin-bottom: 0.8em;
}

header.major h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3.5em;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.35);
}

/* Icons Major Section One */
.icons.major {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2.5em;
  margin: 3em 0 0;
  padding: 0;
}

.icons.major li {
  display: inline-block;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5em;
  height: 5em;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.icon-badge:hover {
  transform: scale(1.08);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 2px #ffffff;
}

.icon-badge svg {
  width: 2.2em;
  height: 2.2em;
  fill: #ffffff;
}

/* Spotlights */
.spotlight {
  display: flex;
  align-items: center;
  background-color: #2e3842;
}

.spotlight:nth-child(2n) {
  flex-direction: row-reverse;
  background-color: #28313a;
}

.spotlight .image {
  flex: 1 1 50%;
  max-width: 50%;
  overflow: hidden;
}

.spotlight .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.spotlight:hover .image img {
  transform: scale(1.04);
}

.spotlight .content {
  flex: 1 1 50%;
  max-width: 50%;
  padding: 4.5em 4em;
}

.spotlight .content h2 {
  font-size: 1.25em;
  line-height: 1.6;
  margin-bottom: 0.8em;
}

.spotlight .content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95em;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .spotlight, .spotlight:nth-child(2n) {
    flex-direction: column;
  }
  .spotlight .image, .spotlight .content {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .spotlight .content {
    padding: 3.5em 2em;
    text-align: center;
  }
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5em 3em;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.feature-item {
  display: flex;
  gap: 1.5em;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2em;
  height: 3.2em;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: inset 0 0 0 2px #ffffff;
}

.feature-icon svg {
  width: 1.4em;
  height: 1.4em;
  fill: currentColor;
}

.feature-text h3 {
  font-size: 1.05em;
  margin-bottom: 0.4em;
  color: #ffffff;
}

.feature-text p {
  font-size: 0.9em;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 736px) {
  .features {
    grid-template-columns: 1fr;
    gap: 2.5em;
  }
}

/* Footer */
#footer {
  background-color: #21282e;
  padding: 4.5em 2em;
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5em;
  list-style: none;
  padding: 0;
  margin-bottom: 2em;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75em;
  height: 2.75em;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

.social-icons a:hover {
  color: #ffffff;
  box-shadow: inset 0 0 0 1px #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.social-icons a svg {
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
}

.copyright {
  list-style: none;
  padding: 0;
  font-size: 0.75em;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5em 1.5em;
}

.copyright a {
  color: inherit;
  border-bottom: dotted 1px rgba(255, 255, 255, 0.3);
}

.copyright a:hover {
  color: #ffffff;
  border-bottom-color: transparent;
}

/* Modal Dialog */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5em;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  position: relative;
  background: #ffffff;
  border-radius: 8px;
  width: 90vw;
  max-width: 900px;
  height: 75vh;
  max-height: 650px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-dialog {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.modal-close:hover {
  background: #000000;
  transform: scale(1.1);
}

.modal-close svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.modal-body {
  width: 100%;
  height: 100%;
  flex: 1;
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
