/* ============================================================
   GLOBAL VARIABLES
   ============================================================ */
:root {
  --color-white: #fff;
  --color-black: #161A13;
  --color-beige: #F3F1EB;
  --color-green: #258445;
  --color-red: #641313;
  --color-green-dark: #072100;
  --color-red-dark: #002020;
  --color-blue-dark: #012B44;
  --color-pink: #FF4168;
  --color-pink-light: #F7C4D7;
  --color-green-light: #7FFBAE;
  --color-yellow-light: #FCE77E;
  --color-primary: #012B44;

  --font-size-xs: 16px;
  --font-size-sm: 20px;
  --font-size-md: 25px;
  --font-size-lg: 30px;
  --font-size-xl: 45px;

  --page-background-color: var(--color-beige);
  --page-color: var(--color-primary);
  --page-font-family: "Outfit", serif;
  --page-font-weight: 300;
  --page-font-size: var(--font-size-md);
  --page-line-height: 1.5;

  --h1-margin-bottom: 1.5rem;
  --h1-font-weight: 700;
  --h1-font-size: 65px;
  --h1-line-height: 1.2;

  --h2-margin-bottom: 2rem;
  --h2-font-weight: 700;
  --h2-font-size: 65px;
  --h2-line-height: 1.2;

  --h3-margin-bottom: 2rem;
  --h3-font-weight: 700;
  --h3-font-size: 45px;
  --h3-line-height: 1.2;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
}


/* ============================================================
   RESET / BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--page-background-color);
  color: var(--page-color);
  font-family: var(--page-font-family);
  font-weight: var(--page-font-weight);
  font-size: var(--page-font-size);
  line-height: var(--page-line-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1700px;
    }
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, .h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--h1-font-weight);
  line-height: var(--h1-line-height);
  margin-bottom: var(--h1-margin-bottom);
  font-family: var(--page-font-family);
  color: var(--page-color);
}

h2, .h2 {
  font-size: var(--h2-font-size);
  font-weight: var(--h2-font-weight);
  line-height: var(--h2-line-height);
  margin-bottom: var(--h2-margin-bottom);
  font-family: var(--page-font-family);
  color: var(--page-color);
}

h3, .h3 {
  font-size: var(--h3-font-size);
  font-weight: var(--h3-font-weight);
  line-height: var(--h3-line-height);
  margin-bottom: var(--h3-margin-bottom);
  font-family: var(--page-font-family);
  color: var(--page-color);
}

h4, .h4 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  font-family: var(--page-font-family);
  color: var(--page-color);
}

h5, .h5 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  font-family: var(--page-font-family);
  color: var(--page-color);
}

h6, .h6 {
  font-size: var(--font-size-xs);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  font-family: var(--page-font-family);
  color: var(--page-color);
}

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

.text-xs   { font-size: var(--font-size-xs); }
.text-sm   { font-size: var(--font-size-sm); }
.text-md   { font-size: var(--font-size-md); }
.text-lg   { font-size: var(--font-size-lg); }
.text-xl   { font-size: var(--font-size-xl); }

.text-light-weight  { font-weight: 300; }
.text-regular       { font-weight: 400; }
.text-medium        { font-weight: 500; }
.text-bold          { font-weight: 700; }

a {
  color: var(--color-green);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-green-dark);
}



/*------------------------------------*\
	Logo animation
\*------------------------------------*/
  /* Target each SVG path (letter) */
  .whye-logo{
  	overflow: visible;
  }

  .whye-logo path {
    fill: var(--color-blue-dark);
    transition: fill 0.2s ease-in-out; /* Faster transition between colors */
  	animation: wave-animation 1.8s ease-in-out;
  	/* animation-play-state: running; */
  	animation-iteration-count: 0;

  }

  /* Add animation when hovering over the logo */
  a:hover > .whye-logo path {
  	animation-iteration-count: infinite;
    /* animation: wave-animation 0.8s ease-in-out infinite; /* Faster animation cycle */ */
    /* animation-fill-mode: forwards; */
  }

  /* Dot hover effect - add translateX without overriding existing transforms */
  #letter-dot {
    fill: var(--color-blue-dark);
    transition: transform 0.3s ease, fill 0.2s ease; /* Smooth and fast movement and color transitions */
    transform-origin: center; /* Ensure transformations are relative to the dot's center */
  }

  a:hover > .whye-logo #letter-dot {
    transform: translate(-295px, -70.65px); /* Add movement */
  }

  /* Keyframes for the wave animation */
  @keyframes wave-animation {
    0%, 100% {
      fill: var(--color-blue-dark);
    }

    12.5% {
      fill: var(--color-pink-light);
    }

    25% {
      fill: var(--color-pink-light);
    }

    50% {
      fill: var(--color-yellow-light);
    }

    75% {
      fill: var(--color-green-light);
    }
  }

  /* Add delay for each letter for the wave effect based on new order */
  #letter-w, #letter-w-part {
    animation-delay: 0s;
  }

  #letter-h {
    animation-delay: 0.1s;
  }

  #letter-y, #letter-y-part {
    animation-delay: 0.2s;
  }

  #letter-e {
    animation-delay: 0.3s;
  }

  #letter-dot {
    animation-delay: 0.4s;
  }


