/* Smooth scrolling for Experience page */
html {
  scroll-behavior: smooth;
}

.topnav {
width: 10%;
}
.logo-top-left {
  position: absolute;
  top: 1px;
  left: 10px;
  z-index: 20;
  pointer-events: auto;
}
.logo-top-left img {
  width: 130px;
  transition: all 0.3s ease;
}
.topnav.scrolled .logo-top-left img {
  width: 100px;
}
@media screen and (max-width: 600px) {
  .topnav {
    flex-direction: column;
    align-items: flex-start;
  }
  .topnav a:not(:first-child) {
    display: none;
  }
  .topnav.responsive a {
    display: block;
  }
  .topnav.scrolled.responsive {
    height: auto !important;
  }
  .topnav a.icon {
    display: block;
  }
  .logo-top-left img {
    width: 35%;
  }
}
/* Experience Cards Grid Layout */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 40px;
  justify-items: center;
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

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

.card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

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

.card-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 16px;
}

.card .btn {
  margin-top: auto;
  align-self: flex-start;
  background-color: #003366;
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  transition: background 0.3s, transform 0.3s ease;
}

.card .btn:hover {
  background-color: #0059b3;
  transform: scale(1.05);
}


.pagination {
  display: flex;
  justify-content: center;
  padding: 32px;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination a {
  padding: 6px 12px;
  background: #eee;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.pagination a.active {
  background: #003366;
  color: white;
}
.hero-image {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-text.left-center {
  position: absolute;
  top: 50%;
  left: 60px;
  transform: translateY(-50%);
  color: white;
  font-size: 2rem;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
@media (max-width: 800px){
  .hero-text.left-center{
    font-size: 1.5rem;
  }
}
