/* ---------- Base ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: #ffffff;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

/* ---------- Header ---------- */
header {
  border-bottom: 1px solid #ddd;
}

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

.brand {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
}

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

.nav__list a {
  font-weight: 400;
}

.nav__list a:hover {
  color: #0b5394;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 1rem;
  padding-bottom: 2rem;
  max-width: 1000px;
  margin: 0 auto;

}

.hero-projects {
  padding-top: 1rem;
  max-width: 1000px;
  margin: 0 auto;

}

.hero__content {
  text-align: center;
}

.hero__inner {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  text-align: left;
}

.hero__inner_article {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.hero__photo img {
  width: 200px;  
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.hero__photo_about img {
  width: 250px;  
  height: 250px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .hero__photo_about img {
    display: none;
  }
  .hero__photo img {
    display: none;
  }
}

.hero__title {
  font-size: 2rem;
  font-weight: 600;
  text-align: left;
  margin-bottom: 1rem;
}

.hero__title_about {
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 600;
  text-align: left;
}

.hero__subtitle {
  font-size: 2rem; 
  font-weight: 400;
}

.hero__lede {
  font-size: 0.9rem; 
  max-width: 60ch;
  text-align: left;
}

.hero__lede_about {
  font-size: 0.9rem; 
  max-width: 60ch;
  text-align: left;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 0.5rem;
    padding-bottom: 1.5rem;
  }

  .hero__inner {
    margin-top: 0;
    gap: 1rem;
  }
  .hero__photo {
    display: none;
  }

  .hero__inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .hero__content {
    text-align: center;
  }
}


/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  border-radius: 25px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  border: none;
  background-color: #0b5394;
  color: #fff;
}

.btn:hover,
.btn:focus {
  background-color: #1c65a6;
}

.btn:visited {
  color: #fff;
}


@media (max-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__art {
    order: -1;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__highlights {
    text-align: center;
  }

  header .container {
    flex-direction: column;
    gap: 1rem;
    height: auto;
    padding: 1rem 0;
  }
}




/* ---------- Resources Section ---------- */
.resources {
  padding-top: 1rem;
  padding-bottom: 2.5rem;
  text-align: center;
  background-color: #f1f4f7;
}

.resources__title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
}

.resources__subtitle {
  padding-bottom: 1rem;
  font-size: 1rem;
}

.resources__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.resource {
  background: #fff;
  padding: 1.5rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resource_article {
  border-radius: 12px;
  text-align: center;
}

.resource:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

.resource__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: left;
  color:#0b5394;
}

.resource__title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  text-align: left;
}

.resource__desc {
  font-size: 0.9rem;
  color: #444;
  text-align: left;
}

.btn--secondary {
  display: block;  
  background-color: #eee;
  color: #333;
  transition: background-color 0.2s ease, color 0.2s ease;
  border: none;
  background-color: #0b5394;
  color: #fff;
}

.btn--secondary:hover {
  background-color: #1c65a6;
}





/* ---------- About Page ---------- */

.about-intro {
  padding: 4rem 0;
}
.about-intro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.about-intro__photo img {
  margin: 0 auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}

.about-intro__content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.about-intro__content p {
  margin-bottom: 1rem;
  max-width: 65ch;
  text-align: left;
}

/* ---------- Social Links ---------- */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.social-links a {
  font-size: 2rem;
  transition: color 0.2s;
}

