/* Universal styling */
* {
  font-family: "Montserrat";
  margin: 0;
  padding: 0;
}

.section-title {
  font-size:x-large;
  font-weight: bolder;
  color: #054068;
  text-align: left
}

header {
  background-color: #f0f0f0;
  padding: 16px 0px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  z-index: 1000;
  top: 0;
}


.myname {
  font-size: 2em;
  font-weight: bold;
  color: #054068;
  flex-grow: 10;
  margin-left: 0;
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

#home {
  padding-top: 10px;
  padding-right: 40px;
  padding-left: 40px;
  scroll-margin-top: 80px;
  background-color: #fcfcfc;

}

#about a {
  color: #135499; 
  text-decoration: none;
}

#about a:hover {
  color: #ff6600;
}

#about {
  padding-top: 10px;
  padding-right: 40px;
  padding-left: 40px;
  scroll-margin-top: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#my-skills {
  padding-top: 10px;
  padding-right: 40px;
  padding-left: 40px;
  padding-bottom: 10px; 
  background-color: #fcfcfc;
  scroll-margin-top: 80px;
}

#my-journey {
  padding-top: 10px;
  padding-right: 40px;
  padding-left: 40px;
  scroll-margin-top: 80px;
}

#projects {
  padding-top: 10px;
  padding-bottom: 20px;
  padding-right: 40px;
  padding-left: 40px;
  background-color: #fcfcfc;
  scroll-margin-top: 80px; /* Adjust this to match your navbar height */
}

#awards {
  padding-top: 10px;
  padding-right: 40px;
  padding-left: 40px;
  scroll-margin-top: 80px;
  padding-bottom: 10px;
  background-color: #fcfcfc;
}

#engagements {
  padding-top: 10px;
  padding-right: 40px;
  padding-left: 40px;
  scroll-margin-top: 80px;
  padding-bottom: 10px;
}

#contact {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 40px;
  padding-left: 40px;
  scroll-margin-top: 80px;
}

/* Active nav link styling */
.nav-links .pages a { position: relative; }

.nav-links .pages a.active {
  color: #054068; /* brand */
}

/* underline indicator on desktop */
.nav-links .pages a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  background: #1f8ef1; /* accent */
  border-radius: 2px;
}

/* On mobile dropdown, use a soft pill highlight instead of underline */
@media (max-width: 880px) {
  .nav-links .pages a.active {
    background: #eef4fb;
    border-radius: 8px;
    padding: 10px 6px; /* keeps touch target comfy */
  }
  .nav-links .pages a.active::after { display: none; }
}

/* Profile Section */
.profile-container {
  position: relative; /* Needed for absolute positioning of pseudo-element */
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 90vh;
  gap: 40px;
  z-index: 1; /* Ensures content stays above the background layer */
  overflow: hidden;
}

/* adding transparency to the background image*/
.profile-container::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("/Images/background.jpg");
  background-repeat: repeat-x;
  background-size: cover;
  background-position: center;
  opacity: 0.15; /* Adjust transparency level */
  z-index: -1; /* Push it behind the container content */
}


.profile-container img {
  border-radius: 50%;
  align-items: center;
  width: 250px;
  height: 250px;
  background-color: #cfcfcf;
  
}

.profile-container p {
  margin: 0;
  line-height: 1.8;
}


/* CV Button */
.cv-button {
  margin-top: 10px;
}

.cv-button .btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #054068;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px; /* pill-shaped button */
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.25);
  transition: all 0.3s ease-in-out;
}

.cv-button .btn:hover {
  background-color: #0056b3;
  box-shadow: 0 6px 14px rgba(0, 86, 179, 0.35);
  transform: translateY(-2px);
}

.cv-button .btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 86, 179, 0.25);
}


.about-container {
  display: flex;
  align-items: flex-start; /* Align image and text at the top */
  justify-content: center;
  gap: 100px;
  max-width: 1200px;
  margin: 0 auto;
  padding-right: 40px;
  padding-left: 40px;
  padding: 40px;
}

.about-image {
  width: 350px;
  height: auto;
  border: 4px solid #ccc;
  padding: 10px;
  background-color: #fff;
}

