/* ---- CSS Variables ----- */
:root {
  --primary: #039bbc;
  --primary-color: var(--primary);
  --secondary: #0070f3;
  --text-color: #000;
  --bg: #fff;
    --header-height: 100px;
}

/* ---- Basic Reset ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,body{
height:100%;
}

/* ---------- Basic Image Save Deterrent (Mobile & Desktop) ---------- */
img {
  -webkit-touch-callout: none; /* Disable iOS image save menu */
  -webkit-user-drag: none;     /* Disable image dragging */
  -khtml-user-drag: none;
  user-select: none;
  pointer-events: auto;
}

/* --- Poppins ------ */
@font-face {
  font-family: "Poppins";
  font-weight: 100;
  font-style: normal;
  src: url("../fonts/Poppins/Poppins-Thin.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 200;
  font-style: normal;
  src: url("../fonts/Poppins/Poppins-ExtraLight.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 300;
  font-style: normal;
  src: url("../fonts/Poppins/Poppins-Light.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 400;
  font-style: normal;
  src: url("../fonts/Poppins/Poppins-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 500;
  font-style: normal;
  src: url("../fonts/Poppins/Poppins-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 600;
  font-style: normal;
  src: url("../fonts/Poppins/Poppins-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 700;
  font-style: normal;
  src: url("../fonts/Poppins/Poppins-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 800;
  font-style: normal;
  src: url("../fonts/Poppins/Poppins-ExtraBold.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 900;
  font-style: normal;
  src: url("../fonts/Poppins/Poppins-Black.ttf") format("truetype");
}

/* Italics */
@font-face {
  font-family: "Poppins";
  font-weight: 100;
  font-style: italic;
  src: url("../fonts/Poppins/Poppins-ThinItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 200;
  font-style: italic;
  src: url("../fonts/Poppins/Poppins-ExtraLightItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 300;
  font-style: italic;
  src: url("../fonts/Poppins/Poppins-LightItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 400;
  font-style: italic;
  src: url("../fonts/Poppins/Poppins-Italic.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 500;
  font-style: italic;
  src: url("../fonts/Poppins/Poppins-MediumItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 600;
  font-style: italic;
  src: url("../fonts/Poppins/Poppins-SemiBoldItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 700;
  font-style: italic;
  src: url("../fonts/Poppins/Poppins-BoldItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 800;
  font-style: italic;
  src: url("../fonts/Poppins/Poppins-ExtraBoldItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Poppins";
  font-weight: 900;
  font-style: italic;
  src: url("../fonts/Poppins/Poppins-BlackItalic.ttf") format("truetype");
}

/* ------ Tajawal ------ */
@font-face {
  font-family: "Tajawal";
  font-weight: 200;
  font-style: normal;
  src: url("../fonts/Tajawal/Tajawal-ExtraLight.ttf") format("truetype");
}
@font-face {
  font-family: "Tajawal";
  font-weight: 300;
  font-style: normal;
  src: url("../fonts/Tajawal/Tajawal-Light.ttf") format("truetype");
}
@font-face {
  font-family: "Tajawal";
  font-weight: 400;
  font-style: normal;
  src: url("../fonts/Tajawal/Tajawal-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Tajawal";
  font-weight: 500;
  font-style: normal;
  src: url("../fonts/Tajawal/Tajawal-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Tajawal";
  font-weight: 700;
  font-style: normal;
  src: url("../fonts/Tajawal/Tajawal-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Tajawal";
  font-weight: 800;
  font-style: normal;
  src: url("../fonts/Tajawal/Tajawal-ExtraBold.ttf") format("truetype");
}
@font-face {
  font-family: "Tajawal";
  font-weight: 900;
  font-style: normal;
  src: url("../fonts/Tajawal/Tajawal-Black.ttf") format("truetype");
}

/* ------ Language-based font switching ------ */
html:lang(en) {
  font-family: "Poppins", sans-serif;
}

html:lang(ar) {
  font-family: "Tajawal", sans-serif;
}

/* Arabic font */
.arabic-font {
  font-family: "Tajawal", sans-serif;
  direction: rtl;
  text-align: right;
}

/* --- Global Typography & Body ---- */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text-color);
  line-height: 1.4;
  margin: 0;
}

/* --- Links & Buttons (Shared) ------ */
a {
  text-decoration: none;
  color: var(--primary);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--secondary);
}

button {
  cursor: pointer;
  transition: all 0.3s ease;
}

/*
button:focus, input:focus, select:focus, textarea:focus {
  outline: none;
}
*/

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

figcaption {
  font-size: 14px;
}
/* -- Headings ------------ */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}

/* Font sizes based on typical scale (1.25 ratio) */
h1 {
  font-size: clamp(2.5rem, 6vw, 3rem);  /* 32–40px */
}

h2 {
  font-size: clamp(1.75rem, 5vw, 2rem);  /* 28–32px */
}

h3 {
  font-size: clamp(1.5rem, 4vw, 1.75rem);  /* 24–28px */
}

h4 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);  /* 20–24px */
}

h5 {
  font-size: clamp(1.125rem, 2vw, 1.25rem);  /* 18–20px */
}

h6 {
  font-size: clamp(1rem, 1.5vw, 1.125rem);  /* 16–18px */
}

p {
  font-size: 1rem;
  margin: 1em 0;
}

/* ------ Section & Container Helpers ------- */
section {
  padding: 2em 2em;
  max-width: 1200px;
  margin: auto;
    scroll-margin-top: var(--header-height); /* For anchor links and fixed header */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section h2{
  position:relative;
  margin-bottom:1rem;
      font-size: 2em;
      color: var(--primary);
    }


/* ---- Grid & Flex Utilities --------- */
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2em;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap:2em; 
}

@media (max-width: 768px) {
  .grid-2 {
    display: flex;
    flex-direction: column;
  }
    .grid-3 {
    display: flex;
    flex-direction: column;
    }
}

/* ======== ABOUT homepage ========== */
  #about .aboutCard {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

#about .aboutImage {
  flex: 0 0 35%;
}

#about .aboutImage img,
#about .cardImgAbout {
  width: 100%;
  height: auto;
  max-height: none;
  display: block;
  border-radius: 10px;
  object-fit: contain;
    margin-bottom: 10px;
}

#about .aboutContent {
  flex: 1;
}
/* --- ABOUT homepage TABLET */
@media (max-width: 900px) {
  #about .aboutCard {
    flex-direction: column;
  }
}

/* --- ABOUT homepage MOBILE */
@media (max-width: 768px) {
  #about .aboutCard {
    flex-direction: column;
  }

  #about .aboutImage {
    width: 100%;
    flex: none;
  }
}
@media (max-width: 768px) {

  #about .aboutCard {
    flex-direction: column;
    gap: 1.5rem;
  }

  #about .aboutImage {
    width: 100%;
    flex: none;
    text-align: center;
  }

  #about .aboutImage img,
  #about .cardImgAbout {
    width: 100%;
    max-width: 450px;
    margin: 0 auto 10px;
  }

  #about .aboutContent {
    width: 100%;
  }

  #about h2,
  #about h3 {
    text-align: center;
  }

  #about figcaption {
    text-align: center;
  }
}

/* ----- Cards (shared style: ABOUT) --------- */
/*
.card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 1.5em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.card img,
.cardImgAbout {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 0 1rem;
}

.card h3 {
  margin: 0 0 1rem;
}

.card p {
  margin: 0 0 1rem;
  line-height: 1.7;
}

.card p:last-child {
  margin-bottom: 0;
}

.card a {
  font-weight: 600;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

*/

/* ================= HEADER ================= */
.header {
background: var(--bg);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
position: sticky !important;
top: 0 !important;
  border-bottom: 4px solid #039bbc;
z-index: 2000;
}

.header-container-inner {
display: flex;
justify-content: space-between;
align-items: center;
}

/* Desktop nav */
.nav {
display: flex;
gap: 1.5em;
}

.nav a {
font-size: 1em;
font-weight: 500;
color: var(--text-color);
transition: color 0.3s ease;
}

.nav a:hover {
color: var(--primary);
}

.header-container {
display: flex;
justify-content: space-between;
align-items: center;
height: var(--header-height);
padding: 0 2rem;
max-width: 1200px;
margin: 0 auto;
}

.logo img {
height: 80px;
display: block;
}

.nav-links {
display:flex;
align-items:center;
gap:1.5rem;
}

.nav-links a {
  display:flex;
  align-items:center;
  line-height:1;
font-size: 1em;
font-weight: 600;
color: var(--text-color);
transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a:active,
.nav-links a.active {
  color: var(--primary);
}



.nav-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    transition: all .3s ease;
      display: flex;
      align-items: center;
}

.nav-cta:hover {
    background: var(--secondary);
    color: #fff !important;
}

.nav-cta.active {
    color: #fff !important;
}


/* Hamburger */
.hamburger {
display: none;
flex-direction: column;
justify-content: space-between;
width: 25px;
height: 20px;
cursor: pointer;
z-index: 2200;
}

.bar {
height: 3px;
width: 100%;
background-color: #333;
transition: all 0.3s;
transform-origin:center;
}

    /* Hamburger animation */
    .bar.open:nth-child(1) {
      transform: rotate(-45deg) translate(6px, 3px);
      background-color: #0070f3;
    }

    .bar.open:nth-child(2) {
      opacity: 0;
      background-color: #0070f3;
    }

    .bar.open:nth-child(3) {
      transform: rotate(45deg) translate(-8px, -19px);
      background-color: #0070f3;
    }

/* --------- Mobile Styles ---------- */
        @media (max-width: 768px) {
          /* Header flex layout: logo left, hamburger right */
   .header-container {
  padding: 0 1rem;
}            
          .hamburger {
            display: flex;
          }

          .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.3);
        z-index: 1500;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
        }

                  .menu-overlay.active {
        opacity: 1;
        visibility: visible;
        }

          .nav-links {   /* Slide animation for mobile nav */
          position: fixed;
          top: 0;
          right: 0;
          height: 100vh;
          width: 60%;
          max-width: 300px;
          background: #fff;
          flex-direction: column;
          transform: translateX(100%);
          transition: transform 0.3s ease-in-out;
          padding-top: 2rem;
          overflow-y: auto;
          box-shadow: -2px 0 8px rgba(0,0,0,0.1);
          z-index: 2100;
            font-size: larger;
        }

         .nav-links.active {
          transform: translateX(0);
        }

          .nav-links a {
            padding: 0.5rem 2rem;
            border-bottom: 1px solid #eee;
          }
          .nav-cta {
          text-align: center;
          }
          /* Arabic (RTL) */
