/* ===== Base ===== */
:root {
  --navy: #1f2d5c;
  --navy-dark: #16214a;
  --gold: #f2b600;
  --gold-dark: #d9a400;
  --text: #444c66;
  --muted: #8a90a5;
  --line: #e6e9f2;
  --bg-soft: #f4f7fc;
}

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

.home-redesign-wrapper { padding-top: 140px; }
@media (max-width: 1024px) { .home-redesign-wrapper { padding-top: 130px; } }
@media (max-width: 768px)  { .home-redesign-wrapper { padding-top: 118px; } }
@media (max-width: 480px)  { .home-redesign-wrapper { padding-top: 112px; } }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 15px;
}

h1, h2, h3, .brand-name, .stat-num, .btn {
  font-family: 'Poppins', sans-serif;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: 8px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  padding: 10px 22px;
  font-size: 14px;
}
.btn-gold:hover { background: var(--gold-dark); }
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-dark); }
.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ===== Top Bar ===== */
.topbar {
  background: var(--navy);
  padding: 12px 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.brand-name {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 1px;
}
.brand-name.light { color: #fff; }
.brand-divider {
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, .3);
}
.brand-sub {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.top-link {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.top-link:hover { color: var(--gold); }
.top-sep { color: rgba(255, 255, 255, .3); }

/* ===== Main Nav ===== */
.mainnav {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.nav-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 17px 2px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 3px solid transparent;
}
.nav-list a i {
  font-size: 10px;
  color: var(--muted);
}
.nav-list a:hover,
.nav-list a.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
  font-weight: 600;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(180deg, #dceafb 0%, #eaf3fc 70%, #f6faff 100%);
  overflow: hidden;
}
.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 63%;
  height: 100%;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #dfecfa 0%, rgba(223, 236, 250, 0) 30%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 68px;
  padding-bottom: 110px;
}
.hero-content { max-width: 480px; }
.hero-kicker {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 18px;
}
.hero-title {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.18;
  color: var(--navy);
  margin-bottom: 22px;
}
.hero-title .gold { color: var(--gold); }
.hero-text {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 420px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
}

/* ===== Stats ===== */
.stats-wrap {
  margin-top: -58px;
  position: relative;
  z-index: 3;
}
.stats-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(31, 45, 92, .1);
  display: flex;
  padding: 28px 10px;
}
.stat {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.stat-icon.navy { background: var(--navy); color: #fff; }
.stat-icon.gold { background: var(--gold); color: var(--navy); }
.stat-body { display: flex; flex-direction: column; }
.stat-num {
  font-size: 27px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.stat-label {
  font-size: 13.5px;
  color: var(--muted);
}

/* ===== Content 3-col ===== */
.content { padding: 55px 0 45px; }
.content-grid {
  display: grid;
  grid-template-columns: 37% 1fr 31%;
  gap: 36px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.section-head h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
}
.view-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.view-all:hover { color: var(--navy); }

/* Featured projects */
.project-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.project-card img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}
.project-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.project-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 10px;
}
.read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.read-more:hover { color: var(--navy); }

/* News list */
.news-list {
  display: flex;
  flex-direction: column;
}
.news-item {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.news-item:first-child { padding-top: 0; }
.news-item:last-child { border-bottom: none; }
.news-item img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.news-item h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 4px;
}
.news-item p {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 4px;
}
.news-date {
  font-size: 12px;
  color: var(--muted);
}

/* Events */
.event-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.event-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(31, 45, 92, .04);
}
.event-date {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Poppins', sans-serif;
}
.event-date b {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}
.event-date small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
}
.event-item h3 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.event-item p {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== Quick links ===== */
.quicklinks {
  background: var(--bg-soft);
  padding: 40px 0;
}
.quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}
.quicklink {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ql-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}
.ql-icon.dark { color: #fff; }
.quicklink h3 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.quicklink p {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 8px;
}
.quicklink a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.quicklink a:hover { color: var(--navy); }

/* ===== Partners ===== */
.partners { padding: 34px 0 44px; }
.partners-title {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 26px;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}
.partner {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
}
.partner-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.partner-mark.seal-navy { background: var(--navy); }
.partner-mark.seal-red { background: #b3282d; }
.partner-mark.globe { background: #009fda; }
.partner-text {
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.partner-text.small { font-size: 10px; letter-spacing: .5px; }
.partner-text.bold { font-size: 11px; }
.partner-text.ms {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: #737373;
}
.partner-text.infosys {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #007cc3;
  font-style: italic;
}
.ms-logo {
  display: inline-grid;
  grid-template-columns: repeat(2, 11px);
  grid-template-rows: repeat(2, 11px);
  gap: 2px;
  flex-shrink: 0;
}
.ms-sq { display: block; }
.ms-sq.r { background: #f25022; }
.ms-sq.g { background: #7fba00; }
.ms-sq.b { background: #00a4ef; }
.ms-sq.y { background: #ffb900; }
.usaid {
  display: flex;
  align-items: center;
  gap: 8px;
}
.usaid-flag {
  width: 30px;
  height: 20px;
  flex-shrink: 0;
  background:
    linear-gradient(180deg,
      #b3282d 0%, #b3282d 25%, #fff 25%, #fff 50%,
      #b3282d 50%, #b3282d 75%, #fff 75%, #fff 100%);
  border: 1px solid #d3d7e0;
  border-radius: 2px;
  position: relative;
}
.usaid-flag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 45%;
  height: 55%;
  background: #002f6c;
}
.usaid-text {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #002f6c;
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.usaid-text small {
  font-size: 5.5px;
  font-weight: 600;
  letter-spacing: .3px;
  color: #b3282d;
  margin-top: 2px;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  color: #cfd5e8;
  padding: 30px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.footer-brand { align-items: center; flex-shrink: 0; }
.footer-brand .brand-logo { width: 42px; height: 42px; }
.footer-brand .brand-logo img { width: 36px; height: 36px; }
.footer-brand .brand-name { font-size: 24px; }
.footer-brand-sub {
  font-size: 11px;
  color: #aab2cf;
  line-height: 1.35;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 22px;
  row-gap: 8px;
  flex: 1;
}
.footer-nav a {
  font-size: 13px;
  color: #cfd5e8;
}
.footer-nav a:hover { color: var(--gold); }
.footer-right {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}
.footer-contact li {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
}
.footer-contact li:last-child { margin-bottom: 0; }
.footer-contact i { color: var(--gold); font-size: 13px; width: 15px; }
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
  transition: background .2s, color .2s;
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* ===== Responsive (basic) ===== */
@media (max-width: 1200px) {
  .nav-list { flex-wrap: wrap; justify-content: flex-start; gap: 0 22px; }
  .content-grid { grid-template-columns: 1fr 1fr; }
  .col-events { grid-column: 1 / -1; }
  .quicklinks-grid { grid-template-columns: repeat(3, 1fr); }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-card { flex-wrap: wrap; }
  .stat { flex: 1 1 33%; padding: 12px 0; border-right: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 760px) {
  .topbar-inner { flex-direction: column; gap: 14px; }
  .hero-image { position: static; width: 100%; height: 260px; }
  .hero-image::before { display: none; }
  .hero-inner { padding-top: 34px; }
  .content-grid { grid-template-columns: 1fr; }
  .project-cards { grid-template-columns: 1fr; }
  .quicklinks-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { flex: 1 1 100%; }
}

/* ===== Partners & Collaborators (home page) ===== */
.partners-section {
  background: #fff;
  padding: 50px 0 60px;
}
.partners-section .partners-title {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 30px;
}
.partners-swiper {
  position: relative;
  padding: 0 50px 20px;
}
.partners-swiper .swiper-wrapper {
  align-items: center;
}
.swiper-button-next.swiper-button-next,
.swiper-button-prev.swiper-button-prev {
  color: var(--navy);
  width: 44px;
  height: 44px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.swiper-button-next.swiper-button-next:hover,
.swiper-button-prev.swiper-button-prev:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.swiper-button-next.swiper-button-next::after,
.swiper-button-prev.swiper-button-prev::after {
  font-size: 18px;
  font-weight: 800;
}
.partner-card {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 100px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 24px;
  background: #fff;
  text-decoration: none;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
a.partner-card:hover {
  border-color: var(--navy);
  box-shadow: 0 6px 18px rgba(31, 45, 92, .08);
  transform: translateY(-2px);
}
.partner-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 760px) {
  .partner-card { min-width: 150px; height: 84px; }
}
