* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  color: #111;
}

/* NAVBAR */
.navbar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #00b4d8, #8e44ad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 12px;
}

.brand-text h1 {
  font-size: 18px;
  margin-bottom: 3px;
}

.brand-text p {
  font-size: 12px;
  color: #555;
}

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

.nav-links a {
  color: #111;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
}

.nav-links a:hover {
  background: #e0e7ff;
  color: #0b1020;
}

/* SECTIONS */
.section {
  padding: 60px 0;
}

.section-gray {
  background: #f0f4ff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.section-title {
  font-size: 28px;
  margin-bottom: 25px;
  font-weight: 700;
  color: #0b1020;
}

/* INTRO */
.intro-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  align-items: center;
}

.intro-text h2 {
  font-size: 34px;
  margin-bottom: 15px;
}

.intro-text span {
  color: #00b4d8;
}

.intro-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

.btn-group {
  margin-top: 20px;
}

.btn {
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #0b1020;
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: #0b1020;
  border: 1px solid #0b1020;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.intro-card {
  background: #fff;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 15px 25px rgba(0,0,0,0.08);
}

.intro-card-title {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 18px;
}

.intro-card-title i {
  margin-right: 8px;
}

.intro-card-body p {
  margin: 8px 0;
  color: #555;
}

/* GRID CARDS */
.background-grid,
.projects-grid,
.skills-grid,
.experience-grid,
.testimonials-grid,
.blog-grid,
.achievements-grid,
.contact-grid {
  display: grid;
  gap: 20px;
}

.background-grid {
  grid-template-columns: 1fr 1fr;
}

.projects-grid {
  grid-template-columns: repeat(3, 1fr);
}

.skills-grid {
  grid-template-columns: repeat(3, 1fr);
}

.experience-grid {
  grid-template-columns: repeat(2, 1fr);
}

.testimonials-grid {
  grid-template-columns: repeat(2, 1fr);
}

.blog-grid {
  grid-template-columns: repeat(2, 1fr);
}

.achievements-grid,
.contact-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card, .project-card, .skill-card, .testimonial-card, .blog-card {
  background: #fff;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 15px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 15px;
  object-fit: cover;
}

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

.project-desc {
  margin: 10px 0;
  color: #555;
}

.testimonial-name {
  margin-top: 15px;
  font-weight: 700;
  color: #0b1020;
}

.blog-card {
  text-decoration: none;
  color: #111;
}

.blog-card h3 {
  margin-bottom: 10px;
}

.blog-card p {
  color: #555;
}

/* FOOTER */
.footer {
  background: #0b1020;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  margin-top: 40px;
}

/* ANIMATIONS */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.section, .card, .project-card, .skill-card, .testimonial-card, .blog-card {
  opacity: 0;
  animation: fadeInUp 0.8s forwards;
}

.section:nth-child(1) { animation-delay: 0.1s; }
.section:nth-child(2) { animation-delay: 0.2s; }
.section:nth-child(3) { animation-delay: 0.3s; }
.section:nth-child(4) { animation-delay: 0.4s; }
.section:nth-child(5) { animation-delay: 0.5s; }
.section:nth-child(6) { animation-delay: 0.6s; }
.section:nth-child(7) { animation-delay: 0.7s; }
.section:nth-child(8) { animation-delay: 0.8s; }
.section:nth-child(9) { animation-delay: 0.9s; }