/* ============================================================
   BOOTSTRAP 5.3 OVERRIDES — Colors
   ============================================================ */

/* Primary */
.text-primary     { color: var(--color-primary) !important; }
.bg-primary       { background-color: var(--color-primary) !important; }
.border-primary   { border-color: var(--color-primary) !important; }

/* Secondary → green */
.text-secondary   { color: var(--color-green) !important; }
.bg-secondary     { background-color: var(--color-green) !important; }
.border-secondary { border-color: var(--color-green) !important; }

/* Danger → red */
.text-danger      { color: var(--color-red) !important; }
.bg-danger        { background-color: var(--color-red) !important; }
.border-danger    { border-color: var(--color-red) !important; }

/* Success → green */
.text-success     { color: var(--color-green) !important; }
.bg-success       { background-color: var(--color-green) !important; }

/* Light → beige */
.text-light       { color: var(--color-beige) !important; }
.bg-light         { background-color: var(--color-beige) !important; }

/* Dark */
.text-dark        { color: var(--color-black) !important; }
.bg-dark          { background-color: var(--color-black) !important; }

/* White */
.text-white       { color: var(--color-white) !important; }
.bg-white         { background-color: var(--color-white) !important; }


/* ============================================================
   BOOTSTRAP 5.3 OVERRIDES — Buttons
   ============================================================ */
.btn {
  font-family: var(--page-font-family);
  font-weight: 700;
  font-size: var(--font-size-xs);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.75rem;
  letter-spacing: 0.01em;
  transition: background-color var(--transition-base),
              border-color var(--transition-base),
              color var(--transition-base),
              box-shadow var(--transition-base);
  border-width: 2px;
}

.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-blue-dark);
  border-color: var(--color-blue-dark);
  color: var(--color-white);
}

.btn-secondary {
  background-color: var(--color-green);
  border-color: var(--color-green);
  color: var(--color-white);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--color-green-dark);
  border-color: var(--color-green-dark);
  color: var(--color-white);
}

.btn-danger {
  background-color: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}

.btn-danger:hover,
.btn-danger:focus {
  background-color: var(--color-red-dark);
  border-color: var(--color-red-dark);
  color: var(--color-white);
}

.btn-outline-primary {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.btn-outline-secondary {
  background-color: transparent;
  border-color: var(--color-green);
  color: var(--color-green);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  background-color: var(--color-green);
  border-color: var(--color-green);
  color: var(--color-white);
}

.btn-light {
  background-color: var(--color-beige);
  border-color: var(--color-beige);
  color: var(--color-primary);
}

.btn-light:hover,
.btn-light:focus {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-primary);
}

.btn-dark {
  background-color: var(--color-black);
  border-color: var(--color-black);
  color: var(--color-white);
}