.about-image img {
  width: 100%;
  min-height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin: 0;
  font-size: 0.2;
  line-height: 1.7;
  text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 30px;
  }

  .about-image {
    width: 90%;
  }

  .about-text p {
    text-align: left;
  }
}

/* === About: Metric cards (compact) === */
.about-stats{
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.stat-card{
  background: #ffffff;
  border: 2px solid #ffffff; /* clean edge; gradient border on hover */
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,.06);
  text-align: center;
  padding: 10px 12px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.stat-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,.10);
  border-color: transparent;
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(135deg, rgba(5,64,104,.30), rgba(31,142,241,.25)) border-box;
}

.stat-card i{
  font-size: 1.1rem;
  color: #054068; /* brand */
  margin-bottom: 4px;
}

.stat-number{
  display: block;
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1.05;
  color: #054068;
}

.stat-label{
  display: block;
  margin-top: 3px;
  color: #444;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Small tweaks on narrow screens */
@media (max-width: 520px){
  .stat-number{ font-size: 1.35rem; }
  .stat-card{ padding: 9px 10px; }
}


.name {
  color: #3498db;
  font-weight: bolder;
  font-size:large;
}

.pages-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  flex-direction: row;
  gap: 20px;
  padding: 0 30px;
}

.pages {
  padding: 1px 1px;
}

.pages a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 13.5px;
  transition: color 0.3s ease-in-out;
}

.pages a:hover {
  color: #007bff;
}

/* === Additions for hamburger without touching your existing styles === */

/* Base button (hidden on desktop by default) */
.hamburger{
  display:none;
  border:1px solid #d1d5db;
  background:#ffffff;
  padding:8px 10px;
  border-radius:10px;
  box-shadow:0 3px 6px rgba(0,0,0,.06);
  cursor:pointer;
}
.hamburger span{
  display:block;
  width:22px;
  height:2px;
  background:#111;
  margin:5px 0;
  transition:transform 220ms ease, opacity 220ms ease;
}

/* Mobile layout */
@media (max-width: 880px){
  /* show hamburger */
  .hamburger{ display:inline-block; }

  /* stack container items neatly */
  .pages-container{
    position:relative;            /* contain the dropdown */
    padding: 12px 40px;           
  }

  /* turn the links into a dropdown panel */
  .nav-links{
    position:fixed;
    left:0;
    right:0;
    top:64px;                     
    background:#ffffff;
    border-bottom:1px solid #e5e7eb;
    padding:14px 20px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:12px;

    /* hide by default on mobile */
    transform:translateY(-12px);
    opacity:0;
    pointer-events:none;
    transition:transform 220ms ease, opacity 220ms ease;
    z-index:999;                  
  }

  /* visible when toggled */
  .nav-links.active{
    transform:translateY(0);
    opacity:1;
    pointer-events:auto;
  }

  /* make touch targets comfy */
  .nav-links .pages a{
    padding:10px 6px;
  }
}

/* Animate hamburger into an “X” when active */
.hamburger.active span:nth-child(1){ transform: rotate(45deg) translateY(7px); }
.hamburger.active span:nth-child(2){ opacity:0; }
.hamburger.active span:nth-child(3){ transform: rotate(-45deg) translateY(-7px); }


body {
  background-color: #e9e5e5;
  text-align: left;
  padding: 0;
  margin: 0;
  font-size: small;

}

ol {
  list-style-type: decimal;
  padding-left: 20px;
  max-width: 97%;
 
}

ul {
  list-style-type: disc;
  padding-left: 30px;
 
}

.link {
  text-decoration: navajowhite;
  color: #ededee;
  padding: 12px;
  border-radius: 15px;
  box-shadow: 0 0 10px #c4bdbd;
  margin-top: 0;
  margin-bottom: 0;
  margin: 0%;
  background-color: #f0f0f0;
}

a:hover {
  color: #863636;
}

p {
  max-width: 100%;
  margin: 0;
  padding: 5px;
  line-height: 1;
}

/* ===== Projects — semantic article cards ===== */

.projects-grid{
  width:min(1200px,92%);
  margin-inline:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:18px;
  padding-top:10px;
  align-items:start;
}

