/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* Navigation Styles */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e1e5e9;
  z-index: 1000;
  transition: all 0.3s ease;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
.nav-logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav-logo a:hover {
  color: #1d4ed8;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-link {
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}
.nav-link:hover {
  color: #2563eb;
}
.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #2563eb;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
}
/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}
.hero-image {
  display: flex;
  justify-content: center;
}
.profile-placeholder {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}
.profile-placeholder i {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.8);
}
.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(45deg, #fff, #e5e7eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-text h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #e5e7eb;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: #d1d5db;
  margin-bottom: 1.5rem;
}
.hero-bio {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  color: #e5e7eb;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background: #fff;
  color: #2563eb;
}
.btn-primary:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-secondary:hover {
  background: #fff;
  color: #2563eb;
  transform: translateY(-2px);
}
/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.2rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}
/* About Section */
.about {
  padding: 80px 0;
  background: #fff;
}
.about-text {
  max-width: 800px;
  margin: 0 auto;
}
.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #4b5563;
}
.skills {
  margin: 3rem 0;
}
.skills h3 {
  font-size: 1.5rem;
  color: #1f2937;
  margin-bottom: 2rem;
  text-align: center;
}
.skills-category {
  margin-bottom: 2.5rem;
}
.skills-category h4 {
  font-size: 1.2rem;
  color: #2563eb;
  margin-bottom: 1rem;
  font-weight: 600;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.5rem;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}
.skill-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.skill-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.skill-item i {
  font-size: 1.5rem;
  color: #2563eb;
}
.languages {
  margin-top: 2rem;
}
.languages h3 {
  font-size: 1.5rem;
  color: #1f2937;
  margin-bottom: 1rem;
}
.languages p {
  font-size: 1.1rem;
  color: #4b5563;
}
/* Projects Section */
.projects {
  padding: 80px 0;
  background: #f8fafc;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}
.project-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}
.project-header {
  margin-bottom: 1.5rem;
}
.project-header h3 {
  font-size: 1.5rem;
  color: #1f2937;
  margin-bottom: 1rem;
}
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tech-tag {
  background: #2563eb;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}
.project-content p {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.project-features ul {
  list-style: none;
  padding: 0;
}
.project-features li {
  color: #6b7280;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}
.project-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}
/* Experience Section */
.experience {
  padding: 80px 0;
  background: #fff;
}
.experience-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.experience-timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e5e7eb;
}
.experience-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 60px;
}
.experience-marker {
  position: absolute;
  left: 11px;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2563eb;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px #e5e7eb;
}
.experience-header {
  margin-bottom: 1rem;
}
.experience-header h3 {
  font-size: 1.5rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
}
.experience-company {
  font-size: 1.1rem;
  color: #2563eb;
  font-weight: 600;
}
.experience-description p {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.experience-description ul {
  list-style: none;
  padding: 0;
}
.experience-description li {
  color: #6b7280;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}
.experience-description li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: bold;
}
/* Contact Section */
.contact {
  padding: 80px 0;
  background: #f8fafc;
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.contact-item:hover {
  transform: translateY(-2px);
}
.contact-icon {
  width: 50px;
  height: 50px;
  background: #2563eb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
}
.contact-details h3 {
  color: #1f2937;
  margin-bottom: 0.5rem;
}
.contact-details a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-details a:hover {
  color: #1d4ed8;
}
.contact-placeholder {
  color: #9ca3af;
  font-style: italic;
}
.contact-cta {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
}
.contact-cta h3 {
  color: #1f2937;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.contact-cta p {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 2rem;
}
/* Footer */
.footer {
  background: #1f2937;
  color: #fff;
  padding: 2rem 0;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 1rem;
}
.footer-links a {
  color: #9ca3af;
  font-size: 1.25rem;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #fff;
}
/* Responsive Design */
@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .profile-placeholder {
    width: 200px;
    height: 200px;
  }
  .profile-placeholder i {
    font-size: 3rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .experience-timeline::before {
    left: 15px;
  }
  .experience-item {
    padding-left: 50px;
  }
  .experience-marker {
    left: 6px;
  }
}
@media screen and (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  .hero {
    padding: 100px 0 60px;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text h2 {
    font-size: 1.25rem;
  }
  .section-header h2 {
    font-size: 1.75rem;
  }
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .project-card {
    padding: 1.5rem;
  }
  .contact-item {
    padding: 1rem;
  }
  .contact-cta {
    padding: 1.5rem;
  }
}
/* Smooth animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.section-header,
.project-card,
.experience-item,
.contact-item {
  animation: fadeInUp 0.6s ease-out;
}
/* Focus styles for accessibility */
.nav-link:focus,
.btn:focus,
.contact-details a:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
/* Print styles */
@media print {
  .navbar,
  .footer {
    display: none;
  }

  .hero {
    background: none !important;
    color: #000 !important;
  }

  .hero-text h1 {
    color: #000 !important;
    -webkit-text-fill-color: initial !important;
  }
}
.profile-photo {
  width: 450px;
  height: 450px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.2);
  display: block;
}