.btn-dark:hover,
.btn-dark:focus {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.btn-sm {
  font-size: var(--font-size-xs);
  padding: 0.4rem 1.25rem;
}

.btn-lg {
  font-size: var(--font-size-sm);
  padding: 0.85rem 2.25rem;
}


/* ============================================================
   BOOTSTRAP 5.3 OVERRIDES — Navbar
   ============================================================ */
.navbar {
  font-family: var(--page-font-family);
  font-weight: 500;
  font-size: var(--font-size-xs);
}

.navbar-brand {
  font-weight: 700;
  font-size: var(--font-size-sm);
  color: var(--color-primary);
}

.navbar-light .navbar-nav .nav-link {
  color: var(--color-primary);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--color-green);
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255,0.85);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--color-green-light);
}

.navbar-bg-primary {
  background-color: var(--color-primary);
}

.navbar-bg-beige {
  background-color: var(--color-beige);
}


/* ============================================================
   BOOTSTRAP 5.3 OVERRIDES — Cards
   ============================================================ */
.card {
  background-color: var(--color-white);
  border: 1px solid rgba(1, 43, 68, 0.1);
  border-radius: var(--radius-lg);
  font-family: var(--page-font-family);
}

.card-title {
  font-weight: 700;
  font-size: var(--font-size-sm);
  color: var(--page-color);
}

.card-text {
  font-size: var(--font-size-xs);
  font-weight: var(--page-font-weight);
}

.card-beige {
  background-color: var(--color-beige);
  border-color: transparent;
}

.card-dark {
  background-color: var(--color-primary);
  border-color: transparent;
  color: var(--color-white);
}

.card-dark .card-title,
.card-dark .card-text {
  color: var(--color-white);
}


/* ============================================================
   BOOTSTRAP 5.3 OVERRIDES — Forms
   ============================================================ */
.form-control,
.form-select {
  font-family: var(--page-font-family);
  font-size: var(--font-size-xs);
  font-weight: 400;
  color: var(--color-primary);
  background-color: var(--color-white);
  border: 2px solid rgba(1, 43, 68, 0.2);
  border-radius: var(--radius-md);
  padding: 0.6rem 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(37, 132, 69, 0.15);
  outline: none;
}

.form-control::placeholder {
  color: rgba(1, 43, 68, 0.4);
  font-weight: 300;
}

.form-label {
  font-family: var(--page-font-family);
  font-weight: 700;
  font-size: var(--font-size-xs);
  color: var(--page-color);
  margin-bottom: 0.4rem;
}

.form-text {
  font-size: 14px;
  color: rgba(1, 43, 68, 0.55);
}

.invalid-feedback {
  font-size: 14px;
  color: var(--color-red);
}

.valid-feedback {
  font-size: 14px;
  color: var(--color-green);
}

.form-check-input:checked {
  background-color: var(--color-green);
  border-color: var(--color-green);
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(37, 132, 69, 0.15);
}


/* ============================================================
   BOOTSTRAP 5.3 OVERRIDES — Badges
   ============================================================ */
.badge {
  font-family: var(--page-font-family);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  padding: 0.35em 0.8em;
}

.badge.bg-primary   { background-color: var(--color-primary) !important; }
.badge.bg-secondary { background-color: var(--color-green) !important; }
.badge.bg-danger    { background-color: var(--color-red) !important; }
.badge.bg-pink      { background-color: var(--color-pink) !important; color: var(--color-white); }
.badge.bg-pink-light    { background-color: var(--color-pink-light) !important; color: var(--color-primary); }
.badge.bg-green-light   { background-color: var(--color-green-light) !important; color: var(--color-primary); }
.badge.bg-yellow-light  { background-color: var(--color-yellow-light) !important; color: var(--color-primary); }


/* ============================================================
   BOOTSTRAP 5.3 OVERRIDES — Alerts
   ============================================================ */
.alert {
  font-family: var(--page-font-family);
  font-size: var(--font-size-xs);
  border-radius: var(--radius-md);
  border-width: 0;
  border-left: 4px solid transparent;
}

.alert-primary {
  background-color: rgba(1, 43, 68, 0.08);
  border-left-color: var(--color-primary);
  color: var(--color-primary);
}

.alert-success {
  background-color: rgba(37, 132, 69, 0.1);
  border-left-color: var(--color-green);
  color: var(--color-green-dark);
}

