/* ============================================================
   BASE RESET & GLOBAL STYLES
   ============================================================ */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background: #f5f7fb;
}

a {
  text-decoration: none;
  color: inherit;
}



/* ============================================================
   HEADER (MATCHES INDEX PAGE)
   ============================================================ */

header {
  background: #07152f;
  color: #ffffff;
  padding: 1rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-image img {
  width: 250px;
  height: 60px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.7);
}

nav a {
  margin-left: 1.5rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

nav a:hover {
  color: #ffffff;
  font-weight: 600;
}



/* ============================================================
   HERO SECTION (MATCHES INDEX PAGE)
   ============================================================ */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  padding: 4rem 4rem 3rem;
  background: radial-gradient(circle at top left, #1f4f8b 0, #07152f 45%, #020617 100%);
  color: #ffffff;
}

.hero-text h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.02rem;
  max-width: 620px;
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.badge {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.3);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.hero-image img {
  width: 100%;
  border-radius: 1.25rem;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.5);
}

/* ============================================================
   SECTION BASE STYLES
   ============================================================ */

.section {
  padding: 2rem 4rem;
  background: #f5f7fb;
}

.section.alt,
.section.alt1 {
  background: #ffffff;
}

.section-header {
  margin-bottom: 2rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.4rem;
  margin-top: 2rem;
}

.section-title {
  font-size: 1.8rem;
  margin: 0;
}

.section-subtitle {
  font-size: 0.98rem;
  color: #4b5563;
  max-width: 640px;
}



/* ============================================================
   CENTER IMAGES (CLEAN + RESPONSIVE)
   ============================================================ */

.center-image img,
.center-image2 img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.9);
}

.center-image img {
  margin-top: 4rem;
  opacity: 80%;
}

.center-image2 img {
  margin-top: 2rem;
}

/* FIXED: Prevent overflow on mobile */
.center-img3 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.center-img3 img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.9);
}



/* ============================================================
   3‑COLUMN CARDS
   ============================================================ */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.75rem;
}

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.card p {
  font-size: 0.9rem;
  color: #4b5563;
}

.tag {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #6b7280;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}



/* ============================================================
   TWO‑COLUMN LAYOUT
   ============================================================ */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.list {
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: #4b5563;
}

.list li {
  margin-bottom: 0.4rem;
}



/* ============================================================
   PARTNERS GRID
   ============================================================ */

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.partner-card {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  font-size: 0.9rem;
}

.partner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.partner-country {
  font-weight: 600;
}

.partner-flag {
  font-size: 1.1rem;
}

.partner-meta {
  font-size: 0.78rem;
  color: #6b7280;
  margin-bottom: 0.3rem;
}

.partner-card a {
  color: #6b7280;
  font-size: 0.82rem;
}

/* ============================================================
   FOOTER (MATCHES INDEX PAGE)
   ============================================================ */

.site-footer {
  background: #020617;
  padding: 1.5rem 2rem;
  color: #9ca3af;
  font-size: 0.8rem;
}

.section-up {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.4rem;
}

.logo-footer img {
  width: 160px;
  height: 40px;
}

.footer-menu {
  text-align: right;
  margin-bottom: 0.5rem;
}

.footer-menu a {
  color: #e5e7eb;
  margin-left: 1.2rem;
  font-size: 0.8rem;
}

.footer-menu a:hover {
  color: #ffffff;
  font-size: 0.9rem;
}

.policy-own a {
  color: #e5e7eb;
  margin-left: 1.2rem;
  font-size: 0.6rem;
}

.policy-own a:hover {
  color: #ffffff;
  font-size: 0.7rem;
}

.footer-bottom {
  text-align: left;
  line-height: 1.5;
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-copy {
  font-size: 0.75rem;
}

.footer-subtext {
  font-size: 0.72rem;
  text-align: right;
  opacity: 0.7;
}



/* ============================================================
   COOKIE POPUP (BOTTOM OF FILE)
   ============================================================ */

.cookie-popup {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #1b263b;
  color: #fff;
  padding: 15px;
  text-align: center;
  display: none;
  z-index: 9999;
  font-size: 0.85rem;
}

.cookie-popup a {
  color: #38bdf8;
  text-decoration: underline;
}

.cookie-popup button {
  background: #38bdf8;
  border: none;
  padding: 8px 15px;
  color: #fff;
  cursor: pointer;
  margin-left: 10px;
  border-radius: 6px;
}



/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */


/* ------------------------------
   LARGE DESKTOP (1440px+)
   ------------------------------ */
@media (min-width: 1440px) {
  .section {
    max-width: 1400px;
    margin: 0 auto;
  }

  .two-column {
    grid-template-columns: 1.4fr 1fr;
  }

  .hero-text h1 {
    font-size: 2.6rem;
  }
}



/* ------------------------------
   DESKTOP (≤1200px)
   ------------------------------ */
@media (max-width: 1200px) {
  header {
    padding: 1rem 2rem;
  }

  .two-column {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .section {
    padding: 2rem 2rem;
  }
}



/* ------------------------------
   DESKTOP MID‑RANGE (1024px – 1439px)
   ------------------------------ */
@media (min-width: 1024px) and (max-width: 1439px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }

  .section {
    padding: 2rem 2.5rem;
  }

  .two-column {
    gap: 2rem;
  }
}



/* ------------------------------
   TABLET (≤1023px)
   ------------------------------ */
@media (max-width: 1023px) {

  header {
    flex-direction: column;
    text-align: center;
    padding: 1rem 1.5rem;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2.5rem 1.5rem;
  }

  .hero-text p {
    max-width: 100%;
    text-align: center;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section {
    padding: 2rem 1.5rem;
  }

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

  .section-up {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-menu {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}



/* ------------------------------
   MOBILE (≤767px)
   ------------------------------ */
@media (max-width: 767px) {

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  nav a {
    margin: 0 !important;
    padding: 0.4rem 0.6rem;
  }

  .section-title {
    font-size: 1.5rem;
    text-align: center;
  }

  .section-subtitle {
    text-align: center;
    font-size: 0.95rem;
  }

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

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

  .section-up {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
  }

  .footer-menu a {
    margin: 0 !important;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}



/* ------------------------------
   SMALL MOBILE (≤424px)
   ------------------------------ */
@media (max-width: 424px) {

  header img {
    width: 180px;
    height: auto;
  }

  .section {
    padding: 1.5rem 1rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  .card {
    padding: 1rem;
  }

  .partner-card {
    padding: 1rem;
  }

  .footer-copy {
    font-size: 0.7rem;
  }

  .footer-subtext {
    font-size: 0.68rem;
  }
}



/* ------------------------------
   TOUCH DEVICES
   ------------------------------ */
@media (hover: none) and (pointer: coarse) {

  a,
  button {
    padding: 0.6rem 1rem;
  }

  .card,
  .partner-card {
    border-radius: 1rem;
  }

  input,
  textarea {
    font-size: 1rem;
  }
}
