body {
  margin: 0;
  font-family: "Inter", sans-serif;
   background: linear-gradient(
    to bottom,
    #FAF9F6,
    #F4F2ED
  );
  color: #0F172A;
}

.logo img {
  height: 32px;
  transform: scale(1.6);   /* zooms into the actual logo */
  transform-origin: left center;
}
.logo {
  gap: 16px; /* slightly more space */
}
.card:hover {
  transform: translateY(-6px) scale(1.01);
}
.section-sub {
  color: #6B7280;
  font-size: 15px;
  margin-top: 10px;
}
/* NAVBAR */
.navbar {
  position: sticky;
  top: 16px;
  margin: 0 20px;

  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);

  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);

  display: flex;
  justify-content: space-between;
  padding: 14px 24px;

  z-index: 100;
}
h1, h2 {
  letter-spacing: -0.4px;
}
.about-hero {
  max-width: 1000px;
  margin: 50px auto 20px;
  border-radius: 14px;
  overflow: hidden;
}
.image-caption {
  text-align: center;
  font-size: 13px;
  color: #6B7280;
  margin-top: 12px;
  letter-spacing: 0.2px;
}
.about-hero img {
  transition: transform 0.4s ease;
}

.about-hero:hover img {
  transform: scale(1.01);
}
.about-hero img {
  width: 100%;
  height: 340px;              /* controlled crop */
  object-fit: cover;

  /* SHIFT FOCUS DOWN (this is the key) */
  object-position: center 55%;

  border-radius: 12px;

  /* subtle enhancement */
  filter: blur(0.6px) brightness(0.97) contrast(1.05) saturate(1.05);
}

/* subtle overlay */
.program-image {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.program-image img {
  width: 100%;
  height: auto;              /* FIX HEIGHT */
  object-fit: cover;

  /* THIS CROPS TOP PART */
  object-position: center 70%;

  border-radius: 12px;
}
@media (max-width: 768px) {
  .program-image img {
    max-height: 240px;
  }
}
.footer-logo {
  margin-bottom: 20px;
}
.container {
  max-width: 1000px; /* slightly tighter than 1100 */
}
.section + .section {
  border-top: none; /* remove harsh separators */
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
.footer-logo img {
  height: 200px;
  width: auto;
  opacity: 0.9;
}

footer {
  text-align: center;
  padding: 80px 20px 60px;
}


section {
  max-width: 1100px;
  margin-inline: auto;
}
.navbar a {
  margin-left: 25px;
  text-decoration: none;
  color: #333;
}
.link-btn {
  font-size: 15px;
  font-weight: 500;
  color: #1F3D2B;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.link-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #1F3D2B;
  transition: transform 0.3s ease;
  transform: scaleX(0.3);
  transform-origin: left;
}

.link-btn:hover::after {
  transform: scaleX(1);
}

.link-btn.strong {
  font-weight: 600;
}

/* HERO */
.hero-content {
  max-width: 720px;
  margin: auto;
}

.hero h1 {
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.5px;
}

.hero p {
  margin-top: 20px;
  font-size: 16px;
  color: #6B7280;
}

.hero h1,
.hero p,
.cta {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

.hero p {
  animation-delay: 0.2s;
}

.cta {
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.cta-box {
  max-width: 500px;
  margin: auto;
}
/* BUTTONS */




/* PROOF */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}

.metric h3 {
  font-size: 42px;
  font-weight: 600;
  color: #0F172A;
}

.metric p {
  font-size: 14px;
  color: #6B7280;
  margin-top: 6px;
}
/* UNNATI ONLY */
.unnati-impact .metrics {
  gap: 30px;
  margin-top: 30px;
}

.unnati-impact .metric {
  padding: 18px;
  border-radius: 10px;
  background: rgba(0,0,0,0.03);
}

.unnati-impact .metric h3 {
  font-size: 40px;
}

.unnati-impact .metric p {
  font-size: 13px;
}

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

.metric {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.metric.show {
  opacity: 1;
  transform: translateY(0);
}



.center-text {
  max-width: 820px;
  margin: 20px auto 0;
  font-size: 17px;
  line-height: 1.7;
}
h2 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
.section-sub {
  font-size: 16px;
  color: #6B7280;
  margin-top: 12px;
}




/* FOOTER */
footer {
  text-align: center;
  padding: 60px 20px;
}

.footer-links a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .proof {
    flex-direction: column;
    gap: 40px;
  }

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

  .hero h1 {
    font-size: 36px;
  }
}
.metric {
  will-change: transform;
}


.logo {
  font-weight: 500;
  font-size: 18px;
  text-decoration: none;
  color: #111;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.logo img {
  height: 30px;   /* bigger than before */
  width: auto;
}

.logo span {
  font-size: 18px;
  letter-spacing: -0.2px;
}

/* GLOBAL SPACING */
.hero {
  padding: 160px 20px 120px;
}

.section:first-of-type {
  padding-top: 100px;
}
.section h2 {
  font-size: 32px;
  font-weight: 600;
}
.section {
  padding: 70px 20px;
  text-align: center;
}
h2 {
  margin-bottom: 14px; /* tighter */
}

.center-text {
  margin-top: 10px; /* reduce gap */
}
.section.alt {
  padding-top: 60px;
  padding-bottom: 60px;
}

.section + .section {
  border-top: 1px solid rgba(0,0,0,0.04);
}

/* CARD UI (IMPORTANT) */
.card {
  padding: 28px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.05);
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.7);
}
.card h3::after {
  content: " ";
  opacity: 0;
  transition: 0.2s;
}

.card:hover h3::after {
  opacity: 1;
  margin-left: 4px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  line-height: 1.5;
  color: #6B7280;
}
h2 {
  color: #1F3D2B;
}
/* BUTTON IMPROVEMENT */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  background: #0F172A;
  color: #fff !important;
  text-decoration: none !important; /* THIS FIXES UNDERLINE */
  border: none;
  transition: all 0.2s ease;
}
.btn.primary {
  padding: 14px 22px;
  font-size: 14px;
  border-radius: 6px;
}
.btn:hover {
  background: #000;
  transform: translateY(-1px);
}

