:root {
  --navy-deep: #0f2d4a;
  --navy-medium: #15385a;
  --navy-muted: #4a6f96;
  --gold-light: #d4b97a;
  --gold-deep: #b59a5b;
  --white: #ffffff;
  --black: #000000;
  --dark-grey: #111111;
}

body {
  margin: 0;
  background-color: var(--navy-deep);
  color: var(--white);
  font-family: "Futura", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  min-height: 100vh;
}

header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.logo {
  max-width: 260px;
  width: 100%;
  height: auto;
}

.hero {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.hero-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

.parallax-fade-section {
  position: relative;
  height: 350vh;
  width: 100%;
  background-color: var(--navy-deep);
  overflow: visible;
}

.parallax-fade-container {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.parallax-fade-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  will-change: opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  transition: opacity 0.12s linear;
}

.parallax-fade-image:first-child {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .parallax-fade-image {
    transition: none;
  }
}

.parallax-fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 6rem 2rem 3rem;
  background: linear-gradient(to top, rgba(15, 45, 74, 0.9), rgba(15, 45, 74, 0.2) 60%, transparent);
  z-index: 10;
  color: var(--white);
}

.parallax-fade-overlay p {
  max-width: 520px;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .parallax-fade-section {
    height: 300vh;
  }

  .parallax-fade-overlay {
    padding: 5rem 1.5rem 2.5rem;
  }

  .parallax-fade-overlay .section-title {
    font-size: 1.8rem;
  }
}

.progression-card {
  padding: 0.5rem 0;
}

.progression-number {
  font-size: 0.8rem;
  color: var(--gold-light);
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

.progression-term {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.progression-term span {
  color: var(--gold-light);
}

.progression-label {
  font-size: 0.9rem;
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.25rem;
}

.progression-desc {
  font-size: 0.95rem;
  color: var(--white);
  opacity: 0.9;
}

.eyebrow {
  letter-spacing: 0.25rem;
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 600;
  text-transform: uppercase;
}

.contact-hero {
  margin-top: 3rem;
}

.contact-panel {
  position: relative;
  min-height: 200px;
  background-image: url("../img/Contact%20Hero%20Background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 2rem;
  overflow: hidden;
  color: var(--white);
  border-radius: 1.5rem;
}

.contact-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  flex: 1 1 400px;
}

.contact-panel h3 {
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  margin-bottom: 1rem;
  color: var(--white);
}

.contact-panel .eyebrow {
  color: var(--white);
}

.contact-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  z-index: 1;
  width: 130px;
  height: auto;
  transition: all 0.3s ease;
  border: none;
  background: transparent;
}

.contact-button:hover {
  transform: scale(1.05);
}

.contact-button-image {
  display: block;
  width: 100%;
  height: auto;
}

.contact-button-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  font-size: 0.85rem;
  letter-spacing: 0.15rem;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.bg-navy-light {
  background-color: var(--navy-medium);
}

.gold-text {
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.05rem;
}

.section-divider {
  height: 1px;
  width: 100%;
  max-width: 120px;
  background-color: var(--gold-light);
  margin: 0;
  opacity: 0.4;
}

.concept-section {
  background-image: linear-gradient(rgba(15, 45, 74, 0.94), rgba(15, 45, 74, 0.94)), url("../img/sumner-mahaffey-7Y0NshQLohk-unsplash.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.concept-section, .idea-section {
  line-height: 1.7;
}

.content-block {
  max-width: 800px;
}

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 400;
  color: var(--white);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
}

.concept-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--white);
}

.concept-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold-light);
}

.final-statement {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 500;
  color: var(--white);
  border-left: 3px solid var(--gold-deep);
  padding-left: 1.5rem;
  margin-top: 3rem;
}

/* ── Qafila Banner ── */
.qafila-banner {
  background-color: var(--navy-medium);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.qafila-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.qafila-banner-text {
  flex: 1 1 340px;
}

.qafila-banner-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.05rem;
}

.qafila-banner-desc {
  max-width: 520px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}

.qafila-banner-link {
  display: inline-block;
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold-deep);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.qafila-banner-link:hover {
  color: var(--white);
  border-color: var(--white);
}

.qafila-banner-logo-wrap {
  flex: 0 0 auto;
}

.qafila-banner-logo {
  max-width: 220px;
  width: 100%;
  height: auto;
  opacity: 0.9;
  display: block;
  transition: opacity 0.3s ease;
}

.qafila-banner-logo:hover {
  opacity: 1;
}

@media (max-width: 767px) {
  .qafila-banner-logo {
    max-width: 160px;
  }
}

/* ── Footer ── */
footer {
  background-color: var(--dark-grey);
}

.footer-logo {
  max-width: 140px;
  width: 100%;
  height: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
}

.footer-icon {
  max-width: 80px;
  width: 100%;
  height: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-icon:hover {
  opacity: 1;
}

.footer-divider {
  height: 1px;
  width: 60px;
  background-color: rgba(255, 255, 255, 0.15);
  margin: 0 auto;
}

.footer-partner-label {
  font-size: 0.75rem;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  color: var(--navy-muted);
}

.footer-qafila-link {
  display: inline-block;
  transition: opacity 0.3s ease;
  opacity: 0.75;
}

.footer-qafila-link:hover {
  opacity: 1;
}

.footer-qafila-logo {
  max-width: 100px;
  width: 100%;
  height: auto;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--navy-muted);
  letter-spacing: 0.05rem;
}

.border-white-15 {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

@media (max-width: 991px) {
  .concept-section, .idea-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .final-statement {
    font-size: 1.25rem;
    margin-top: 2rem;
  }

  .contact-panel {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    min-height: 320px;
    padding: 6rem 1.5rem 2.5rem;
    background-position: center;
    justify-content: flex-start;
    gap: 1.25rem;
  }

  .contact-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
    line-height: 1.2;
    max-width: 260px;
  }

  .eyebrow {
    margin-bottom: 0.25rem !important;
    font-size: 0.8rem;
    letter-spacing: 0.2rem;
  }

  .contact-content {
    padding: 0 !important;
    width: 100%;
    flex: 0 1 auto;
  }

  .contact-button {
    margin-top: 0.5rem;
    box-shadow: none;
    align-self: flex-start;
    width: 120px;
  }

  .contact-button-image {
    width: 120px;
  }
}

@media (max-width: 576px) {
  .contact-button-text {
    font-size: 0.75rem;
    letter-spacing: 0.1rem;
  }
}
