
  body{
  margin:0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background:var(--bg);
  color:var(--dark);
  line-height:1.8;
  font-size:17px;
}
l
/* HEADINGS */
h1, h2, h3, nav a, .login{
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  letter-spacing:0.3px;
}

h1{
  font-size:36px;
}

h2{
  font-size:26px;
}

h3{
  font-size:20px;
}

p{
  max-width:900px;
  color:#374151;
}

:root{
  --green:#0b6b2e;
  --red:#c62828;
  --yellow:#f4c430;
  --blue:#cfe9f7;
  --dark:#1f2933;
  --gray:#6b7280;
  --bg:#f8fafc;
  --card:#ffffff;
/* About section paragraphs: justified + NO hyphenation */
#about > p {
  text-align: justify;
  text-justify: inter-word;     /* even spacing between words */
  hyphens: none;                /* disable hyphenation completely */
  -webkit-hyphens: none;
  -ms-hyphens: none;
  text-align-last: left;        /* last line not stretched */
  line-height: 1.82;
  margin: 0 0 1.6rem 0;
  font-size: 1.03rem;           /* slightly more comfortable reading size */
}

/* Optional: first paragraph a bit more prominent */
#about > p:first-of-type {
  font-size: 1.08rem;
  font-weight: 500;
  color: #1f2937;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:"Segoe UI", system-ui, Arial, sans-serif;
  background:var(--bg);
  color:var(--dark);
  line-height:1.75;
}

header {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 20px 40px;
  background: linear-gradient(
    90deg,
    #ffffff 30%,          /* pure white start */
    #0b6b2e 55%,         /* strong Pakistan green in the middle */
    #c62828 100%         /* red end */
  );
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Make logo/text readable on the gradient */
header img {
  height: 120px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); /* optional subtle shadow for pop */
}

/* Navigation links – white text for contrast, especially on green/red parts */
nav a {
  text-decoration: none;
  font-weight: 600;
  color: white;               /* changed to white for better visibility */
  cursor: pointer;
  position: relative;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4); /* subtle shadow to improve legibility */
  transition: color 0.3s ease;
}

nav a:hover {
  color: #f4c430;             /* yellow hover for flag accent & energy */
}

/* Login button – keep green but with white text */
.login {
  margin-left: auto;
  padding: 8px 18px;
  border-radius: 20px;
  background: #0b6b2e;        /* green */
  color: white !important;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  transition: all 0.25s ease;
}

.login:hover {
  background: #08521f;        /* darker green on hover */
  transform: translateY(-2px);
}

/* Submenu dropdown – white background with green accents */
.submenu-content {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.submenu-content a {
  color: #1f2933;
}

.submenu-content a:hover {
  background: rgba(11,107,46,0.1);  /* light green hover */
  color: #0b6b2e;
}

/* NAV */
nav{
  display:flex;
  gap:26px;
  align-items:center;
  flex:1;
}

nav a{
  text-decoration:none;
  font-weight:600;
  color:#000;
  cursor:pointer;
  position:relative;
}

nav a:hover{
  color:var(--green);
}

/* LOGIN BUTTON */
.login{
  margin-left:auto;
  padding:8px 18px;
  border-radius:20px;
  background:var(--green);
  color:#fff !important;
}

/* SUBMENU */
.submenu{
  position:relative;
}

.submenu-content{
  display:none;
  position:absolute;
  top:30px;
  left:0;
  background:#fff;
  border-radius:10px;
  box-shadow:0 10px 25px rgba(0,0,0,.15);
  padding:10px 0;
  min-width:180px;
  z-index:100;
}

.submenu:hover .submenu-content{
  display:block;
}

.submenu-content a{
  display:block;
  padding:8px 16px;
  color:#000;
}

.submenu-content a:hover{
  background:#f1f5f9;
  color:var(--green);
}

/* WRAPPER */
.wrapper{
  max-width:1200px;
  margin:auto;
  padding:50px 30px;
}

/* SECTIONS */
.section{
  background:#fff;
  padding:40px;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  margin-bottom:50px;
}

main{
  font-size:18px;
}

/* HEADINGS */
h1,h2,h3{
  color:var(--green);
  margin-top:0;
}

.center{
  text-align:center;
}

.underline{
  display:inline-block;
  border-bottom:3px solid var(--green);
  padding-bottom:6px;
}

/* ORG CHART */
.org-level{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:30px;
  margin:30px 0;
}

.card{
  width:210px;
  background:var(--card);
  border-radius:16px;
  padding:15px;
  text-align:center;
  box-shadow:0 8px 22px rgba(0,0,0,.1);
  transition:transform .25s, box-shadow .25s;
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(0,0,0,.18);
}

.card img{
  width:100%;
  border-radius:12px;
  margin-bottom:10px;
}

/* LISTS */
ul,ol{
  padding-left:22px;
}

li{
  margin-bottom:8px;
}

/* MAP */
iframe{
  width:100%;
  height:320px;
  border:none;
  border-radius:14px;
  margin-top:20px;
}

/* FOOTER */
footer{
  background:#0f172a;
  color:#fff;
  padding:30px 40px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
}

footer a{
  color:#e5e7eb;
  text-decoration:none;
  margin-right:15px;
  font-weight:600;
}

footer a:hover{
  color:var(--yellow);
}

/* RESPONSIVE */
@media(max-width:900px){
  header{
    flex-direction:column;
    align-items:flex-start;
  }

  nav{
    flex-wrap:wrap;
    gap:16px;
  }

  .login{
    margin-left:0;
  }
}

/* MISSION & VISION */
.mv-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:40px;
  margin-top:50px;
}

