/* Shared: header, footer, layout, typography */
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --font-heading: "Bitter", serif;
  --font-body: "Raleway", sans-serif;
  --color-text: #101518;
  --color-text-muted: #5a6268;
  --color-accent: #b56c00;
  --color-accent-hover: #1e89dd;
  --color-bg: #e9f5fe;
  --color-bg-nav: #e9f5fe;
  --color-btn: #125386;
  --color-white: #fff;
  --max-width: 1280px;
  --section-padding: clamp(2.5rem, 5vw, 4.5rem);
  --container-padding: clamp(1rem, 4vw, 5rem);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(0.75rem, 2vw, 1rem) var(--container-padding);
  background-color: var(--color-bg-nav);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.logo {
  display: block;
  width: clamp(48px, 8vw, 64px);
  height: clamp(48px, 8vw, 64px);
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.navLinks {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.navLinks a {
  text-decoration: none;
  padding: 0.5rem clamp(0.5rem, 1.5vw, 1rem);
  font-size: clamp(0.9rem, 1.2vw, 1.125rem);
  font-weight: 400;
  color: var(--color-text);
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.navLinks a:hover {
  color: var(--color-accent-hover);
  transform: translateY(-1px);
}

.navLinks .activeLink {
  color: var(--color-accent) !important;
  font-weight: 700 !important;
}

.navToggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}

.navToggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.header.navOpen .navToggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header.navOpen .navToggle span:nth-child(2) {
  opacity: 0;
}

.header.navOpen .navToggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .header {
    flex-wrap: wrap;
  }
  .navToggle {
    display: flex;
  }
  .navLinks {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 1rem 0;
    order: 3;
  }
  .header.navOpen .navLinks {
    display: flex;
  }
}

/* Page section & heading */
.page-section {
  padding: var(--section-padding) var(--container-padding);
  width: 100%;
  margin: 0 auto;
  z-index: -1;
}
.page-section img {
  width: 40%;
}
.page-section-content-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* Tablet */
@media (max-width: 900px) {
  .page-section img {
    width: 70%;
  }
  .page-section-content-container {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .page-section-content-container {
    flex-direction: column;
    text-align: center;
  }

  .page-section img {
    width: 100%;
  }
}
.section-head {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head h1,
.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.line {
  width: clamp(80px, 12vw, 159px);
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), #e69500);
  border-radius: 4px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: clamp(0.5rem, 1vw, 0.65rem) clamp(1.5rem, 3vw, 2.5rem);
  background-color: var(--color-btn);
  border-radius: 8px;
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  border: none;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(18, 83, 134, 0.4);
  background: #0d4269;
}

/* Footer */
.footer {
  background: var(--color-btn);
  color: var(--color-white);
  padding: clamp(2rem, 4vw, 3rem) var(--container-padding)
    clamp(1.5rem, 3vw, 2rem);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer-brand h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: clamp(0.85rem, 1vw, 0.9375rem);
  opacity: 0.9;
  max-width: 480px;
  margin: 0 auto 0.5rem;
  line-height: 1.5;
}

.footer-contact {
  font-weight: 600;
  margin-top: 0.5rem !important;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin: clamp(1.25rem, 2.5vw, 1.75rem) 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-nav a {
  color: var(--color-white);
  text-decoration: none;
  font-size: clamp(0.875rem, 1vw, 1rem);
  opacity: 0.9;
  transition:
    opacity 0.2s ease,
    color 0.2s ease;
}

.footer-nav a:hover {
  opacity: 1;
  color: #f0b84d;
}

.footer-bottom {
  font-size: 0.8125rem;
  opacity: 0.8;
}

.footer-credit {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  opacity: 0.7;
}

.blink {
  color: var(--color-white);
  text-decoration: none;
}

/* Scroll-in animations (shared across pages) */
.scroll-animate {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-animate.scroll-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate[data-delay="0"].scroll-visible {
  transition-delay: 0ms;
}
.scroll-animate[data-delay="1"].scroll-visible {
  transition-delay: 70ms;
}
.scroll-animate[data-delay="2"].scroll-visible {
  transition-delay: 140ms;
}
.scroll-animate[data-delay="3"].scroll-visible {
  transition-delay: 210ms;
}
.scroll-animate[data-delay="4"].scroll-visible {
  transition-delay: 280ms;
}
.scroll-animate[data-delay="5"].scroll-visible {
  transition-delay: 350ms;
}
