html {
  scroll-behavior: smooth;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header Hero Section */
header {
  position: relative;
  background-image: url('../city3.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  overflow: hidden;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7), 0 1px 2px rgba(0, 0, 0, 0.5);
  max-height: 40em;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
}

header > * {
  position: relative;
  z-index: 2;
}

/* About Section */
.about-section .about-content {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.about-section .about-img {
  width: 100%;
  height: auto;
  border: 1px solid #dedddd;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  flex-shrink: 0;
}
 
@media (min-width: 768px) {
  .about-section .about-img {
    width: 400px;
  }
}

.about-section .about-img:hover {
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.about-section .about-text-group {
  flex: 1;
  min-width: 280px;
}

.about-section .about-text {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Custom List Styling */
.custom-list {
  list-style-type: none;
  padding-left: 0;
}

.custom-list li {
  position: relative;
  padding-left: 20px;
}

.custom-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
  color: #4c93af;
}

/* Education Section */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.education-card {
  background-color: #f0fdf4;
  padding: 1.5rem;
  border: 1px solid #dedddd;
  border-radius: 0.375rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.education-card:hover {
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

/* Icon Titles */
.icon-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.icon {
  width: 24px;
  height: 24px;
  stroke: #047857;
}

/* Tag Styling */
.tag {
  padding: 0.4rem 0.8rem;
  background-color: rgb(232, 227, 227);
  color: rgb(25, 25, 25);
  font-size: 0.875rem;
  border-radius: 9999px;
}

/* Projects Section */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background-color: #ecfdf5;
  padding: 1.5rem;
  border: 1px solid #dedddd;
  border-radius: 0.375rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.project-card:hover {
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.project-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0.375rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project-desc {
  font-size: 0.95rem;
  color: #374151;
  margin-bottom: 0.75rem;
}

/* .bounce-text {
  display: inline-block;
  font-size: 2rem;
  font-weight: bold;
  animation: bounce 10s;
  color: #2c7a7b; 
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
} */
