html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #222;
  margin: 0;
  padding: 0;
}

header {
  background-color: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav h1 {
  font-size: 2rem;
  color: #0077b6;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
}

nav ul li a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #0077b6;
}

section {
  padding: 4rem 2rem;
}

h3 {
  font-size: 2rem;
  text-align: center;
  color: #0077b6;
  margin-bottom: 2rem;
}

.project-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.project-card {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 1.5rem;
  width: 300px;
  box-shadow: 0 0 8px rgba(0,0,0,0.06);
  transition: 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  background: linear-gradient(120deg, #00b4d8, #90e0ef, #00b4d8);
  background-size: 200% 200%;
  animation: borderGlow 3s ease infinite;
  z-index: -1;
}

.project-card:hover::before {
  filter: brightness(1.1);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.1);
}

@keyframes borderGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.cta, .cta-download, .contact-form button {
  background: #00b4d8;
  color: #fff;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s ease;
  display: inline-block;
}

.cta:hover, .cta-download:hover, .contact-form button:hover {
  background: #0096c7;
}

footer {
  background: #f1f1f1;
  text-align: center;
  padding: 1rem;
  color: #444;
  font-size: 14px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
  color: #333;
}

.contact-form textarea {
  resize: vertical;
}

.social-links {
  text-align: center;
  margin-top: 2rem;
}

.social-links a {
  margin: 0 1rem;
  color: #0077b6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #023e8a;
}

h4 {
  font-size: 18px;
  color: #023e8a;
  margin-top: 0.8rem;
}

.skill-list {
  list-style: none;
  padding: 0;
  font-size: 1.1rem;
  max-width: 800px;
  margin: auto;
  line-height: 1.8;
  color: #333;
}

#skills, #education, #contact {
  text-align: center;
}

.highlight-orange {
  color: #f77f00;
}

#hero {
  background-color: #e0f7fa;
  padding: 4rem 2rem;
  text-align: center;
  border-bottom: 2px solid #bde0fe;
}

#hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #023e8a;
}

#hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  color: #333;
}

.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .about-container {
    flex-direction: row;
    align-items: flex-start;
  }
}

.about-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #00b4d8;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.about-text a.cta {
  margin-top: 1rem;
  display: inline-block;
}

[data-aos] {
  will-change: transform, opacity;
}

.filter-buttons {
  text-align: center;
  margin-bottom: 2rem;
}

.filter-btn {
  background-color: #00b4d8;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  margin: 0 0.4rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #0096c7;
}
