:root {
  --pri: #F5FBFF;
  --sec: #4788a3;
  --acc: #2d9c9f;
  --dark: #0D4F6E;
  --textDark: #062a30;
  --textMid: #0D4F6E;
  --textLight: #2A7A9E;
  --font-head: 'Fraunces', serif;
  --font-body: 'Commissioner', sans-serif;
  --radius: 20px;
  --btn-radius: 50px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --grad: linear-gradient(150deg, var(--sec) 0%, var(--acc) 60%, var(--sec) 100%);
}

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

body {
  font-family: var(--font-body);
  background: #ffffff;
  color: var(--textDark);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  color: var(--dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: var(--textMid);
}

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

ul {
  list-style: none;
}

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

.alx-container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.alx-section {
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
}

.alx-section--alt {
  background-color: var(--pri);
}

.alx-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--grad);
  color: #fff;
  border-radius: var(--btn-radius);
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  font-size: 1rem;
}

.alx-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(30, 144, 192, 0.3);
}

.alx-btn--outline {
  background: transparent;
  border: 2px solid var(--acc);
  color: var(--acc);
}

.alx-btn--outline:hover {
  background: var(--acc);
  color: #fff;
}

/* Header */
.alx-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.alx-header.scrolled {
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.alx-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.alx-logo {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.alx-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.alx-menu a {
  font-weight: 500;
  color: var(--textDark);
  font-size: 0.95rem;
}

.alx-menu a:hover,
.alx-menu a.active {
  color: var(--acc);
}

.alx-has-dropdown {
  position: relative;
}

.alx-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  padding: 16px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.alx-has-dropdown:hover .alx-dropdown,
.alx-has-dropdown:focus-within .alx-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.alx-dropdown a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
}

.alx-dropdown a:hover {
  background: var(--pri);
}

.alx-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
}

.alx-hamburger span {
  width: 28px;
  height: 2px;
  background: var(--dark);
  transition: 0.3s;
}

/* Hero */
.alx-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding-top: 80px;
}

.alx-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}

.alx-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 79, 110, 0.4);
  z-index: -1;
}

.alx-hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.alx-hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.alx-hero__content h1,
.alx-hero__content p {
  color: #fff;
}

/* Forms */
.alx-form {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.alx-form-group {
  margin-bottom: 20px;
}

.alx-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
}

.alx-input,
.alx-select,
.alx-textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: 0.3s;
}

.alx-input:focus,
.alx-select:focus,
.alx-textarea:focus {
  border-color: var(--acc);
  outline: none;
}

.alx-textarea {
  height: 120px;
  resize: vertical;
}

/* Cards */
.alx-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
}

.alx-col-3 {
  grid-column: span 3;
}

.alx-col-4 {
  grid-column: span 4;
}

.alx-col-6 {
  grid-column: span 6;
}

.alx-col-12 {
  grid-column: span 12;
}

.alx-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.alx-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.alx-card__img {
  height: 240px;
  width: 100%;
  object-fit: cover;
}

.alx-card__body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.alx-card__title {
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.alx-card__text {
  font-size: 0.95rem;
  color: var(--textMid);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Footer */
.alx-footer {
  background: var(--pri);
  padding: 80px 0 40px;
  border-top: 1px solid #e0eff5;
}

.alx-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.alx-footer h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.alx-footer ul li {
  margin-bottom: 12px;
}

.alx-footer a {
  color: var(--textMid);
  font-size: 0.95rem;
}

.alx-footer a:hover {
  color: var(--acc);
}

.alx-footer__bottom {
  border-top: 1px solid #dcebf2;
  padding-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--textLight);
}

/* Separator */
.alx-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.alx-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.alx-wave .shape-fill {
  fill: #ffffff;
}

.alx-section--alt .alx-wave .shape-fill {
  fill: var(--pri);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Popup */
.alx-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.alx-popup.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.alx-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.alx-popup__box {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

.alx-popup__icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.alx-popup__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.alx-popup__msg {
  font-size: 1rem;
  color: var(--textMid);
  line-height: 1.6;
  margin-bottom: 24px;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px)
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0)
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .alx-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .alx-col-3,
  .alx-col-4,
  .alx-col-6 {
    grid-column: span 1;
  }

  .alx-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .alx-hamburger {
    display: flex;
  }

  .alx-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 80px 40px;
    transition: 0.4s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  }

  .alx-menu.open {
    right: 0;
  }

  .alx-grid {
    grid-template-columns: 1fr;
  }

  .alx-footer__grid {
    grid-template-columns: 1fr;
  }

  .alx-hero {
    min-height: 100svh;
  }
}