.social-links a:hover { color: #1c65a6; }


/* ---------- Experience: Logo + Details Layout ---------- */
.about-experience {
  padding-top: 1.5rem;
  padding-bottom: rem;
  background-color: #f1f4f7;
}

.about-experience h2 {
  font-size: 1.75rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.experience-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.experience-logo img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  display: block;
}

.experience-content {
  flex: 1;
}

.experience-dates {
  display: block;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 0.25rem;
}

.experience-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.experience-content h3 span {
  font-weight: 500;
}

.experience-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .experience-item {
    flex-direction: column;
    align-items: left;
    text-align: left;
  }
  .experience-logo img {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}



/* ---------- Articles Section ---------- */
.article-library {
  background-color: #fff;
  text-align: center;
}

.article-library .library-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.categories {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.categories .category {
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 999px;
  background-color: #f3f4f6;
  color: #333;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.categories .category:hover {
  background-color: #e2e8f0;
}

.categories .category.active {
  background-color: #1c65a6;
  color: #fff;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 2rem auto;
  text-align: left;
  justify-content: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 2rem auto;
  text-align: left;
  justify-content: center;
}

.article-grid-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto 0;
  text-align: left;
}

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

.article-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card-horizontal {
  max-width: 700px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card-horizontal img {
  object-fit: cover;
  width: 40%;
}

.article-card-horizontal .article-content {
  flex: 1;
  padding: 1.25rem;
}

.article-card:hover,
.article-card-horizontal:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

.article-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.article-content {
  padding: 1rem;
}

.article-content .tag {
  display: inline-block;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #eef2f7;
  color: #1c65a6;
}

.article-content .date {
  font-size: 0.8rem;
}

.article-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.75rem 0;
}

.article-content p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.read-more {
  display: block;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1c65a6 !important;
  text-decoration: none;
  transition: all 0.2s ease;
}

.read-more:hover {
  text-decoration: underline;
  color: #13497a;
}

/* Mission banner */
.mission-banner {
  background-color: #eef2f7;
  border-left: 6px solid #0a66c2;
  border-radius: 6px;
  padding: 1rem;
  max-width: 1000px;
}

.mission-banner h3 {
  margin: 0;         
  margin-bottom: 0.4rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.mission-banner p {
  margin: 0; 
  font-size: 0.9rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .article-card-horizontal {
    flex-direction: column;
  }

  .article-card-horizontal img {
    width: 100%;
    height: 180px;
  }
}

.container {
  max-width: 1000px;
}








.experience {
  padding: 1rem 1rem;
  background-color: #eef2f7;
}

.experience__title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: #1c1c1c;
}

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

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: #0a66c2;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-icon {
  width: 50px;
  height: 50px;
  background: #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.timeline-icon img {
  max-width: 40px;
  max-height: 40px;
}

.timeline-content {
  margin-left: 2.5rem;
}

.timeline-date {
  font-size: 0.9rem;
  font-weight: 500;
  color: #666;
  display: block;
  margin-bottom: 0.3rem;
}

.timeline-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.timeline-content p {
  margin: 0;
  line-height: 1.5;
  color: #444;
  font-size: 0.9rem;
}








/* --- Hamburger --- */

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand {
  margin: 1 auto;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #1c1c1c;
  border-radius: 2px;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #eef2f7;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  transition: left 0.3s ease;
  z-index: 1000;
}

.nav-overlay.active {
  left: 0;
}

.nav-overlay .close-btn {
  font-size: 2.25rem;
  background: none;
  border: none;
  align-self: flex-end;
  cursor: pointer;
}

.nav-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.nav-overlay li {
  margin: 1.2rem 0;
}

.nav-overlay a {
  font-size: 1.25rem;
  font-weight: 500;
  color: #1c1c1c;
}

@media (max-width: 768px) {
  .nav__list {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hamburger.hide {
    display: none !important;
  }
}





#contact {
  padding: 1rem 1rem;
  padding-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.contact-container {
  max-width: 420px;
  width: 100%;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

#contact h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

.contact-form label {
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.1rem;
  font-weight: 500;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  background-color: transparent;
  transition: border-color 0.2s ease;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: #888;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1c65a6;
  outline: none;
}


.contact-form button {
  width: 100%;
  padding: 0.9rem;
  background: #1c65a6;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background: #0b5394;
}

.direct-email {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  text-align: center;
}

.direct-email a {
  color: #0b5394;
  font-weight: 500;
  text-decoration: none;
}

.direct-email a:hover {
  text-decoration: underline;
}


/* ---------- Footer ---------- */
footer {
  border-top: 1px solid #ddd;
  padding: 2rem 0;
  text-align: center;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.social {
  display: flex;
  gap: 1rem;
}