/* Global Styles */
html {
  scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f5f5f5;
    color: #333;
  }
  
  /* Header */
  header {
    background: linear-gradient(to right, #0a192f, #007acc);
    padding: 20px;
    text-align: center;
    color: white;
  }  
  
  header h1 {
    margin: 0;
    font-size: 2.5em;
  }
  
  header p {
    margin: 10px 0;
    font-size: 1.1em;
  }
  
  nav {
    margin-top: 15px;
  }
  
  nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
  }
  
  /* Intro Section */
  .intro {
    padding: 60px 20px;
    text-align: center;
    background-color: #ffffff;
  }
  
  .intro h2 {
    font-size: 2em;
    margin-bottom: 10px;
  }
  
  /* Footer */
  footer {
    text-align: center;
    padding: 20px;
    background-color: #e0e0e0;
    font-size: 0.9rem;
    color: #555;
  }  
  
  footer a {
    color: #1e1e1e;
    text-decoration: none;
    margin: 0 10px;
  }
  
  .projects {
    padding: 60px 20px;
    background-color: #fafafa;
    text-align: center;
  }
  
  .projects h2 {
    font-size: 2em;
    margin-bottom: 30px;
  }
  
  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: auto;
  }
  
  .project-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
  }
  
  .project-card:hover {
    transform: translateY(-5px);
  }
  
  .project-card a {
    display: inline-block;
    margin-top: 10px;
    color: #007acc;
    text-decoration: none;
    font-weight: bold;
  }
  
  .about {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
  }
  
  .about h2 {
    font-size: 2em;
    margin-bottom: 20px;
  }
  
  .about-content {
    max-width: 800px;
    margin: auto;
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
  }
  
  .resume-button {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 25px;
    background-color: #007acc;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s ease;
  }
  
  .resume-button:hover {
    background-color: #005f99;
  }
  
  .about-content a {
    color: #007acc;
    font-weight: 500;
    text-decoration: none;
  }
  
  .about-content a:hover {
    text-decoration: underline;
  }
 
  .about {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
  }
  
  .about h2 {
    font-size: 2em;
    margin-bottom: 20px;
  }
  
  .about-content {
    max-width: 800px;
    margin: auto;
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
  }
  
  .resume-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    padding: 12px 25px;
    background-color: #ffffff;          /* White background */
    color: #007acc;                     /* Blue text color */
    border: 2px solid #007acc;          /* Blue border */
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    gap: 10px;
    min-width: 220px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }  
  
  .resume-btn {
    background-color: #f8f9fa;
    border: 1px solid #007bff;
    padding: 10px 20px;
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    display: inline-block;
    transition: 0.3s ease;
  }
  
  .resume-btn:hover {
    background-color: #007bff;
    color: white;
  }
  
  
  .about-content a {
    color: #007acc;
    font-weight: 500;
    text-decoration: none;
  }
  
  .about-content a:hover {
    text-decoration: underline;
  }
  
  .projects {
    padding: 60px 20px;
    text-align: center;
    background-color: #f9f9f9;
  }
  
  .project-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
  }
  
  .project-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: left;
  }
  
  .project-card h3 {
    margin-top: 0;
  }
  
  .project-card a {
    color: #0066cc;
    font-weight: bold;
    text-decoration: none;
  }
  
  /* Contact Section */
.contact {
  text-align: center;
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.contact h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.contact p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.email-button {
  display: inline-block;
  background-color: #007acc;
  color: #ffffff;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.email-button:hover {
  background-color: #005f99;
}

.tech-stack {
  font-size: 0.95rem;
  color: #cccccc;
  margin-top: 5px;
}

a {
  color: #0077cc;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

.resume-button {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #007bff;
  transition: background-color 0.3s ease;
}

.resume-button:hover {
  background-color: #0056b3;
  color: #fff;
}

.profile-pic {
  width: 170px;
  height: 170px;
  object-fit: cover;
  object-position: top center; /* THIS will show more of your head */
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.resume-btn {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 10px;
  font-weight: bold;
  font-size: 1rem;
  color: #004080;
  background-color: #f0f8ff;
  border: 2px solid #004080;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.resume-btn:hover {
  background-color: #004080;
  color: white;
  transform: scale(1.05);
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
}

.project-thumb {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1rem;
}