html[dir="rtl"] .nav-links {
right: auto;
left: 0;
transform: translateX(-100%);
}

html[dir="rtl"] .nav-links.active {
transform: translateX(0);
}

                    } /* end mobile nav */


              .nav-goal {
                  font-size: .8rem;
                  font-weight: 600;
                  color: var(--primary);
                  white-space: nowrap;
              }

/* ------- Responsive ---------------------------- */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }
}


/* --- Footer -------------- */
footer {
  margin-top: auto;
  background: #f1f1f1;
  /*padding: 2em 2em 0;*/
  text-align: center;
  font-size: 0.95em;
  color: #333;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}

/* TOP CONTENT WRAPPER */
.footer-top{
  display:flex;
  flex-direction:column;
  gap:1.2em;
}

/* TAGLINE */
.follow-text {
  margin-top: 0.8em;
  font-size: 1.05em;
  color: var(--text-color);
}

.follow-text span {
  color: var(--secondary);
}

/* SOCIAL ICONS */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5em;
  font-size: 1.3rem;
  margin: 0.2em 0 1em;
}

.social-icons a {
  color: var(--primary);
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--secondary);
}

/* FOOTER NAV LINKS (ONE ROW MOBILE SCROLL SAFE) */
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.9rem 1.2rem;
  margin-bottom: 0.5em;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.footer-links::-webkit-scrollbar {
  display: none;
}