.mv-card{
  background:#fff;
  border-radius:18px;
  padding:35px 30px;
  text-align:center;
  box-shadow:0 12px 35px rgba(0,0,0,.08);
  position:relative;
  transition:transform .3s, box-shadow .3s;
}

.mv-card:hover{
  transform:translateY(-8px);
  box-shadow:0 22px 50px rgba(0,0,0,.15);
}

.mv-card h2{
  margin-top:10px;
  margin-bottom:15px;
  color:var(--green);
}

.mv-card p{
  font-size:16px;
  line-height:1.7;
  color:var(--lightblack);
}

/* ICON */
.mv-icon{
  font-size:48px;
  width:80px;
  height:80px;
  margin:0 auto 15px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  animation:bounce 2s infinite;
}

/* COLOR VARIANTS */
.mission .mv-icon{
  background:rgba(11,107,46,.15);
  color:var(--green);
}

.vision .mv-icon{
  background:rgba(244,196,48,.25);
  color:#b8860b;
}

/* BOUNCE ANIMATION */
@keyframes bounce{
  0%, 100%{ transform:translateY(0); }
  50%{ transform:translateY(-10px); }
}
/* HERO */
.hero{
  position:relative;
  height:70vh;
  background:url("images/community1.jpg") center/cover no-repeat;
  border-radius:20px;
  margin-bottom:70px;
  overflow:hidden;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    rgba(11,107,46,.75),
    rgba(11,107,46,.55)
  );
}

.hero-content{
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  color:#fff;
  padding:40px;
}

.hero-content h1{
  font-size:42px;
  margin-bottom:15px;
  color:#fff;
}

.hero-content p{
  max-width:700px;
  font-size:18px;
}

/* PHOTO STRIP */
.photo-strip{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
  margin:50px 0;
}

.photo-strip img{
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:14px;
  box-shadow:0 10px 25px rgba(0,0,0,.15);
  transition:transform .3s;
}

.photo-strip img:hover{
  transform:scale(1.05);
}
/* FOOTER SOCIAL RIGHT ALIGN */
footer{
  justify-content:space-between;
}

.social{
  display:flex;
  align-items:center;
  gap:18px;
  margin-left:auto; /* PUSH TO RIGHT */
}

.social a{
  display:flex;
  align-items:center;
  gap:6px;
  text-decoration:none;
  color:#fff;
  font-weight:600;
}

.social img{
  width:18px;
  height:18px;
}

.social a:hover{
  color:var(--yellow);
}
/* FUTURE PLANS GRID */
.future-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:30px;
  margin-top:40px;
}

.future-card{
  background:#fff;
  border-radius:18px;
  padding:30px 26px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  position:relative;
  transition:transform .3s, box-shadow .3s;
}

.future-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 45px rgba(0,0,0,.15);
}

.future-card h3{
  color:var(--green);
  margin-top:10px;
  margin-bottom:10px;
}

.future-card p{
  font-size:15px;
  color:#374151;
  margin-bottom:12px;
}

.future-card ul{
  padding-left:18px;
  font-size:14px;
}

.future-card li{
  margin-bottom:6px;
}

/* NUMBER BADGE */
.future-card .number{
  position:absolute;
  top:-14px;
  right:-14px;
  width:44px;
  height:44px;
  background:var(--green);
  color:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:18px;
  box-shadow:0 8px 20px rgba(0,0,0,.2);
}
/* MEMBERSHIP BENEFITS GRID */
.benefits-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:26px;
  margin-top:40px;
}

.benefit-card{
  background:#fff;
  border-radius:16px;
  padding:26px 22px;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  position:relative;
  transition:transform .3s, box-shadow .3s;
}

.benefit-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(0,0,0,.15);
}

.benefit-card h4{
  color:var(--green);
  margin-top:10px;
  margin-bottom:8px;
  font-size:16px;
}

.benefit-card p{
  font-size:14px;
  color:#374151;
}