.btn.primary::after {
  content: " →";
  transition: 0.2s;
}

.btn.primary:hover::after {
  margin-left: 4px;
}

/* NAVBAR BUTTON */
.navbar .btn {
  background: transparent;
  color: #0F172A !important;
  border: 1px solid rgba(0,0,0,0.08);
}

.navbar .btn:hover {
  background: rgba(0,0,0,0.05);
}

/* CTA BUTTON */
.section.center .btn {
  margin-top: 24px;
}

.cta {
  margin-top: 32px;
}

.section.center {
  text-align: center;
}

.section.center .btn {
  margin-top: 20px;
}
html {
  scroll-behavior: smooth;
}

a {
  transition: 0.2s ease;
}
.cta {
  margin-top: 30px;
}


/* NAV HOVER */
.navbar a:hover {
  opacity: 0.6;
}

.fade {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade.show {
  opacity: 1;
  transform: translateY(0);
}

.container {
  max-width: 1100px;
  margin: auto;
}



.grid {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 60px;
  max-width: 900px;
  margin: 60px auto 0;
}

.why-item {
  text-align: left;
}

/* FIXED TYPOGRAPHY (this is key) */
.why-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1F3D2B;
  margin-bottom: 10px;
}

.why-item p {
  font-size: 16px;          /* BIGGER → readable */
  line-height: 1.6;
  color: #374151;
}