.footer-links a {
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
  flex: 0 0 auto;
}

.footer-links a:hover {
  color: var(--primary);
}

/* JOIN BUTTON SEPARATE ROW */
.footer-join {
  margin-top: 0.2em;
}

.footer-join .join-btn {
  display: inline-block;
  padding: 0.8em 1.3em;
  background: var(--primary);
  color: #fff;
  border-radius: 18px;
  font-weight: 600;
}

/* BOTTOM BAR */
.footer-bottom {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 1em 1.5em;
  font-size: 0.85em;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4em;
}

/* PRIVACY + TERMS ROW */
.footer-bottom-links {
  display: flex;
  gap: 1em;
}

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: var(--secondary);
}

/* MOBILE */
@media (max-width: 768px) {
  .social-icons {
    font-size: 1.5rem;
  }

  .footer-links {
    gap: 0.5rem;
  }
}
/* -------------------------------
   Newsletter inputs/buttons
-------------------------------- */
/*
.newsletter input {
  padding: 0.6em;
  margin: 0.5em;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.newsletter button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.6em 1em;
  border-radius: 6px;
}
*/

/* -------------------------------
   Spacers
-------------------------------- */
.spacer {
  height: 2em;
}

/* -------------------------------
   Responsive Helpers
-------------------------------- */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  section {
    padding: 2em 1.2em;
  }
}



/* ==================================================
   HOMEPAGE V1
   ================================================== */

/* ---------- Shared ---------- */
/*

.text-center{
  text-align:center;
}
*/

.btn,
.ctaButtons a,
.joinCta a {
  display:inline-block;
  background:var(--primary);
  color:#fff;
  padding:.9rem 1.6rem;
  border-radius:999px;
  font-weight:600;
  transition:.25s ease;
}

.btn:hover,
.ctaButtons a:hover,
.joinCta a:hover{
  background:var(--secondary);
  color:#fff;
  transform:translateY(-2px);
}

/* ---------- Homepage Hero ---------- */
/* ----- Hero Section ----- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('../images/hero1.jpg');
  background-size: cover;
  background-position: center 10%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
  pointer-events: none;
}

.heroContent {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  padding: 0 2em 6em;
    width: 100%;
}

.heroContent h1,
.bannerContent h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
  color: #fff;
  font-weight: bold;
}

.heroContent p,
.bannerContent p {
  font-size: 1.2em;
  margin-bottom: 1.5em;
  color: #ddd;
}

.ctaButtons a {
  display: inline-block;
  background-color: #039bbc;
  color: white;
  padding: 0.75em 1.5em;
  margin: 0.5em;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.ctaButtons a:hover {
  background-color: #027c99;
}

.heroSubLink{
  margin-top:1.5rem;
}

.heroSubLink a{
  color:#fff;
  opacity:.85;
  text-decoration:underline;
}

.heroSubLink a:hover{
  opacity:1;
}

/* --- HERO HOMEPAGE MOBILE --- */
@media (max-width: 768px) {

  .hero {
    height: 70vh;
    min-height: 500px;
    max-height: 700px;

    padding: 0;
    background-position: 30% center;
    overflow: hidden;
  }

  .heroContent {
    max-width: 92%;
    width: 100%;

    padding: 0 1rem;
    /* ensure true vertical centering */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .heroContent h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .heroContent p {
    font-size: 1rem;
    line-height: 1.5;
  }

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

  .ctaButtons a {
    padding: 0.65em 1.2em;
    font-size: 0.95rem;
  }
}


/* ---------- Homepage + Partners Stats ---------- */
.statsSection{
  padding:4rem 2rem;
}

.statsGrid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem;
  margin-top:2rem;
}