.alert-danger {
  background-color: rgba(100, 19, 19, 0.1);
  border-left-color: var(--color-red);
  color: var(--color-red);
}

.alert-warning {
  background-color: rgba(252, 231, 126, 0.4);
  border-left-color: #e0c000;
  color: var(--color-black);
}

.alert-info {
  background-color: rgba(127, 251, 174, 0.25);
  border-left-color: var(--color-green-light);
  color: var(--color-primary);
}


/* ============================================================
   BOOTSTRAP 5.3 OVERRIDES — Tables
   ============================================================ */
.table {
  font-family: var(--page-font-family);
  font-size: var(--font-size-xs);
  color: var(--page-color);
}

.table thead th {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--color-primary);
  color: var(--page-color);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: rgba(1, 43, 68, 0.03);
}

.table-hover > tbody > tr:hover > * {
  background-color: rgba(1, 43, 68, 0.06);
}


/* ============================================================
   BOOTSTRAP 5.3 OVERRIDES — Modals
   ============================================================ */
.modal-content {
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: 0 20px 60px rgba(1, 43, 68, 0.15);
  font-family: var(--page-font-family);
}

.modal-header {
  border-bottom: 1px solid rgba(1, 43, 68, 0.1);
  padding: 1.5rem 2rem;
}

.modal-title {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--page-color);
}

.modal-body {
  padding: 2rem;
  font-size: var(--font-size-xs);
}

.modal-footer {
  border-top: 1px solid rgba(1, 43, 68, 0.1);
  padding: 1.25rem 2rem;
}

.modal-backdrop.show {
  opacity: 0.4;
}


/* ============================================================
   UTILITY CLASSES
   ============================================================ */

/* Background colors */
.bg-beige        { background-color: var(--color-beige); }
.bg-blue-dark    { background-color: var(--color-blue-dark); }
.bg-green-dark   { background-color: var(--color-green-dark); }
.bg-red-dark     { background-color: var(--color-red-dark); }
.bg-pink         { background-color: var(--color-pink); }
.bg-pink-light   { background-color: var(--color-pink-light); }
.bg-green-light  { background-color: var(--color-green-light); }
.bg-yellow-light { background-color: var(--color-yellow-light); }

/* Text colors */
.text-green       { color: var(--color-green); }
.text-red         { color: var(--color-red); }
.text-pink        { color: var(--color-pink); }
.text-beige       { color: var(--color-beige); }
.text-blue-dark   { color: var(--color-blue-dark); }
.text-green-dark  { color: var(--color-green-dark); }

/* Spacing helpers (on top of Bootstrap's) */
.section-padding    { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }
.section-padding-md { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.section-padding-sm { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }

/* Dividers */
.divider {
  border: none;
  border-top: 1px solid rgba(1, 43, 68, 0.12);
  margin: var(--spacing-md) 0;
}

.divider-bold {
  border-top: 2px solid var(--color-primary);
}

/* Eyebrow label */
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 0.75rem;
  display: block;
}

/* Pill tag */
.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 0.25em 0.85em;
  background-color: var(--color-beige);
  color: var(--color-primary);
  border: 1px solid rgba(1, 43, 68, 0.15);
}


/* ============================================================
   RESPONSIVE TYPOGRAPHY
   ============================================================ */
@media (max-width: 1199.98px) {
  :root {
    --h1-font-size: 60px;
    --h2-font-size: 52px;
    --h3-font-size: 38px;
    --page-font-size: var(--font-size-sm);
  }
}

@media (max-width: 991.98px) {
  :root {
    --h1-font-size: 48px;
    --h2-font-size: 42px;
    --h3-font-size: 32px;
  }
}

@media (max-width: 767.98px) {
  :root {
    --h1-font-size: 38px;
    --h2-font-size: 32px;
    --h3-font-size: 26px;
    --page-font-size: var(--font-size-xs);
  }
}

@media (max-width: 575.98px) {
  :root {
    --h1-font-size: 30px;
    --h2-font-size: 26px;
    --h3-font-size: 22px;
  }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* ============================================================
   The style
   ============================================================ */






