@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Quicksand:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
  background: #f8fafc;
  color: #22223b;
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: #228B22;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #22223b;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(34, 139, 34, 0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #228B22;
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 1.1rem;
  color: #22223b;
  position: relative;
}
.nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #228B22;
  transition: width 0.3s;
  margin-top: 2px;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: #228B22;
  border-radius: 2px;
}

.hero {
  background: linear-gradient(120deg, #e0eaff 0%, #f8fafc 100%);
  padding: 5rem 0 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 200px;
  height: 200px;
  background: #ffe066;
  border-radius: 50%;
  opacity: 0.25;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-profile {
  margin-bottom: 2rem;
}

.profile-pic {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 8px 32px rgba(34, 139, 34, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-pic:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(34, 139, 34, 0.25);
}
.hero-title {
  font-size: 2.8rem;
  font-family: 'Montserrat', sans-serif;
  color: #22223b;
  margin-bottom: 1rem;
}
.hero-subtitle {
  font-size: 1.3rem;
  color: #228B22;
  margin-bottom: 0.5rem;
}
.hero-location {
  font-size: 1.1rem;
  color: #adb5bd;
  margin-bottom: 2rem;
}
.hero-btn {
  background: #228B22;
  color: #fff;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(34, 139, 34, 0.12);
  transition: background 0.2s;
}
.hero-btn:hover {
  background: #22223b;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-btn-secondary {
  background: transparent;
  color: #228B22;
  padding: 0.8rem 2rem;
  border: 2px solid #228B22;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.hero-btn-secondary:hover {
  background: #228B22;
  color: #fff;
}

.hero-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-links a {
  color: #228B22;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.hero-links a:hover {
  color: #ffe066;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: #228B22;
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 1px;
}

/* Education Section */
.education-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.education-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(34, 139, 34, 0.07);
  padding: 2rem;
  min-width: 300px;
  max-width: 400px;
  flex: 1 1 300px;
  margin-bottom: 1rem;
  transition: transform 0.2s;
}
.education-card:hover {
  transform: translateY(-6px) scale(1.03);
}
.education-school {
  font-weight: 700;
  color: #22223b;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.education-degree {
  color: #228B22;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.education-concentration {
  color: #666;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.education-duration {
  font-size: 0.95rem;
  color: #adb5bd;
  margin-bottom: 0.3rem;
}
.education-location {
  font-size: 0.95rem;
  color: #adb5bd;
}

/* Experience Section */
.experience-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.experience-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(34, 139, 34, 0.07);
  padding: 2rem;
  transition: transform 0.2s;
}
.experience-card:hover {
  transform: translateY(-6px) scale(1.03);
}
.experience-role {
  font-weight: 700;
  color: #22223b;
  font-size: 1.2rem;
}
.experience-company {
  color: #228B22;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.experience-duration {
  font-size: 0.95rem;
  color: #adb5bd;
  margin-bottom: 0.3rem;
}
.experience-location {
  font-size: 0.95rem;
  color: #adb5bd;
  margin-bottom: 1rem;
}
.experience-desc {
  color: #444;
}
.experience-desc ul {
  list-style: none;
  padding-left: 0;
}
.experience-desc li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}
.experience-desc li::before {
  content: '•';
  color: #228B22;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Projects Section */
.projects-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.project-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(255, 224, 102, 0.09);
  padding: 2rem;
  transition: transform 0.2s;
  position: relative;
}
.project-card:hover {
  transform: translateY(-6px) scale(1.03);
}
.project-title {
  font-weight: 700;
  color: #22223b;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.project-tech {
  color: #228B22;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-style: italic;
}
.project-desc {
  color: #444;
  margin-bottom: 1.5rem;
}
.project-desc ul {
  list-style: none;
  padding-left: 0;
}
.project-desc li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}
.project-desc li::before {
  content: '•';
  color: #ffe066;
  font-weight: bold;
  position: absolute;
  left: 0;
}
.project-links {
  display: flex;
  gap: 1rem;
}
.project-link {
  color: #228B22;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
}
.project-link:hover {
  color: #ffe066;
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.skill-category {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(34, 139, 34, 0.07);
  padding: 2rem;
  transition: transform 0.2s;
}
.skill-category:hover {
  transform: translateY(-6px) scale(1.03);
}
.skill-category h3 {
  color: #228B22;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 700;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.skill-tag {
  background: #e8f5e8;
  color: #228B22;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}
.skill-tag:hover {
  background: #228B22;
  color: #fff;
  transform: translateY(-2px);
}

/* Blog Styles */
.blog-hero {
  background: linear-gradient(120deg, #ffe066 0%, #f8fafc 100%);
  padding: 4rem 0 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 150px;
  height: 150px;
  background: #228B22;
  border-radius: 50%;
  opacity: 0.15;
  z-index: 0;
}
.blog-hero-title {
  font-size: 2.5rem;
  font-family: 'Montserrat', sans-serif;
  color: #22223b;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.blog-hero-subtitle {
  font-size: 1.2rem;
  color: #666;
  position: relative;
  z-index: 1;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-post-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(34, 139, 34, 0.07);
  overflow: hidden;
  transition: transform 0.2s;
}
.blog-post-card:hover {
  transform: translateY(-6px) scale(1.02);
}
.blog-post-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.blog-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.blog-post-card:hover .blog-post-image img {
  transform: scale(1.05);
}
.blog-post-content {
  padding: 1.5rem;
}
.blog-post-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #22223b;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}
.blog-post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.blog-post-date {
  color: #adb5bd;
}
.blog-post-category {
  color: #228B22;
  font-weight: 600;
}
.blog-post-excerpt {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.read-more-btn {
  color: #228B22;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
}
.read-more-btn:hover {
  color: #ffe066;
}

/* Individual Blog Post Styles */
.blog-post {
  padding: 2rem 0;
}
.blog-post-header {
  text-align: center;
  margin-bottom: 2rem;
}
.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #228B22;
  font-weight: 600;
  margin-bottom: 1rem;
  transition: color 0.2s;
}
.back-to-blog:hover {
  color: #ffe066;
}
.blog-post-title {
  font-size: 2.5rem;
  font-family: 'Montserrat', sans-serif;
  color: #22223b;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.blog-post-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 1rem;
  color: #adb5bd;
}
.blog-post-read-time {
  color: #228B22;
  font-weight: 600;
}
.blog-post-image {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  border-radius: 12px;
  overflow: hidden;
}
.blog-post-image img {
  width: 100%;
  height: auto;
}
.blog-post-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}
.blog-post-intro {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
  font-style: italic;
}
.blog-post-content h2 {
  font-family: 'Montserrat', sans-serif;
  color: #228B22;
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem 0;
}
.blog-post-content h3 {
  font-family: 'Montserrat', sans-serif;
  color: #22223b;
  font-size: 1.4rem;
  margin: 2rem 0 1rem 0;
}
.blog-post-content p {
  margin-bottom: 1.5rem;
  color: #444;
}
.blog-post-content ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}
.blog-post-content li {
  margin-bottom: 0.8rem;
  color: #444;
}
.blog-post-rating {
  background: #e8f5e8;
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
  text-align: center;
}
.blog-post-rating h3 {
  color: #228B22;
  margin-bottom: 0.5rem;
}
.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}
.tag {
  background: #ffe066;
  color: #22223b;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Related Posts */
.related-posts {
  background: #f8fafc;
  padding: 3rem 0;
  margin-top: 3rem;
}
.related-posts h2 {
  font-family: 'Montserrat', sans-serif;
  color: #228B22;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.related-post-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(34, 139, 34, 0.1);
  transition: transform 0.2s;
}
.related-post-card:hover {
  transform: translateY(-4px);
}
.related-post-card h3 {
  color: #228B22;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.related-post-card p {
  color: #666;
  font-size: 0.95rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto 2rem auto;
}
.contact-form input,
.contact-form textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid #e8f5e8;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: #f8fafc;
  transition: border 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border: 1.5px solid #228B22;
  outline: none;
}
.btn-primary {
  background: #228B22;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover {
  background: #22223b;
}
.contact-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}
.contact-links a {
  color: #228B22;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}
.contact-links a:hover {
  color: #ffe066;
}

.footer {
  background: #fff;
  color: #adb5bd;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 1rem;
  margin-top: 2rem;
  box-shadow: 0 -2px 16px rgba(34, 139, 34, 0.04);
}

/* Blog Section */
.blog {
    padding: 4rem 0;
    margin-bottom: 2rem;
}

/* Blog Section Footer */
.blog-section-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-top: 1px solid #e0e0e0;
}

.view-all-blog-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #228B22, #32CD32);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 139, 34, 0.3);
}

.view-all-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 139, 34, 0.4);
    background: linear-gradient(135deg, #1a5f1a, #228B22);
}

/* Blog Cards on Homepage */
.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.blog-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #228B22;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1a5f1a;
}

@media (max-width: 900px) {
  .education-list {
    flex-direction: column;
    align-items: center;
  }
  .projects-list {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .experience-list {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .profile-pic {
    width: 140px;
    height: 140px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-links {
    gap: 1.5rem;
  }
  
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .nav-menu {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    display: none;
  }
  .nav-menu.active {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .blog-post-title {
    font-size: 2rem;
  }
  .blog-post-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: #228B22;
  border-radius: 50%;
  opacity: 0.13;
  z-index: 0;
} 