.statCard{
  background:#fff;
  border-radius:18px;
  padding:2rem;
  text-align:center;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
  border-top:5px solid var(--primary);
}

.statCard span{
  display:block;
  font-size:clamp(2rem,5vw,3.2rem);
  font-weight:700;
  color:var(--primary);
  line-height:1;
}

.statCard p{
  margin-top:.75rem;
  font-weight:600;
  color:#666;
}

/* ---------- Homepage Founder ---------- */
.founderCard{
  max-width:900px;
  margin:0 auto;
  padding:2rem;
}

.founderCard img{
  width:100%;
  max-width:450px;
  margin:0 auto 1.5rem;
  display:block;
  border-radius:16px;
  object-fit:cover;
}

.founderCard p{
  font-size:1.05rem;
  color:#444;
}

.founderCard a{
  font-weight:600;
}

/* ==== CAMPAIGN CARD HOMEPAGE ==== */
.campaignSection{
  background:
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.8)),
    url('../images/fathersday_campaign.jpg') center center / cover no-repeat,
    linear-gradient(
      135deg,
      var(--primary),
      var(--secondary)
    );

  color: #fff;
  border-radius: 24px;
  margin: 4rem auto;
  max-width: 1200px;
  padding: 4rem;

  display: grid;
  grid-template-columns: 30% 70%;
  align-items: center;
  gap: 2rem;

  text-align: left;
}

.campaignSection h2{
  color: #fff;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.campaignContent{
  position: relative;
  padding-left: 2.5rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.campaignContent::before{
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255,255,255,0.5);
}

.campaignSection p{
  margin: 0 0 1.5rem;
  color: #fff;
  font-size: 1.1rem;
  max-width: none;
}

.campaignSection .btn{
  align-self: flex-start;
  margin-top: 0;
  background: var(--primary);
  color: #fff;
}

.campaignSection .btn:hover{
  color: var(--primary);
  background: #f5f5f5;
}

@media (max-width: 768px){
  .campaignSection{
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .campaignContent{
    padding-left: 0;
    padding-top: 2rem;
  }

  .campaignContent::before{
    width: 80%;
    height: 1px;
    top: 0;
    left: 0;
  }
}

/* ---------- Homepage Why Join ---------- */
.whyJoin .card{
  height:100%;

  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whyJoin .card:hover{
  transform:translateY(-5px);
  box-shadow:0 12px 28px rgba(0,0,0,.08);
}

.whyJoin h3{
  color:var(--primary);
}

.whyJoin .card-body{
  z-index: 2;
}
.card-bg-icon {
    position: absolute;
    bottom: -20px; 
    right: -20px; 
    font-size: 10rem;
    color: #4a5568;
    opacity: 0.05; 
    pointer-events: none;
    z-index: 1;
    transform: rotate(-10deg);
}

/* ---------- Homepage Impact Preview ---------- */
.sectionHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sectionCta {
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.sectionCta:hover {
  text-decoration: underline;
}

.impactPreview .card {
  text-align: center;
  padding: 2rem;
  transition: .25s ease;
}

.impactPreview .card:hover {
  transform: translateY(-4px);
}

.impactCardImg {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
  display: block;
}

.pos-podcast {
  object-position: 70% center;
}

.pos-discuss {
  object-position: left 60%;
}

.pos-press {
  object-position: left center ;
}

.impactCardImg2 {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
  display: block;
}
.pos-award {
  object-position: center 30%;
}

.pos-exhib {
  object-position: 80% center;
}

.pos-daddaughter {
  object-position: center center;
}


.impactPreview h3 {
  color: var(--primary);
  margin-bottom: .75rem;
}

.impactPreview .text-center {
  margin-top: 2rem;
}

/* ---------- Homepage Final CTA ---------- */
.joinCta {
  text-align: center;
  background: linear-gradient(135deg, #f7fbfc, #eef7fa);
  border-radius: 24px;
  padding: 5rem 2rem;
  margin: 4rem auto;
  position: relative;
  overflow: hidden;
}

.joinCta::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(0, 150, 180, 0.08);
  border-radius: 50%;
}

.joinCta::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 250px;
  height: 250px;
  background: rgba(0, 150, 180, 0.06);
  border-radius: 50%;
}


.joinCtaLogo {
display: inline-flex; 
  align-items: center;
  justify-content: center;  
  background: #fdfdfd;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.joinCta h2 {
  margin-bottom: 1rem;
  position: relative;
}

.joinCta .lead {
  font-size: 1.2rem;
  font-weight: 500;
  max-width: 800px;
  margin: 0 auto 1rem;
}

.joinCta p {
  max-width: 700px;
  margin: 1rem auto;
  position: relative;
}

.joinCtaActions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  position: relative;
}

.joinCta .btn {
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  background: var(--primary);
  color: #fff;
  transition: 0.2s ease;
}

.joinCta .btn:hover {
  transform: translateY(-2px);
}

.secondaryLink {
  font-weight: 600;
  text-decoration: none;
}

.secondaryLink:hover {
  text-decoration: underline;
}



/* ---------- Stats Mobile ---------- */
@media (max-width:768px){

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

  .statCard{
    padding:1.5rem;
  }

  .campaignSection{
    padding:3rem 1.5rem;
    border-radius:18px;
  }

  .joinCta{
    padding:3rem 1.5rem;
  }

  .founderCard{
    padding:1.5rem;
  }

  .founderCard img{
    max-width:100%;
  }
}




/* -------------------------------
      Spinner for button
-------------------------------- */
button.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
    padding-right: 35px;
}