.project-card{
  background:var(--card);
  border:1.5px solid #ffffff;
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  transition:transform var(--speed) ease, box-shadow var(--speed) ease, border-color var(--speed) ease;
  position:relative;
  isolation:isolate; 
}

/* subtle gradient border on hover */
.project-card::before{
  content:"";
  position:absolute; inset:0;
  border-radius:inherit;
  padding:1.5px;
  background:linear-gradient(135deg, rgba(31,142,241,.25), rgba(100,210,255,.15));
  /* … any mask props you kept … */
  opacity:0; 
  transition:opacity var(--speed) ease;
  pointer-events: none;   /* <-- add this */
}


.project-card:hover::before{ opacity:1; }

.project-media{ display:block; overflow:hidden; }
.project-media img{
  width:100%; height:200px; object-fit:cover;
  transition:transform var(--speed) ease, filter var(--speed) ease;
}
.project-card:hover .project-media img{
  transform:scale(1.04);
  filter:saturate(1.05);
}

.project-head{
   padding:12px 14px 4px; 
    }
.project-head h3{
  font-size:0.9rem;
  margin:0;
  color:#0e2b3d; /* sits well with your theme */
}

.project-body{ padding:0 14px 14px; }
.project-body p{
  margin:0;
  line-height:1.55;
  text-align:justify;
}

.project-foot{ padding:0 14px 16px; margin-top:auto; }

.project-link{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border:1px solid #e5e7eb; border-radius:10px;
  background:#fff; box-shadow:var(--shadow-sm);
  transition:transform var(--speed) ease, box-shadow var(--speed) ease, border-color var(--speed) ease, color var(--speed) ease;
}
.project-link::after{
  content:"→"; font-weight:700; transform:translateX(0);
  transition:transform var(--speed) ease;
}
.project-link:hover{
  transform:translateY(-2px);
  border-color:var(--accent-2);
  box-shadow:var(--shadow-md);
  color:#0b5180;
}
.project-link:hover::after{ transform:translateX(2px); }

/* responsive tweak: slightly taller media on small screens for nicer balance */
@media (max-width:520px){
  .project-media img{ height:220px; }
}

/* respect reduced motion */
@media (prefers-reduced-motion:reduce){
  .project-card, .project-media img, .project-link{ transition:none !important; }
}

/* ===== Awards & Certificates ===== */


.awards-grid {
  width:min(1200px,92%);
  margin-inline:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:18px;
}

/* Card shell */
.award-card{
  background:
    /* fill */
    linear-gradient(#fff, #fff) padding-box,
    /* gradient border */
    linear-gradient(135deg, rgba(31,142,241,.25), rgba(100,210,255,.18)) border-box;
  border:2px solid transparent;
  border-radius:20px;

  box-shadow:var(--shadow-sm);
  overflow:hidden;
  transition:transform var(--speed) ease, box-shadow var(--speed) ease, filter var(--speed) ease;
}

.award-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-md);
  filter:saturate(1.02);
}

/* Media */
.award-media { display:block; overflow:hidden; }
.award-media img{
  width:100%;
  height:260px;             
  object-fit:cover;
  transition:transform var(--speed) ease, filter var(--speed) ease;
}
.award-card:hover .award-media img{
  transform:scale(1.03);
  filter:saturate(1.05);
}


.award-media figcaption{
  padding:10px 12px 14px;
  font-size:.95rem;
  color:#0e2b3d;
}

/* Small-screen tweak */
@media (max-width:520px){
  .award-media img{ height:300px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion:reduce){
  .award-card, .award-media img{ transition:none !important; }
}
hr {
  margin: 10px 0;
  border: none;
  border-top: 2px solid #d8d8d800;
  width: 10%;
}


.section-subtitle {
  font-size: 0.7rem;
  color: #6c757d;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

/* Skills Section */

#my-skills .skills-container{
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 1.5rem;
  align-items: stretch;
}

#my-skills .skill-card{
  padding: 10px 30px;
  min-height: 40px;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background-color: #f9f9f9;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  min-width: 0;              
  max-width: 200px;
  text-align: center;
  overflow-wrap: anywhere;    
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease;
}

#my-skills .skill-card i{
  font-size: 1.05rem;          
  color: #007bff;              
}