.why-item {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* REMOVE BOXES FOR UNNATI */
.unnati-impact .metric {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

/* DRIVE GRID */
.drive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

/* CARD */
.drive-card {
  text-align: left;
}

/* IMAGE */
.drive-card img {
  width: 100%;
  height: 350px; /* was 160px → now ~35% bigger */
  object-fit: cover;
  object-position: center; /* important */
  border-radius: 10px;
  margin-bottom: 12px;
}

/* TITLE */
.drive-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

/* TEXT */
.drive-card p {
  font-size: 13px;
  color: #6B7280;
  margin-bottom: 8px;
}
.initiative-links {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 20px;
}

.initiative-link {
  font-size: 16px;
  font-weight: 500;
  color: #1F3D2B;
  text-decoration: none;
  position: relative;
}

.initiative-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: #1F3D2B;
  transform: scaleX(0.4);
  transition: 0.3s ease;
}

.initiative-link:hover::after {
  transform: scaleX(1);
}
/* METRIC */
.drive-card span {
  font-size: 13px;
  font-weight: 500;
  color: #1F3D2B;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .drive-grid {
    grid-template-columns: 1fr;
  }
}
.drive-card:hover img {
  transform: scale(1.03);
  transition: 0.3s ease;
}

/* EVENT LIST */
.event-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 40px;
}

/* CARD */
.event-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: center;
}

/* IMAGE */
.event-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

/* TEXT */
.event-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.event-card h3 span {
  font-size: 13px;
  color: #6B7280;
  margin-left: 8px;
}

.event-card p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 8px;
}

.event-card span {
  font-size: 13px;
  font-weight: 500;
  color: #1F3D2B;
}

/* HIGHLIGHT (EUPHORIA) */
.event-card.highlight {
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* MOBILE */
@media (max-width: 768px) {
  .event-card {
    grid-template-columns: 1fr;
  }

  .event-card img {
    height: 200px;
  }
}

/* GRID */
/* BETTER IMAGE LAYOUT */
.euphoria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* VARIED HEIGHTS (THIS IS THE KEY) */
.euphoria-grid img {
  width: 100%;
  height: 260px; /* bigger */
  object-fit: cover;
  border-radius: 12px;
}

/* make some images taller for premium feel */
.euphoria-grid img:nth-child(2),
.euphoria-grid img:nth-child(5) {
  height: 340px;
}

/* subtle hover */
.euphoria-grid img:hover {
  transform: scale(1.02);
  transition: 0.3s ease;
}

/* STATS */
.euphoria-stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: 30px;
}

.euphoria-stats h3 {
  font-size: 36px;
}

.euphoria-stats p {
  font-size: 13px;
  color: #6B7280;
}

/* MOBILE */
@media (max-width: 768px) {
  .euphoria-grid {
    grid-template-columns: 1fr;
  }

  .euphoria-stats {
    flex-direction: column;
    gap: 30px;
  }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.role {
  font-size: 13px;
  color: #6B7280;
  margin-bottom: 8px;
}

.team-grid p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
}

/* MOBILE */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.team-card img {
  width: 100%;
  height: 380px;  /* increase from 320 → gives breathing space */
  object-fit: cover;

  /* keep face slightly lower in frame */
  object-position: 20% 40%;
}
.team-card img {
  filter: contrast(1.05) brightness(1.02);
}

.team-card h3 {
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 13px;
  color: #6B7280;
  margin-bottom: 10px;
}

.team-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
}

.team-card:hover {
  transform: translateY(-4px);
  transition: 0.2s ease;
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
.section + .section {
  margin-top: -20px;
}

.section.tight {
  padding-top: 40px;
  padding-bottom: 60px;
}

.section h2 {
  margin-bottom: 18px;
}

.center-text {
  font-size: 17px;
  line-height: 1.75;
  color: #374151;
}

/* ================= TIMELINE ================= */

.timeline-section {
  padding: 120px 20px;
}

.timeline-title {
  text-align: center;
  font-size: 48px;
  margin-bottom: 10px;
}

.timeline-sub {
  text-align: center;
  color: #6B7280;
  margin-bottom: 80px;
}

/* WRAPPER */
.timeline {
  position: relative;
  max-width: 900px;
  margin: auto;
}

/* CENTER LINE */


/* ITEM */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 50px 0;
}