button.loading::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid #fff;
    border-top: 2px solid #555;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

.error-highlight{
    border:2px solid #d93025 !important;
    box-shadow:0 0 8px rgba(217,48,37,0.25);
}

.field-error{
    color:#d93025;
    font-size:13px;
    text-align:left;
    margin-top:0;
    margin-bottom:16px;
    /*min-height:16px;*/
}

/* Notification box */
.form-notification {
    display: none;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    background-color: #e6f2ff; /* light blue background */
}

.form-notification p.message {
    margin: 0;
    font-weight: bold;
}

.form-notification p.redirect {
    margin: 5px 0 0;
    font-size: 0.85em;
    color: #000;
}

/* ---------- Section Titles ---------- */
form h2 {
  text-align: center;
  color: #222;
  margin-bottom: 1.5rem;
}

/* ---------- Grid for Inline Fields ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Country and Nationality Dropdowns ---------- */
#country,
#nationality {
  background-color: #fff;
  color: #333;
  font-size: 1.2rem;
  font-weight: 500;
}

/* ---------- Optional Helper Text ---------- */
.helper-text {
  font-size: 0.9rem;
  color: #777;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

label small.note{
  color: midnightblue;
  line-height: 1.1;
  display: block;
  margin-top: 0.25rem;
  margin-bottom: 3rem;
}
/* ---------- Success / Error States ---------- */
input:valid {
  border-color: #28a745;
}
/*
input:invalid {
  border-color: #dc3545;
}
*/
input:not(:placeholder-shown):invalid {
  border-color: #dc3545;
}


/* ----- Scroll To Top ----- */
#scrollToTopBtn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: opacity 0.5s ease, background-color 0.3s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 50;
}

/* Show button */
#scrollToTopBtn.show {
    opacity: 0.8;
    pointer-events: auto;
}

/* Hover effect */
#scrollToTopBtn:hover {
    background-color: var(--secondary);
}