/* NUMBER BADGE */
.benefit-card .number{
  position:absolute;
  top:-12px;
  right:-12px;
  width:38px;
  height:38px;
  background:var(--green);
  color:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:14px;
  box-shadow:0 6px 18px rgba(0,0,0,.2);
}
/* Justified text for Mission & Vision paragraphs */
.mv-card p {
  text-align: justify;
  text-justify: inter-word;     /* even word spacing – looks cleaner than default */
  hyphens: none;                /* completely disable hyphenation */
  -webkit-hyphens: none;
  -ms-hyphens: none;
  text-align-last: left;        /* last line stays left-aligned (natural look) */
  line-height: 1.78;            /* slightly increased comfort for justified text */
  margin-top: 0.8rem;           /* fine-tune spacing from heading */
  font-size: 1.02rem;           /* subtle readability boost */
}

/* Optional: Make the first sentence of each paragraph slightly bolder/emphasized */
.mv-card p:first-letter {
  font-weight: 600;
  color: var(--green);
}
/* Login dropdown wrapper */
.login-submenu {
  position: relative;
  margin-left: auto;
}

/* The visible Login button */
.login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 30px;
  background: var(--green);
  color: white !important;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(11,107,46,0.25);
}

.login:hover {
  background: #08521f; /* darker green */
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11,107,46,0.35);
}

/* Dropdown content */
.login-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;               /* align to right side of button */
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  min-width: 180px;
  overflow: hidden;
  z-index: 150;
  margin-top: 8px;
  border: 1px solid #e5e7eb;
}

/* Show dropdown on hover */
.login-submenu:hover .login-dropdown {
  display: block;
}

/* Dropdown items */
.login-submenu {
  position: relative;
  margin-left: auto;
  padding-bottom: 12px;           /* hover bridge */
}

.login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 30px;
  background: var(--green);
  color: white !important;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(11,107,46,0.25);
}

.login:hover {
  background: #08521f;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11,107,46,0.35);
}

.login-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  min-width: 180px;
  overflow: hidden;
  z-index: 150;
  margin-top: 2px;
  border: 1px solid #e5e7eb;
  transition: opacity 0.18s ease;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.login-submenu:hover .login-dropdown,
.login-dropdown:hover {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.login-dropdown a {
  display: block;
  padding: 12px 20px;
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.login-dropdown a:hover {
  background: rgba(11,107,46,0.08);
  color: var(--green);
  padding-left: 26px;
}

/* Tiny arrow (optional) */
.login-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 18px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid white;
}
/* Container for the two buttons – pushes them to the right */
.auth-buttons {
  margin-left: auto;              /* pushes to far right */
  display: flex;
  align-items: center;
  gap: 12px;                      /* space between Verify and Login */
}

/* Verify button style – similar to Login but can be visually distinguished */
.verify-btn {
  padding: 9px 20px;
  border-radius: 30px;
  background: #ffffff;             /* white background for contrast */
  color: var(--green) !important;  /* green text to match theme */
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--green);  /* green border */
  transition: all 0.25s ease;
  box-shadow: 0 3px 10px rgba(11,107,46,0.15);
}

.verify-btn:hover {
  background: var(--green);
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11,107,46,0.3);
}

/* Login button (keep or tweak your existing) */
.login {
  padding: 9px 20px;
  border-radius: 30px;
  background: var(--green);
  color: white !important;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(11,107,46,0.25);
}

.login:hover {
  background: #08521f;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11,107,46,0.35);
}

/* Ensure submenu and dropdown still work */
.login-submenu {
  position: relative;
}

/* Responsive – stack buttons vertically on very small screens if needed */
@media (max-width: 768px) {
  .auth-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-left: 0;
    margin-top: 12px;
  }
  
  .verify-btn, .login {
    width: 100%;
    text-align: center;
  }
}
/* Container for the buttons - ensure perfect vertical centering */
.auth-buttons {
  margin-left: auto;
  display: flex;
  align-items: center;          /* this is the key: centers them vertically */
  gap: 14px;                    /* space between Verify and Login */
  padding: 0;                   /* no extra padding here */
}

/* Verify button - standardize vertical sizing */
.verify-btn {
  padding: 10px 22px;           /* match typical Login padding */
  border-radius: 30px;
  background: var(--green);
  color: white !important;
  font-weight: 600;
  text-decoration: none;
  border: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(11,107,46,0.25);
  line-height: 1.4;             /* consistent line height */
  display: inline-flex;
  align-items: center;          /* centers text vertically inside button */
  justify-content: center;
  height: 42px;                 /* fixed height for perfect alignment (adjust if needed) */
  margin: 0;                    /* reset any stray margins */
}

/* Login button - match the same vertical properties */
.login {
  padding: 10px 22px;           /* same padding as Verify */
  border-radius: 30px;
  background: var(--green);
  color: white !important;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(11,107,46,0.25);
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;                 /* same fixed height */
  margin: 0;
  white-space: nowrap;          /* prevents text wrapping */
}

/* Login submenu wrapper - no extra margins */
.login-submenu {
  margin: 0;
  padding: 0;
  height: 42px;                 /* match button height */
  display: flex;
  align-items: center;
}

/* Hover states - keep consistent */
.verify-btn:hover,
.login:hover {
  background: #08521f;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11,107,46,0.35);
}
}