/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9fafb;
  color: #222;
  line-height: 2;
}

a {
  text-decoration: none;
  color: inherit;
}

section {
  padding: 80px 10%;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background: #0e1e2d;
  color: white;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo span {
  color: #00ffc6;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a:hover {
  color: #00ffc6;
  transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
  height: 91vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, #0e1e2d 60%, #00343f);
  color: white;
  text-align: center;
  flex-direction: column;
}

.hero-content {
  max-width: 700px;
}

.typing {
  font-size: 3.8rem;
  font-weight: 700;
  color: #00ffc6;
  white-space: nowrap;
  border-right: 3px solid #00ffc6;
  overflow: hidden;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease-in;
  font-size: 1.5rem;
  margin-top: 20px;
  color: white;
}

.show {
  opacity: 1;
}

/* ===== ABOUT SECTION ===== */
.about {
  background: #e8f0f5;
  padding: 60px 10%;
  border-radius: 16px;
  margin-bottom: 60px;
}

.about p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #0e1e2d;
}

/* ===== SKILLS SECTION ===== */
.skill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.skill-card {
  background: white;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease;
}

.skill-card:hover {
  transform: translateY(-3px);
  background: #00ffc6;
  color: #00343f;
}

/* ===== PROJECTS SECTION ===== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.project-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.project-features {
  margin: 12px 0;
  padding-left: 18px;
  color: #333;
  list-style-type: disc;
}

.project-features li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.project-cta {
    color: rgb(176, 72, 72);
    font-weight: bold;
    margin-top: 12px;
}

/* ===== BLOG SECTION ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.blog-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

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

/* ===== CONTACT SECTION ===== */
.contact .socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.contact .socials a {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  background: #0e1e2d;
  color: white;
  font-weight: 500;
  transition: transform 0.2s, background 0.2s;
}

.contact .socials a:hover {
  transform: scale(1.1);
  background: #00ffc6;
  color: #00343f;
}

/* ===== SECTION TITLES ===== */
.section-title h2 {
  color: #00343f;
  margin-bottom: 20px;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #555;
}