/* Responsive sizing for small screens */
@media (max-width: 600px) {
    #scrollToTopBtn {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}


.success-banner{
    background:#e8f7ee;
    color:#1b5e20;
    padding:14px 18px;
    margin-bottom:20px;
    border:1px solid #c8e6c9;
  text-align: center;
}

/* ============== GALLERY ================ */
/* ----- Gallery Grid ------ */
.gallery-grid {
    column-count: 3;
    column-gap: 15px;
}

.gallery-item {
position: relative;
    break-inside: avoid;
    margin-bottom: 15px;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-item  > .gallery-photo {
    width: 100%;
    display: block;
}

.gallery-flag{ 
  position:absolute; top:10px; right:10px; width:34px; height:auto; z-index:5; border-radius:0; box-shadow:0 2px 8px rgba(0,0,0,.25); }


.gallery-section {
    max-width: 1200px;
    margin: auto;
    padding: 20px 20px;
}

.gallery-title {
    text-align: center;
    font-size: 3.1rem;
    margin-bottom: 0.8rem;
}

.gallery-subtitle {
  text-align:center;
  color: #444;
  font-size: 1rem;
  margin-bottom: 0;
  }

.gallery-intro{
  color:#222;
  max-width: 1200px;
  text-align: center;
  margin-bottom: 2rem;
}

/* ------ gallery join Card ------ */
.gallery-cta-card {
background:
        linear-gradient(rgba(0,0,0,0.05), rgba(0,0,0,0.05)),
        url('../images/yababa_logo.png') center center / 100px auto no-repeat,
        linear-gradient(135deg, var(--primary), #2e6bb7);
color: #fff;
border-radius: 20px;
overflow: hidden;
min-height: 320px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 2rem;
}

/* JOIN = PRIMARY ACTION */
.join-card {
    background:
      linear-gradient(135deg, #1e4d8f, #2e6bb7);
}

/* IMPACT = TRUST / COOL / CALM */
.impact-card {
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

/* CAMPAIGN = URGENCY */
.campaign-card {
    background: linear-gradient(135deg, #b03a2e, #c0392b);
}

.gallery-cta-content {
max-width: 320px;
}

.gallery-cta-content h3 {
color: #fff;
margin-bottom: 1rem;
}

.gallery-cta-content p {
color: rgba(255,255,255,.92);
margin-bottom: 1.5rem;
line-height: 1.7;
}

.gallery-cta-btn {
display: inline-block;
background: #fff;
color: var(--primary);
padding: .85rem 1.4rem;
border-radius: 999px;
text-decoration: none;
font-weight: 600;
transition: .2s ease;
}

.gallery-cta-btn {
transform: translateY(-2px);
}


.gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: auto; /* scroll on small screens */
}

.modal-topbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-bottom: 70px;
}

.gallery-modal-content {
    background: #fff;
    padding: 15px;
    max-width: 800px; /* limit width for desktop */
    width: 90%;
    max-height: 95vh;
    border-radius: 12px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-modal-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 8px;
}

.modal-header {
    display: flex;
    align-items: center; /* FIX: was flex-start */
    gap: 6px;
    margin: 4px 0 2px 0; /* tighter */
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0073e6;
    margin: 0;
    line-height: 1; /* FIX vertical alignment */
}

.modal-flag {
    width: 28px;
    height: auto;
    border-radius: 0;
    object-fit: contain;
    margin-top: 0; /* REMOVE misalignment */
    display: block;
    align-self: center;
}

#modalMessage {
    margin: 2px 0 0 0;
    font-size: 1rem;
    color: #333;
    line-height: 1.4;
    padding: 0 40px;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    z-index: 40; /* higher than share */
    color: #111;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(3,155,188,0.2);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.prev:hover, .next:hover {
    background: #039bbc;
}

.prev { left: 10px; }
.next { right: 10px; }

.modal-actions {
    position: absolute;
    top: 15px;
    left: 15px; /* left aligned */
    display: flex;
    flex-direction: column; /* stack bar + feedback vertically */
    align-items: flex-start;
    gap: 6px;
    z-index: 50; /* higher than close button */
}

.share-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.share-item {
    width: 32px;
    height: 32px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px; /* icon size */
    background: #fff;  /* button background */
    color: inherit;    /* remove forced white */
    transition: all 0.2s ease;
}

/* Icon colors */
.share-copy i { color: #6c757d; }
.share-wa i   { color: #25D366; }
.share-fb i   { color: #1877F2; }
.share-x i    { color: #000000; }

.share-item:hover {
    opacity: 0.85;
    transform: translateY(-3px);
}

.share-copy.copied { background: #28a745 !important; }

.share-feedback {
    font-size: 12px;
    color: #28a745;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-btn,
.desktop-share button {
    background: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

.share-btn:hover,
.desktop-share button:hover {
    background: #f2f2f2;
    transform: scale(1.08);
}

.desktop-share {
    display: none;
    gap: 8px;
}

/* Desktop view */
@media (min-width: 768px) {
    .desktop-share {
        display: flex;
    }   
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toast.show {
    opacity: 1;
}


/* Responsive masonry columns */
@media (max-width: 1024px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        column-count: 1;
    }

    .gallery-modal-content {
        padding: 10px;
    }

    .modal-message {
        font-size: 0.9rem;
    line-height: 1.4;
   padding: 0 10px;
    }
}


/* ====================== YaBaba Carousel ================== */
#carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.yb-carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 480px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  background: #f8f8f8;
}

@media (max-width: 768px) {
  .yb-carousel {
    height: 70vh;
    max-height: 520px;
    min-height: 420px;
  }
}

.yb-carousel-track {
  display: flex;
  height: 100%;
  will-change: transform;
}

.yb-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
  flex-shrink: 0;
  background: #eee;
}

.yb-image-wrap {
  position: absolute;
  inset: 0;
}

/* =====================================================
   IMAGE SYSTEM: COVER = fills carousel | FULL = fitted entire image inside carousel height
   ===================================================== */
.yb-slide .img-cover,
.yb-slide .img-full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition:
    opacity .9s ease,
    transform 1.2s ease;
}

/* Initial state */
.yb-slide .img-cover {
  z-index: 2;
  opacity: 1;
  object-fit: cover;
  object-position: center center;
  transform: scale(1);
}

/* Hidden fitted image */
.yb-slide .img-full {
  z-index: 1;
  opacity: 0;
  object-fit: contain;
  object-position: center center;
  background: #ccc;
  transform: scale(.98);
}

/* Desktop transition:
   Cover visible first
   Then fade to fitted image */
@media (min-width: 769px) {

  .yb-slide.active .img-cover {
    opacity: 0;
    transform: scale(1.03);
  }

  .yb-slide.active .img-full {
    opacity: 1;
    transform: scale(1);
  }
}

/* Mobile keeps cover */
@media (max-width: 768px) {

  .yb-slide .img-cover {
    opacity: 1 !important;
    transform: none !important;
  }

  .yb-slide .img-full {
    display: none !important;
  }
}

/* ======= OVERLAY ================================ */
.yb-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}

.yb-overlay-inner {
  width: 100%;
  padding: 34px 30px 50px;
  color: #fff;

  background:
    linear-gradient(
      to top,
      rgba(0,0,0,.82) 0%,
      rgba(0,0,0,.55) 30%,
      rgba(0,0,0,0) 100%
    );

  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .8s ease,
    transform .8s ease;
}

.yb-overlay.show .yb-overlay-inner {
  opacity: 1;
  transform: translateY(0);
}

.yb-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.yb-flag {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.yb-name {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 700;
  color: #01566a;
    /*text-shadow: 2px 2px 0 #01566a;*/
}

.yb-message {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  max-width: 720px;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =====================================================
   ARROWS
   ===================================================== */

.yb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: rgba(0,0,0,.45);

  color: #fff;
  font-size: 20px;
  cursor: pointer;

  backdrop-filter: blur(4px);

  transition:
    background .25s ease,
    transform .25s ease;
}

.yb-arrow:hover {
  background: rgba(0,0,0,.7);
}

.yb-arrow.left {
  left: 16px;
}

.yb-arrow.right {
  right: 16px;
}

/* ==== DOTS ======================== */
.yb-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  gap: 8px;

  z-index: 30;
}

.yb-dot {
  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: rgba(255,255,255,.4);
  cursor: pointer;

  transition:
    background .25s ease,
    transform .25s ease;
}

.yb-dot:hover {
  transform: scale(1.15);
}

.yb-dot.active {
  background: #03a9c7;
  transform: scale(1.25);
}

/* ======= TEXT ALIGNMENT =================================== */
[dir="ltr"] .yb-overlay-inner {
  text-align: left;
}

[dir="rtl"] .yb-overlay-inner {
  text-align: right;
}


/* === CAROUSEL MOBILE ================================== */
@media (max-width: 768px) {

  .yb-overlay-inner {
    padding: 22px 20px 45px;
  }

  .yb-name {
    font-size: 1rem;
  }

  .yb-message {
    font-size: .92rem;
    -webkit-line-clamp: 4;
  }

  .yb-arrow {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .yb-arrow.left {
    left: 10px;
  }

  .yb-arrow.right {
    right: 10px;
  }
}

/* =========================================
                IMPACT PAGE STYLES
   ======================================= */
 .impactIMG{
  background-image: url('../images/swesud_.jpg');
  background-position: center 30%;
}

/* ---- IMPACT PAGE: STATS ---- */
.impact-stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:1.5rem;
    max-width:1200px;
    margin:0 auto 1rem;
    padding:0 2rem;
}

.stat-box{
    background:#fff;
    border-radius:18px;
    padding:2rem;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,.06);
    border-top:4px solid var(--primary);
}

.stat-box h2{
    color:var(--primary);
    font-size:2.5rem;
    margin-bottom:.5rem;
}

/* ---- IMPACT PAGE: TIMELINE ---- */
.impact-timeline{
    max-width:900px;
    margin: 2rem auto;
    padding: 2rem 4rem;
    position: relative;
    overflow: hidden;
    background-color: #f8fafb;
}

.timeline-item{
    border-left:3px solid var(--primary);
    padding-left:1.5rem;
    margin-bottom:2rem;
}

.timeline-item h3{
    color:var(--primary);
}

/* ---- IMPACT PAGE: MEDIA ---- */
.impact-media{
    max-width:1200px;
    margin:4rem auto;
    padding:0 2rem;
}

/* ---- IMPACT PAGE: MOMENTS ---- */
.impact-moments {
  width: 100%;
  background: #012b34;
  padding: 3rem 0.5rem;
    text-align: center;
}

.impact-momentsContent{
  max-width: 85%;
  margin: 0 auto;

}
.impact-moments h2 {
  color: #039bbc;
  margin-bottom: 2rem;
}

.impact-moments p {
  color: #fff;
}

/* ---- IMPACT PAGE: CURRENT ---- */
.impact-current{
    text-align:center;
    max-width:800px;
    margin:2rem auto;
    padding:3rem 3rem;
    background:#f7fbfc;
    border-radius:24px;
}

.impact-current p{
    color:#333;
}

/* ---- IMPACT PAGE MOBILE ---- */
@media (max-width: 768px) {

  /* STATS */
  .impact-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }

  .stat-box {
    padding: 1.25rem;
  }

  .stat-box h2 {
    font-size: 2rem;
  }

  /* TIMELINE */
  .impact-timeline {
    margin: 1.5rem auto;
    padding: 1.5rem 1rem;
  }

  .timeline-item {
    padding-left: 1rem;
    margin-bottom: 1.5rem;
  }

  /* MEDIA */
  .impact-media {
    margin: 3rem auto;
    padding: 0 1rem;
  }

  /* MOMENTS */
  .impact-moments {
    padding: 2.5rem 0;
  }

  .impact-momentsContent {
    max-width: 95%;
  }

  /* CURRENT */
  .impact-current {
    margin: 1.5rem 1rem;
    padding: 2rem 1.25rem;
    border-radius: 18px;
  }

}



/* =============================================
              JOIN PAGE STYLES
   ========================================== */
.join-after-form{
    max-width:1200px;
    margin:0 auto;
}

.join-message-card{
    padding:2rem;
}

.join-grid{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
}

.join-img{
    flex:1;
    text-align:center;
}

.join-img img{
    width:100%;
    max-width:420px;
    height:auto;
    /*border-radius:12px;*/
    object-fit:cover;
}

.join-text{
    flex:1;
    text-align:center;
}

.join-message-card h2{
    margin-bottom:1rem;
}

.join-message-card p{
    max-width:500px;
    margin:1rem auto;
    color:#444;
}

.join-slogan{
    margin-top:2rem;
    padding-top:1.5rem;
    border-top:1px solid #e5e5e5;

    font-size:0.9rem;
    font-weight:700;
    color:var(--primary);

    text-align:center;
    letter-spacing:.5px;
    line-height:1.6;
}

@media (max-width: 768px){
    .join-grid{
        flex-direction:column;
        text-align:center;
    }

    .join-img img{
        max-width:180px;
    }

    .join-slogan{
        flex-direction:column;
        align-items:center;
    }

    .join-slogan span{
        width:100%;
        max-width:260px;
    }
}


/* =============================================
              PARTNERS PAGE STYLES
   ========================================== */
.banner-hero {
  position: relative;
  width: 100%;
  height: 300px;
  margin: 0;
  background-size: cover;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
}

 .partnersIMG{
  background-image: url('../images/banner_partners.png');
     background-position: center 45%;
}

/* overlay */
.banner-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.55);
  z-index:1;
}

.bannerContent {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  width: 100%;
  padding: 0 2em;
  text-align: center;
}
/* ==== PARTNERS page hero MOBILE ==== */
@media (max-width: 768px) {
  .banner-hero {
    height: 320px;
  }

  .bannerContent {
    padding: 0 1rem;
  }

  .bannerContent h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .bannerContent p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .partnersIMG {
    background-position: center center;
  }

}

/* ---- WHY ---- */
.partners-why{
    max-width:900px;
    margin:1rem auto;
    padding:0 1.5rem;
}

.partners-why .card{
    padding:2rem;
}

/* ---- AREAS ---- */
.partners-areas{
    max-width:1200px;
    margin:3rem auto;
    padding:0 1.5rem;
}

/* ---- CONTEXT ---- */
.partners-context{
    max-width:100%;
    margin:1rem auto;
  text-align: center;
  background-color: #fff;
}

/* ---- FORM ---- */
.partners-flow {
  text-align: center;
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  background: var(--primary);
  margin-top:  0;
  padding:0.3rem 1.2rem;
  border-radius:12px;
  max-width: fit-content;
}

  .partners-form{
    max-width:100%;
    margin:4rem auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #f8fafb;
    background:
        repeating-linear-gradient(
            45deg,
            rgba(255,255,255,.35) 0,
            rgba(255,255,255,.35) 20px,
            transparent 20px,
            transparent 100px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(255,255,255,.25) 0,
            rgba(255,255,255,.25) 20px,
            transparent 20px,
            transparent 100px
        ),
        #f8fafb;
    padding: 4rem 1.5rem;
}

.partners-form .partners-content{
    max-width:800px;
    margin: auto;
    padding:1rem 1.5rem;
    text-align:center;
}

.partners-form::before,
.partners-form::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(173, 216, 230, 0.18);
  transform: rotate(45deg);
  filter: blur(40px);
  z-index: 0;
}
.partners-form::before {
  top: -100px;
  left: -100px;
}

.partners-form::after {
  bottom: -100px;
  right: -100px;
}

.partners-form > * {
  position: relative;
  z-index: 1;
}



.partners-form form{
    display:flex;
    flex-direction:column;
    gap:1rem;
  margin-top: 0;
}

.partners-form input,
.partners-form textarea{
    padding:0.9rem;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:1.2rem;
    font-family:inherit;
}

.partners-form input:focus,
.partners-form textarea:focus{
    outline:2px solid var(--primary);
    border-color:transparent;
}

/* ---- NOTE ---- */
/*
.partners-note{
    max-width:850px;
    margin:3rem auto 5rem;
    text-align:center;
}

.partners-note .card{
    background:#f7fbfc;
    padding:2rem;
}
*/

/* -- Partnership Promise -- */
.partnershipPromise {
  max-width: 100%;
  margin: 4rem auto 0;
  padding: 2.5rem;
  background: linear-gradient(135deg, #f7fbfc, #eef7fa);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  text-align: center;
  z-index: 1;
}

.partnershipPromise::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(0, 140, 170, 0.08);
  z-index: 0;
}

.partnershipPromise::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(0, 140, 170, 0.05);
  z-index: 0;
}

.partnershipPromise > * {
  position: relative;
  z-index: 2;
}

.partnershipPromise h3 {
  position: relative;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 1.8rem;
}

.partnershipPromise p {
  position: relative;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.partnershipPromise ul {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.partnershipPromise li {
  background: #fff;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  font-weight: 500;
  transition: 0.25s ease;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
}

.partnershipPromise li:hover {
  transform: translateY(-3px);
}

.partnershipPromise li::before {
  font-weight: 900;
  color: var(--primary);
  font-size: 1.2rem;
}

.partnershipPromise li i {
  color: var(--primary);
  font-size: 1.5rem;
}

.desktop-break {
  display: inline;
}

/* ---- PARTNERS MOBILE Styles ---- */
@media (max-width:768px){

    .partners-hero{
        padding:0 1.5rem;
    }

    .partners-form{
        padding:0 1rem;
    }
  .desktop-break {
    display: none;
  }
}