/* LEFT */
.timeline-item:nth-child(odd) {
  left: 0;
  display: flex;
  justify-content: flex-end;
  padding-right: 40px;
  text-align: right;
}

/* RIGHT */
.timeline-item:nth-child(even) {
  left: 50%;
  display: flex;
  justify-content: flex-start;
  padding-left: 40px;
  text-align: left;
}


.timeline-item.active .timeline-content {
  background: #ffffff;
  transform: translateY(-8px);

  box-shadow: 
    0 20px 60px rgba(0,0,0,0.08),
    0 5px 20px rgba(0,0,0,0.04);
}
.timeline-item {
  padding: 20px 0;
}
/* CONTENT BOX */
.timeline-content {
  width: 100%;
  max-width: 360px;

  padding: 16px 18px;
  border-radius: 14px;

  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(0,0,0,0.04);

  transition: all 0.4s ease;
}

.timeline-item::before {
  transition: 0.3s ease;
}

.timeline-content {
  position: relative;
}


.timeline {
  position: relative;
  max-width: 900px;
  margin: auto;
}

/* BASE LINE (invisible initially) */
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;

  background: rgba(0,0,0,0.08);
  transform: translateX(-50%);
}

/* PROGRESS LINE (animated) */
.timeline-progress {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 0;

  background: #111; /* pure black */
  transform: translateX(-50%);

  z-index: 2;
  transition: height 0.2s ease-out;
}


/* ALIGNMENT FIX */
.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 30px;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 30px;
}

/* TEXT */
.timeline-date {
  font-size: 12px;
  color: #6B7280;
}

.timeline-content h3 {
  margin: 8px 0;
  font-size: 18px;
}

.timeline-content p {
  font-size: 14px;
  color: #6B7280;
}

.timeline-content:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* ANIMATION */
.timeline-item {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}
.timeline-item {
  opacity: 0;
  transform: translateY(50px) scale(0.98);
  transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-item.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* MOBILE */
@media (max-width: 768px) {
  .timeline::before {
    left: 10px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 40px;
    text-align: left !important;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-item::before {
    left: 10px;
  }
.timeline-content {
  cursor: default;
}
  .timeline-content {
    margin: 0 !important;
  }
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
}

.blog-content span {
  font-size: 12px;
  color: #6B7280;
}

.blog-content h3 {
  margin: 6px 0;
  font-size: 18px;
}

.blog-content p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
}

/* hover = premium feel */
.blog-card:hover {
  transform: translateY(-6px);
}

.blog-card:hover img {
  transform: scale(1.02);
}

/* MOBILE */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-section {
  padding: 120px 20px;
}

.blog-container {
  max-width: 720px;
  margin: auto;
  text-align: left;
}

/* META */
.blog-meta {
  font-size: 13px;
  color: #6B7280;
  margin-bottom: 14px;
}

/* TITLE */
.blog-container h1 {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
}

/* BODY */
.blog-body p {
  font-size: 18px;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 22px;
}

/* NICE READING RHYTHM */
.blog-body p:first-of-type {
  font-size: 20px;
  color: #111827;
}

/* SUBTLE FADE-IN */
.blog-body {
  animation: fadeUp 0.8s ease forwards;
}

/* BLOG GRID */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

/* CARD */
.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;

  padding: 26px;
  border-radius: 14px;

  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.06);

  backdrop-filter: blur(8px);

  transition: all 0.25s ease;
}

/* HOVER = PREMIUM FEEL */
.blog-card:hover {
  transform: translateY(-8px);
  background: #ffffff;
  border-color: rgba(0,0,0,0.12);

  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* CONTENT */
.blog-date {
  font-size: 13px;
  color: #6B7280;
}

.blog-card h3 {
  font-size: 20px;
  margin: 10px 0 10px;
  color: #0F172A;
}

.blog-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #6B7280;
}

