/* Reset and Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Poppins', sans-serif;
  background: #f4f7fa;
  color: #2c3e50;
  line-height: 1.6;
  font-size: 16px;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header/Nav */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0; /* Taller nav */
}
.logo {
  font-size: 1.8rem;
  font-weight: 600;
  color: #005bb5; /* Bolder blue */
  text-decoration: none;
}
.nav-links {
  display: flex;
  list-style: none;
}
.nav-links li {
  margin-left: 25px;
}
.nav-links a {
  text-decoration: none;
  color: #34495e;
  font-weight: 400;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: #e67e22; /* Accent orange for hover */
}

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: 200px 0 150px; /* Taller hero */
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8f0fe, #fff); /* Subtle gradient */
  filter: blur(5px); /* Blur effect */
  z-index: -1;
}
.hero-bg svg {
  position: absolute;
  top: 0;
  left: 0;
}
@keyframes move {
  0% { transform: translate(0, 0); }
  25% { transform: translate(50px, 30px); }
  50% { transform: translate(0, 60px); }
  75% { transform: translate(-50px, 30px); }
  100% { transform: translate(0, 0); }
}
.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #005bb5; /* Bolder color */
}
.hero-content p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 35px;
  color: #7f8c8d;
}
.btn {
  display: inline-block;
  padding: 12px 25px;
  background: #005bb5;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 400;
  transition: background 0.3s ease;
}
.btn:hover {
  background: #e67e22; /* Orange accent on hover */
}

/* Interests */
.interests {
  padding: 100px 0;
}
.interests h2 {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 60px;
  color: #005bb5;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}
.card {
  background: #fff;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  animation: fadeIn 0.5s forwards;
  text-align: center;
}
.card .icon {
  width: 48px;
  height: 48px;
  color: #005bb5;
  margin-bottom: 15px;
}
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0,91,181,0.2); /* Blue shadow accent */
}
.card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #005bb5;
}
.card p {
  color: #7f8c8d;
}

/* Footer */
footer {
  padding: 50px 0;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}
footer p {
  color: #95a5a6;
  margin-bottom: 15px;
}
.footer-links {
  display: flex;
  justify-content: center;
  list-style: none;
}
.footer-links li {
  margin: 0 20px;
}
.footer-links a {
  text-decoration: none;
  color: #34495e;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #e67e22;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Media Queries */
@media (max-width: 768px) {
  nav { flex-direction: column; padding: 20px 0; }
  .nav-links { margin-top: 20px; }
  .nav-links li { margin: 0px 20; } /* Increased vertical spacing for mobile */
  .hero { padding: 150px 0 100px; }
  .hero-content h1 { font-size: 3rem; }
}

/* Blog Styles */
.blog {
  max-width: 800px;
  margin: 100px auto;
  text-align: left; /* Left-align for readability, but centered container */
  padding: 20px;
}
.blog h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
  color: #005bb5;
}
.blog .meta {
  text-align: center;
  color: #95a5a6;
  margin-bottom: 40px;
}
.blog h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: #005bb5;
}
.blog h3 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
  color: #34495e;
}
.blog p {
  margin-bottom: 20px;
  color: #2c3e50;
}
.blog ul, .blog ol {
  margin-bottom: 20px;
  padding-left: 30px;
}
.blog li {
  margin-bottom: 10px;
}
.blog pre {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  overflow-x: auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  font-family: 'Roboto Mono', monospace;
  font-size: 0.95rem;
  color: #1e1e1e;
}
.blog code {
  font-family: 'Roboto Mono', monospace;
  background: rgba(240, 240, 240, 0.8);
  padding: 3px 6px;
  border-radius: 4px;
  color: #1e1e1e;
}
.blog pre code {
  background: none;
  padding: 0;
}

@media (max-width: 768px) {
  .blog {
    max-width: 100%;
    padding: 10px;
  }
  .blog h1 {
    font-size: 2rem;
  }
  .blog h2 {
    font-size: 1.6rem;
  }
}

.content {
  max-width: 800px;
  margin: 100px auto;
  padding: 20px;
}