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



body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 60px;
  background-image: url('/assets/background.svg');
  background-size: cover;
}

@media (max-width: 768px) {
  body {}
}

header {
  position: fixed;
  width: 100%;
  background: #002c3b;
  padding: 2rem 2rem;
  z-index: 1000;
  margin: 0 auto;
  left: 0;
  right: 0;
  top: 0;
}

.logo {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding-left: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1440px;
}

@media(max-width: 768px) {
  nav {
    justify-content: center;
  }
}

.nav-btn {
  display: inline-block;
  padding: 0.5rem .75rem;
  background-color: #00415b;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  margin: 0 10px;
  transition: background 0.5s ease;
}

@media(max-width: 768px) {
  .nav-btn {
    margin: 0 3px;
    padding: 0.5rem .5rem;
  }
}

.nav-btn:hover {
  background-color: #666;
}

.container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1440px;
  padding: 5rem 1rem;
  margin: 0 auto;
  left: 0;
  right: 0;
  width: 100%;
}

.hero-section-div {
  justify-content: space-between;
  gap: 3rem;
  display: flex;
  flex-wrap: wrap;
}

.hero-section div {
  flex: 1;
  min-width: 200px;
}

.hero-section img {
  max-width: 300px;
  height: auto;
  border-radius: 8px;
}

.social-link {
  font-size: 20px;
  color: #0073b1;
  text-decoration: none;
  background-color: #cdcdcd69;
  border-radius: 3px;
  width: fit-content ;
  padding: .25rem;
}

.social-link:hover {
  background-color: #cdcdcd;
  border-radius: 3px;
  transition: background 0.3s ease;
}

.hero-btn {
  display: inline-block;
  width: fit-content ;
  padding: 0.5rem;
  background-color: #00415b;
  color: #fff;
  font-weight: 400;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  margin-top: 1rem;
}

.hero-btn:hover{
  background-color: #0073b1;
  transition: background .3s ease;
}

.info-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.education-certs-divs {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

button {
  padding: 0.25rem .5rem;
  background-color: #31f7b2;
  color: #000000;
  border: 1px;
  border-radius: 3px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.site-footer {
  text-align: left;
  background-color: #002c3b;
  color: #ffffff;
  width: 100%;
}

/* ==== SLIDING CARDS STYLES ==== */
.projects-section {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 1rem;
}

.projects-section h2 {
  font-size: 30px;
  margin-bottom: 1rem;
}

.card-slider {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  scroll-snap-type: x mandatory;
  padding: 1rem 1rem;
  scroll-behavior: smooth;
}

.card-slider::-webkit-scrollbar {
  height: 6px;
}

.card-slider::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 3px;
}

.card {
  min-width: 260px;
  max-width: 400px;
  flex: 0 0 auto;
  background-color: #ececec;
  border-radius: 8px;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  justify-content: space-between;
}

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

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3;
  color: #08536c;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.card button {
  color:#00415b;
  font-weight: bolder;
  font-size: 1.2rem;
  background-color:rgb(177, 229, 255);
}

/* Mobile - stack cards vertically */
@media (max-width: 768px) {
  .card-slider {
    flex-direction: column;
    overflow-x: visible;
  }

  .card {
    width: 100%;
    min-width: auto;
  }
}


.experience {
  display: flex;
  flex-direction: column;

}

.iframe-presentation {
  width: 100%;
  height: 50vh;
  border: none;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
}

.iframe-document {
  width: 100%;
  height: 75vh;
  border: none;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
}