/* READ MORE */
.read-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  color: #1F3D2B;

  transition: 0.2s ease;
}

.blog-card:hover .read-more {
  margin-left: 6px;
}

/* ANIMATION */
.blog-card {
  opacity: 0;
  transform: translateY(30px);
}

.blog-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* HIDE MOBILE BUTTON ON DESKTOP */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* MOBILE MENU */
/* OVERLAY (adds depth like Apple UI) */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);

  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 999;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* SIDEBAR */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  height: 100vh;

  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(18px);

  padding: 90px 28px;

  display: flex;
  flex-direction: column;
  gap: 26px;

  border-left: 1px solid rgba(0,0,0,0.08);

  box-shadow: -20px 0 60px rgba(0,0,0,0.08);

  transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1000;
}
@media (max-width: 768px) {

  .container {
    padding: 0 16px;
  }

  section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .card,
  .blog-card,
  .resource-card,
  .timeline-content {
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.06);

    box-shadow: 
      0 6px 20px rgba(0,0,0,0.04),
      0 1px 3px rgba(0,0,0,0.03);
  }
}
/* OPEN STATE */
.mobile-menu.open {
  right: 0;
}

/* LINKS */
.mobile-menu a {
  font-size: 20px;
  font-weight: 500;
  color: #111;

  padding: 6px 0;
  transition: 0.2s;
}

.mobile-menu a:active {
  opacity: 0.5;
}

/* CLOSE BUTTON */
.menu-close {
  position: absolute;
  top: 22px;
  right: 22px;

  font-size: 22px;

  width: 36px;
  height: 36px;

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

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

  cursor: pointer;
}
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);

  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;

  z-index: 999;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

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

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

/* FEATURED SECTION */
.resource-feature {
  max-width: 760px;
  margin: 0 auto 90px;

  padding: 50px 60px;

  border-radius: 18px;

  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.05);

  backdrop-filter: blur(10px);

  text-align: center;
}

/* tighten text alignment */
.resource-feature h2 {
  font-size: 38px;
  color: #1F3D2B;
  margin-bottom: 14px;
}

.resource-feature p {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.7;

  max-width: 520px;   /* 🔥 THIS FIXES VISUAL CENTERING */
  margin: 0 auto 26px;
}

/* GRID */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

/* CARD */
.resource-card {
  padding: 24px;
  border-radius: 12px;

  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.06);

  transition: all 0.25s ease;
  text-align: left;
}

.resource-card:hover {
  transform: translateY(-6px);
  background: #fff;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

/* MOBILE */
@media (max-width: 768px) {
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-feature {
    padding: 24px;
  }
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.resource-card:hover h3 {
  color: #1F3D2B;
}

.resource-feature {
  max-width: 720px;
  margin: 0 auto 90px;
  text-align: center;
}

.resource-feature h2 {
  font-size: 36px;
  color: #1F3D2B;
  margin-bottom: 12px;
}
.resource-feature {
  box-shadow: 
    0 10px 30px rgba(0,0,0,0.04),
    0 2px 6px rgba(0,0,0,0.03);
}
.resource-feature .btn {
  margin-top: 10px;
}
.resource-card {
  background: rgba(255,255,255,0.65);
  border-radius: 14px;
}

.resource-feature p {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 26px;
}

.resource-grid-small {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: auto;
}

.resource-card {
  padding: 22px;
  border-radius: 14px;

  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.05);

  backdrop-filter: blur(8px);

  transition: all 0.25s ease;
}

.resource-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.85);
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.resource-card h3 {
  margin-bottom: 6px;
}

.resource-card p {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .resource-grid-small {
    grid-template-columns: 1fr;
  }

  .resource-feature {
    margin-bottom: 60px;
  }
}

