/* --- GOOGLE FONTS IMPORT --- */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;600&family=Inter:wght@300;400;500;600&display=swap');

/* --- GLOBAL --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  background: #ffffff;
  color: #2c2c2c;
  scroll-behavior: smooth;
  line-height: 1.8;
  font-size: 17px;
}

a {
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

h1, h2, h3 {
  font-family: 'Comfortaa', sans-serif;
}

/* --- NAVBAR --- */
nav {
  background-color: rgba(255, 255, 255, 0.98);
  padding: 1.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  justify-content: center;
}

nav a {
  color: #2c2c2c;
  font-weight: 400;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

nav a:hover {
  background-color: #f5f5f5;
  color: #0078d4;
}

/* --- HERO SECTION --- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  color: #2c2c2c;
  text-align: center;
  padding: 6rem 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.8;
  font-weight: 300;
  animation: fadeInUp 1.2s ease-out;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  background-color: #2c2c2c;
  color: white;
  padding: 1rem 2.5rem;
  font-size: 0.95rem;
  font-weight: 400;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  animation: fadeInUp 1.4s ease-out;
  letter-spacing: 0.5px;
  display: inline-block;
}

.cta-button:hover {
  background-color: #0078d4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 120, 212, 0.2);
}

/* --- ABOUT SECTION --- */
.about-section {
  padding: 6rem 2rem;
  background: #ffffff;
}

.container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.profile-image img {
  width: 320px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.profile-image img:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.about-text {
  max-width: 600px;
  animation: fadeIn 1s ease-in-out;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: #2c2c2c;
  letter-spacing: -0.5px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #5a5a5a;
  margin-bottom: 1.5rem;
}

.button-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.resume-button,
.contactme-button {
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.resume-button {
  background-color: #2c2c2c;
  color: white;
}

.resume-button:hover {
  background-color: #0078d4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 120, 212, 0.2);
}

.contactme-button {
  background-color: transparent;
  color: #2c2c2c;
  border: 2px solid #2c2c2c;
}

.contactme-button:hover {
  background-color: #2c2c2c;
  color: white;
  transform: translateY(-2px);
}

/* --- SECTION CONTAINERS --- */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.5px;
  color: #2c2c2c;
}

/* --- EXPERIENCE SECTION --- */
.experience-section {
  padding: 6rem 2rem;
  background: #f8f9fa;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background: #e0e0e0;
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0078d4;
  border: 3px solid #ffffff;
}

.timeline-date {
  font-size: 0.9rem;
  color: #0078d4;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.timeline-content h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: #2c2c2c;
}

.timeline-content h4 {
  font-size: 1.1rem;
  font-weight: 400;
  color: #5a5a5a;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

.timeline-content ul {
  list-style: none;
  padding: 0;
}

.timeline-content li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: #5a5a5a;
  line-height: 1.7;
}

.timeline-content li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #0078d4;
}

/* --- SKILLS SECTION --- */
.skills-section {
  padding: 6rem 2rem;
  background: #ffffff;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.skill-category {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.skill-category h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #2c2c2c;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.skill-category i {
  color: #0078d4;
  font-size: 1.3rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-tag {
  background: #ffffff;
  color: #2c2c2c;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 400;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.certifications {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.certifications h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #2c2c2c;
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.cert-item i {
  color: #0078d4;
  font-size: 1.2rem;
}

.cert-item span {
  font-size: 1rem;
  color: #2c2c2c;
}

/* --- PROJECTS SECTION --- */
.projects-section {
  padding: 6rem 2rem;
  background: #f8f9fa;
}

.project-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.project-content h3 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #2c2c2c;
}

.project-date {
  color: #0078d4;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.project-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #5a5a5a;
  margin-bottom: 1.5rem;
}

.project-features h4 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #2c2c2c;
  font-family: 'Inter', sans-serif;
}

.project-features ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.project-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: #5a5a5a;
  line-height: 1.7;
}

.project-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0078d4;
  font-weight: bold;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-tag {
  background: #f8f9fa;
  color: #2c2c2c;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 400;
}

/* --- EDUCATION SECTION --- */
.education-section {
  padding: 6rem 2rem;
  background: #ffffff;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.education-card {
  background: #f8f9fa;
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.edu-icon {
  font-size: 3rem;
  color: #0078d4;
  margin-bottom: 1.5rem;
}

.education-card h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #2c2c2c;
}

.education-card h4 {
  font-size: 1.1rem;
  font-weight: 400;
  color: #5a5a5a;
  margin-bottom: 0.75rem;
  font-family: 'Inter', sans-serif;
}

.edu-date {
  color: #0078d4;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.education-card > p:last-child {
  color: #5a5a5a;
  line-height: 1.7;
}

/* --- CONTACT SECTION --- */
.contact-section {
  padding: 6rem 2rem;
  background: #f8f9fa;
}

.contact-intro {
  text-align: center;
  font-size: 1.2rem;
  color: #5a5a5a;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #2c2c2c;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  color: #0078d4;
}

.contact-card i {
  font-size: 2.5rem;
  color: #0078d4;
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: inherit;
}

.contact-card p {
  font-size: 1rem;
  color: #5a5a5a;
}

/* --- FOOTER --- */
footer {
  background: #2c2c2c;
  color: #ffffff;
  text-align: center;
  padding: 2rem;
  font-size: 0.95rem;
}

footer p {
  opacity: 0.8;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  0% { 
    opacity: 0; 
    transform: translateY(40px); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes fadeIn {
  0% { 
    opacity: 0; 
    transform: translateY(30px);
  }
  100% { 
    opacity: 1; 
    transform: translateY(0);
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .container {
    flex-direction: column;
    align-items: center;
  }
  
  .profile-image img {
    width: 280px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  nav a {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
  
  .timeline::before {
    left: 10px;
  }
  
  .timeline-item {
    padding-left: 2.5rem;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .project-card {
    padding: 2rem;
  }
  
  .button-group {
    flex-direction: column;
  }
  
  .resume-button,
  .contactme-button {
    width: 100%;
    justify-content: center;
  }
}