/* ===== CSS Variables ===== */
:root {
  --brand-dark: #00074c;
  --brand-blue: #325cca;
  --brand-accent: #1db6f1;
  --brand-cyan: #76dfff;
  --bg-light: #f5f8ff;
  --bg-footer: #00052e;
  --text-dark: #0a1a3a;
  --text-light: #b8d4f0;
  --text-white: #ffffff;
  --text-muted: #4a5568;
  --border-color: #e2e8f0;
  --container-max: 1280px;
  --header-height: 80px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--text-white);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 80px;
  width: 100%;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--text-white);
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 80px;
  box-shadow: 0 1px 0 rgba(0, 7, 76, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.header__logo img {
  width: 200px;
  height: 52px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 400;
}

.nav__link--active {
  color: var(--brand-blue);
  font-weight: 700;
}

.nav__link:hover {
  color: var(--brand-blue);
}

/* ===== Banner Carousel ===== */
.banner-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.banner-carousel.is-dragging {
  cursor: grabbing;
}

.banner-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.banner-carousel__track.is-dragging {
  transition: none;
}

.banner-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
}

.banner-slide__inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 80px;
  width: 100%;
}

.banner-slide__inner--start {
  justify-content: flex-start;
}

.banner-slide__inner--end {
  justify-content: flex-end;
}

.banner-slide__content {
  max-width: 560px;
  width: 560px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
  align-items: flex-start;
}

.banner-slide__title {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.15;
  text-transform: uppercase;
}

.banner-slide--2 .banner-slide__title {
  font-size: 42px;
}

.banner-slide--3 .banner-slide__title {
  font-size: 40px;
}

.banner-slide--4 .banner-slide__title {
  font-size: 38px;
}

.banner-slide__subtitle {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 520px;
}

.banner-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.4);
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.banner-dot--active {
  background: var(--brand-cyan);
  transform: scale(1.1);
}

.banner-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* ===== About Section ===== */
.about {
  padding: 80px 0;
  background: var(--text-white);
}

.about__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-dark);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.about__content {
  display: flex;
  align-items: center;
  gap: 64px;
}

.about__image {
  flex: 0 0 560px;
  border-radius: 16px;
}

.about__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 16px;
}

.about__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__text p {
  font-size: 20px;
  line-height: 1.7;
  color: var(--text-dark);
}

/* ===== Why Choose Section ===== */
.why {
  padding: 80px 0;
  position: relative;
  background-color: #e6f1fc;
  overflow: hidden;
}

.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/bg6.png") center / cover no-repeat;
  opacity: 0.1;
  pointer-events: none;
}

.why > .container {
  position: relative;
  z-index: 1;
}

.why__header {
  text-align: center;
  margin-bottom: 48px;
}

.why__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-dark);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.why__subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 1200px;
  margin: 0 auto;
}

.why__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  background: var(--text-white);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.why-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card__icon svg {
  width: 32px;
  height: 32px;
  color: var(--text-white);
}

.why-card__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-dark);
}

.why-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Security Section ===== */
.security {
  position: relative;
  height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.security__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-blue) 40%, var(--brand-accent) 70%, rgba(118, 223, 255, 0.2) 100%);
}

.security__overlay {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
}

.security__overlay::before,
.security__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.security__overlay::before {
  background-image: url("../images/generated-1781750103827.png");
}

.security__overlay::after {
  background-image: url("../images/generated-1781750017503.png");
  opacity: 0.5;
}

.security__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.security__title {
  font-size: 34px;
  font-weight: 700;
  color: var(--text-white);
  text-transform: uppercase;
}

.security__body {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== Footer Info ===== */
.footer-info {
  background: var(--brand-dark);
  padding: 48px 80px;
}

.footer-info__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.footer-info__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.footer-info__col--brand {
  width: 600px;
}

.footer-info__col--links {
  width: 340px;
}

.footer-info__col--contact {
  width: 340px;
}

.footer-info__logo {
  display: block;
  line-height: 0;
}

.footer-info__logo img {
  width: 180px;
  height: 28px;
  object-fit: contain;
  object-position: left center;
}

.footer-info__desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  width: 426px;
  max-width: 100%;
}

.footer-info__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-info__links a {
  font-size: 14px;
  color: var(--text-white);
  line-height: 1.4;
}

.footer-info__links a:hover {
  color: var(--brand-cyan);
}

.footer-info__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.footer-info__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text-white);
  line-height: 1.4;
}

.footer-info__contact-item--email {
  align-items: center;
}

.footer-info__contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-info__contact-item--address svg {
  margin-top: 2px;
}

/* ===== Policy Pages ===== */
.policy-page {
  background: var(--text-white);
  padding: 48px 0 80px;
}

.policy-page__container {
  max-width: 900px;
}

.policy-page__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 40px;
}

.policy-page__back {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-blue);
  white-space: nowrap;
  transition: color 0.2s;
}

.policy-page__back:hover {
  color: var(--brand-accent);
}

.policy-page__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-dark);
  text-transform: uppercase;
  line-height: 1.2;
}

.policy-page__content {
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.75;
}

.policy-page__content .policy-meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.policy-page__content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 32px 0 16px;
}

.policy-page__content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-dark);
  margin: 24px 0 12px;
}

.policy-page__content p {
  margin-bottom: 16px;
}

.policy-page__content ul {
  margin: 0 0 16px 20px;
  padding: 0;
  list-style: disc;
}

.policy-page__content li {
  margin-bottom: 8px;
}

.policy-page__content a {
  color: var(--brand-blue);
  font-weight: 500;
}

.policy-page__content a:hover {
  color: var(--brand-accent);
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--brand-blue);
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 7, 76, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 200;
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brand-accent);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* ===== Copyright Footer ===== */
.copyright {
  background: var(--bg-footer);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copyright__text {
  font-size: 13px;
  color: var(--text-light);
}

/* ===== Contact Page ===== */
.contact-main {
  background: var(--bg-light);
  padding: 64px 0;
}

.contact-main__inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.contact-main__image {
  flex: 0 0 560px;
}

.contact-main__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.contact-form {
  flex: 1;
  background: var(--text-white);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-dark);
  text-align: center;
  text-transform: uppercase;
}

.contact-form__subtitle {
  font-size: 16px;
  color: var(--text-muted);
  text-align: center;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-light);
  font-family: inherit;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input {
  height: 48px;
}

.form-field textarea {
  padding: 16px;
  height: 140px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #94a3b8;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(50, 92, 202, 0.12);
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  background: var(--brand-blue);
  color: var(--text-white);
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: #2a4eb0;
}

.btn-primary:active {
  transform: scale(0.98);
}

.contact-form__alt {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
}

.contact-form__alt a {
  color: var(--brand-accent);
  font-weight: 600;
}

.contact-form__alt a:hover {
  text-decoration: underline;
}
