/* ── 1. CSS Variables / Design Tokens ─────────────────────── */
:root {
  /* Override Bootstrap's primary to match brand */
  --bs-primary: #1241a1;
  --bs-primary-rgb: 18, 65, 161;
  --bs-link-color: #1241a1;
  --bs-link-hover-color: #0f3488;

  /* Brand tokens */
  --color-primary: #1241a1;
  --color-accent: #b89764;
  --bg-light: #f6f6f8;
  --bg-dark: #111621;
}

/* ── 4. Navigation ─────────────────────────────────────────── */
.glass-nav {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-height: 80px;
}

.glass-nav .navbar-brand {
  color: var(--color-primary);
  font-weight: 900;
  letter-spacing: -0.025em;
}
/* NAV LINKS */
.glass-nav .nav-link {
  position: relative;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1e293b;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.25s ease;
}

/* underline animation */
.glass-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 2px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: width 0.25s ease;
}

/* hover effect */
.glass-nav .nav-link:hover {
  color: var(--color-primary);
  background: rgba(18, 65, 161, 0.05);
}

/* underline expands */
.glass-nav .nav-link:hover::after {
  width: calc(100% - 24px);
}

/* active link */
.glass-nav .nav-link.active {
  color: var(--color-primary);
  font-weight: 700;
}

.glass-nav .nav-link.active::after {
  width: calc(100% - 24px);
}

/* ── 13. Footer ────────────────────────────────────────────── */
.footer-dark {
  background: var(--bg-dark);
  color: #94a3b8;
}
/* Footer Links */
.footer-link {
  position: relative;
  display: inline-block;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* underline animation */
.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.25s ease;
}

/* hover */
.footer-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* underline expands */
.footer-link:hover::after {
  width: 100%;
}
.footer-social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #1e293b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s ease,
    color 0.3s ease;
  text-decoration: none;
  color: #94a3b8;
  cursor: pointer;
}

.footer-social-link:hover {
  background: var(--color-primary);
  color: #fff;
}
@media (max-width: 768px) {
  .footer-dark .row {
    text-align: center;
  }

  .footer-dark ul {
    align-items: center;
  }

  .footer-dark li {
    justify-content: center;
  }
}
.contact-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
/* ── Section Title ───────────────────────── */
.section-title {
  position: relative;
  display: inline-block;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 2rem;
}

/* animated gradient border (centered) */
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);

  width: 120px; /* control length of underline */
  height: 4px;
  border-radius: 3px;

  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-accent),
    var(--color-primary)
  );

  background-size: 200% 100%;
  animation: flowingBorder 3s linear infinite;
}

/* animation */
@keyframes flowingBorder {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 200% 50%;
  }
}

/* ── CTA Button ───────────────────────── */
.cta-button {
  position: relative;
  display: inline-block;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  overflow: hidden;

  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* shine animation */
.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-25deg);
}

/* hover */
.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(18, 65, 161, 0.35);
}

/* shine sweep */
.cta-button:hover::before {
  animation: shineMove 0.9s ease forwards;
}

@keyframes shineMove {
  100% {
    left: 130%;
  }
}
a {
  text-decoration: none;
}

/* Base button improvements */
.btn-primary,
.btn-light {
  border-radius: 50px;
  padding: 10px 26px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* PRIMARY BUTTON */
.btn-primary {
  border: none;
  color: #fff;

  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );

  background-size: 200% 200%;
}

/* smooth hover */
.btn-primary:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(18, 65, 161, 0.35);
}

/* LIGHT BUTTON */
.btn-light {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

/* smoother hover transition */
.btn-light:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(18, 65, 161, 0.25);
}
/* ── Form Controls ───────────────────────── */
.form-control {
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 12px 14px;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  box-shadow: none;
}

/* placeholder */
.form-control::placeholder {
  color: #94a3b8;
}

/* focus state */
.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(18, 65, 161, 0.15);
}

/* textarea spacing */
textarea.form-control {
  resize: none;
}

.animate-rotate {
  animation: rotate 2s linear infinite;
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