.resource-card:nth-child(1):hover { border-color: #0A66C2; } /* LinkedIn */
.resource-card:nth-child(2):hover { border-color: #000000; } /* X */
.resource-card:nth-child(3):hover { border-color: #E1306C; } /* Instagram */
.resource-card:nth-child(4):hover { border-color: #25D366; } /* WhatsApp */
.resource-card:nth-child(5):hover { border-color: #9333EA; } /* Brochure */

/* ================= MOBILE EXPERIENCE UPGRADE ================= */

@media (max-width: 768px) {

  /* GLOBAL SPACING SYSTEM */
  body {
    font-size: 15px;
  }

  .section {
    padding: 50px 18px;
  }

  .container {
    padding: 0 10px;
  }

  /* TYPOGRAPHY (VERY IMPORTANT) */
  h1 {
    font-size: 34px !important;
    line-height: 1.2;
  }

  h2 {
    font-size: 26px !important;
  }

  .center-text {
    font-size: 15.5px;
    line-height: 1.7;
  }

  /* HERO FIX */
  .hero {
    padding: 120px 20px 80px;
  }

  .hero h1 {
    font-size: 38px;
  }

  /* NAVBAR CLEANUP */
  .navbar {
    padding: 16px 18px;
  }

  .logo span {
    font-size: 16px;
  }

  /* CARDS → LESS BOX, MORE FLOW */
  .card,
  .blog-card,
  .resource-card,
  .timeline-content {
    border-radius: 12px;

    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(8px);

    border: 1px solid rgba(0,0,0,0.05);

    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* TAP ANIMATION (MOBILE DOESN'T HAVE HOVER) */
  .card:active,
  .blog-card:active,
  .resource-card:active {
    transform: scale(0.98);
  }

  /* STRONGER SCROLL ANIMATION */
  .fade {
    transform: translateY(40px) scale(0.98);
    opacity: 0;
  }

  .fade.show {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  /* TIMELINE FIX (VERY IMPORTANT) */
  .timeline {
    padding-left: 10px;
  }

  .timeline::before {
    left: 6px;
  }

  .timeline-progress {
    left: 6px;
  }

  .timeline-item {
    padding-left: 24px;
    margin-bottom: 10px;
  }

  .timeline-content {
    max-width: 100%;
  }

  /* BLOG CARDS → MORE READABLE */
  .blog-card {
    padding: 22px;
  }

  .blog-card h3 {
    font-size: 18px;
  }

  .blog-card p {
    font-size: 14px;
  }

  /* RESOURCE FEATURE (CENTERING FIX) */
  .resource-feature {
    padding: 30px 20px;
    margin-bottom: 60px;
  }

  .resource-feature h2 {
    font-size: 28px;
  }

  .resource-feature p {
    font-size: 14.5px;
  }

  /* GRID SYSTEM FIX */
  .grid,
  .blog-grid,
  .drive-grid,
  .team-grid {
    gap: 20px;
  }

  /* EVENT CARDS */
  .event-card {
    gap: 16px;
  }

  /* BUTTON FEEL */
  .btn {
    padding: 12px 18px;
    font-size: 14px;
  }

  /* FOOTER */
  footer {
    padding: 50px 20px;
  }

  /* IMAGE FIXES */
  .about-hero img {
    height: 220px;
  }

  .drive-card img {
    height: 220px;
  }

  .team-card img {
    height: 260px;
  }
}

* {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
  .navbar {
    padding: 14px 16px;
  }
}

.card:active,
.blog-card:active,
.resource-card:active {
  transform: scale(0.97);
}

@media (max-width: 768px) {
  p {
    font-size: 15.5px;
    line-height: 1.75;
  }
}

.member-links {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.member-links a {
  font-size: 16px;
  text-decoration: none;
  opacity: 0.6;
  transition: 0.2s;
}

.member-links a:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.member-contact {
  margin-top: 12px;
}

.member-contact p {
  font-size: 13px;
  color: #6B7280;
  margin: 4px 0;
}

.member-contact a {
  color: #1F3D2B;
  text-decoration: none;
  font-weight: 500;
}

.member-contact a:hover {
  text-decoration: underline;
}