#my-skills .skill-card:hover{
  transform: scale(1.02);
  border-color: #007bff;
  background-color: #e6f0ff;
}

/* Small tablets still get 3 columns */
@media (max-width: 768px){
  #my-skills .skills-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }
}

/* Phones: 2 columns + stack icon above text */
@media (max-width: 480px){
  #my-skills .skills-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }

  #my-skills .skill-card{
    flex-direction: column;         
    align-items: center;
    justify-content: center;
    padding: 9px 8px;
    min-height: 66px;
    text-align: center;
  }

  /* Better text wrapping: no random splits, but allow breaks if needed */
  #my-skills .skill-card span{
    font-size: 0.92rem;
    line-height: 1.15;
    white-space: normal;
    overflow-wrap: break-word;      
    word-break: break-word;         
    hyphens: auto;                  
  }

  #my-skills .skill-card i{
    font-size: 1rem;
    margin-bottom: 2px;
  }
}

/*experinece timeline*/
.timeline {
  position: relative;
  margin: 0 auto;
  padding: 20px 0;
  max-width: 700px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #1f8ef1;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 70px;
}

.timeline-dot {
  position: absolute;
  left: 22px;
  top: 5px;
  width: 16px;
  height: 16px;
  background-color: #1f8ef1;
  border: 3px solid white;
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 0 2px #1f8ef1;
}

.timeline-content {
  background: #ffffff;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}


.timeline-content .role {
  font-style: italic;
  color: #444;
  margin-top: 4px;
}

.timeline-content .date {
  font-size: 0.9rem;
  color: #999;
  margin-top: 6px;
}

/* === Contact — compact, calm, no layout shift === */
#contact{
  padding: 2rem 1.25rem;                /* was 4rem 2rem */
}
#contact .section-title{
  text-align: left;
  font-size: 1.5rem;                    /* was 2rem */
  margin-bottom: .9rem;                 /* was 1.6rem */
  color: #054068;
}

/* Cards grid (smaller columns & width cap) */
.contact-cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); /* was 220px */
  gap: .75rem;                             /* was 1rem */
  max-width: 900px;                        /* was 1200px */
  margin: 0 auto 1rem;                     /* was 2rem */
}

/* Card (smaller padding, softer shadow) */
.contact-card{
  background: #fff;
  border: 1px solid #ffffff;
  border-radius: 8px;                      /* was 12px */
  box-shadow: 0 2px 8px rgba(0,0,0,.06);   /* softer */
  padding: .65rem .75rem;                  /* was 0.2rem */
  text-align: center;
  transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.contact-card:hover{
  /* no translate to avoid layout jump */
  box-shadow: 0 6px 14px rgba(0,0,0,.10);
  border-color: #e9eef4;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(5,64,104,.12), rgba(31,142,241,.12)) border-box;
}
.contact-card i{
  font-size: 1.08rem;                      /* was 1.6rem */
  margin-bottom: .18rem;                   /* was .4rem */
  color: #054068;
}
.contact-card h3{
  font-size: .9rem;                        /* was 1rem */
  margin-bottom: .1rem;
  color: #054068;
  font-weight: 700;
}
.contact-card a{
  font-size: .92rem;
  color: #1d607b;
  text-decoration: none;
  word-break: break-word;
}
.contact-card a:hover{ text-decoration: underline; }

/* Form (smaller + softer) */
#contact-form{
  max-width: 560px;                        /* was 700px */
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;                     /* was 14px */
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  padding: 1rem;                           /* was 1.5rem */
}
.form-row{
  display: grid;
  grid-template-columns: 1fr;
  gap: .7rem;                              /* was 1rem */
}
@media (min-width: 720px){
  .form-row{ grid-template-columns: 1fr 1fr; }
}
.form-field{ display: flex; flex-direction: column; }
#contact-form label{
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .18rem;
  color: #3a3a3a;
}
#contact-form input,
#contact-form textarea{
  padding: .55rem .7rem;                   /* was .75 .9 */
  border: 1px solid #e5e5e5;               /* was 1.5px */
  border-radius: 8px;                       /* was 10px */
  background: #fff;
  color: #222;
  outline: none;
  font-size: 14px;                          /* smaller */
  transition: border-color .2s ease, box-shadow .2s ease;
}
#contact-form textarea{ resize: vertical; }
#contact-form input:focus,
#contact-form textarea:focus{
  border-color: #1d607b;
  box-shadow: 0 0 0 2px rgba(29,96,123,.16); /* subtler ring */
}

/* Submit button (compact, no hover move) */
#contact-form button,
#contact-form .btn-submit{
  background-color: #1d607b;
  color: #fff;
  border: none;
  padding: 9px 14px;                       /* was 12px 18px */
  font-size: 14px;                         /* was 16px */
  border-radius: 10px;
  cursor: pointer;
  min-width: 140px;                        /* was 180px */
  box-shadow: 0 3px 10px rgba(29,96,123,.22);
  transition: background-color .18s ease, box-shadow .18s ease;
}
#contact-form button:hover,
#contact-form .btn-submit:hover{
  background-color: #15495e;
  box-shadow: 0 6px 14px rgba(21,73,94,.26);
}

/* Mobile polish */
@media (max-width: 520px){
  #contact{ padding: 1.6rem 1rem; }
  #contact .section-title{ font-size: 1.35rem; margin-bottom: .7rem; }
  .contact-cards{
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: .6rem;
    max-width: 95%;
  }
  .contact-card{ padding: .55rem .6rem; border-radius: 8px; }
  .contact-card i{ font-size: 1rem; }
  .contact-card h3, .contact-card a{ font-size: .88rem; }
  #contact-form{ padding: .85rem; max-width: 520px; }
  #contact-form input, #contact-form textarea{ font-size: 13.5px; padding: .5rem .65rem; }
  #contact-form button{ width: 100%; max-width: 280px; }
}


/* ================Professional engagements ========== */
/* Year filter bar */
.year-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 12px auto 18px;
  padding: 6px;
}

.filter-btn {
  appearance: none;
  border: 1.5px solid #e5e7eb;
  background: #ffffff;
  color: #054068;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  padding: 10px 14px;
  border-radius: 999px;            /* pill */
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .15s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,.06);
}

.filter-btn:hover {
  border-color: #cdd7e1;
  transform: translateY(-1px);
}

.filter-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(5,64,104,.18);
  border-color: #1d607b;
}

.filter-btn.active {
  background: #054068;
  color: #fff;
  border-color: #054068;
  box-shadow: 0 6px 14px rgba(5,64,104,.25);
}

/* Grid */
.engagements-container {
  width: min(1000px, 90%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  align-items: start;
}

/* Card */
.engagement-card {
  background: #ffffff;
  border: 2px solid #ffffff;     
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
  position: relative;
}

/* Hover: on-brand gradient border (mask-free) */
.engagement-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
  border-color: transparent;
  background:
    linear-gradient(#969393, #fff) padding-box,
    linear-gradient(135deg, rgba(5,64,104,.30), rgba(31,142,241,.25)) border-box;
}

/* Media */
.engagement-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;           
  object-fit: cover;
  transition: transform .22s ease, filter .22s ease;
}
.engagement-card:hover > img {
  transform: scale(1.03);
  filter: saturate(1.05);
}

/* Content */
.engagement-info {
  padding: 12px 14px 16px;
}

.engagement-info h3 {
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: #0e2b3d;
}

.engagement-info .role,
.engagement-info .organization,
.engagement-info .location-date {
  margin: 2px 0;
  line-height: 1.45;
  color: #444;
}

.engagement-info a {
  color: #1d607b;                 /* secondary brand */
  text-decoration: none;
}
.engagement-info a:hover {
  text-decoration: underline;
}

/* Utility: allow JS to hide filtered cards cleanly */
.is-hidden { display: none !important; }

.site-footer {
  background-color: #757474;
  color: white;
  padding: 20px 40px;
  font-size: 14px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.social-icons a {
  color: white;
  margin-right: 15px;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #f36e6e; /* Optional: hover color */
}

.footer-copy {
  text-align: right;
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-copy {
    margin-top: 10px;
    text-align: center;
  }

  .social-icons {
    margin-bottom: 10px;
  }
}



