:root {
  --primary: #b408ab;
  --primary-light: #650c5b;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #94a3b8;
  --accent: #ec4899;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  
}

body {
  background-color:  rgba(7, 7, 7, 0.907);
  color: var(--light);
  line-height: 1.6;
}

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

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

/* Navigation */
nav {
  background-color:rgba(7, 7, 7, 0.907) ;
  color: white;
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(242, 237, 237, 0.5);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  color: var(--accent);
}

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

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  background: rgba(7, 7, 7, 0.907);
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 600px;
  animation: fadeIn 0.8s ease-out;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  animation: fadeIn 0.8s ease-out 0.2s both;
}

.profile-pic {
  width: 350px;
  height: 350px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 5px solid white;
}

.greeting {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 800;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(360deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  font-size: 1.25rem;
  color: var(--light);
  margin-bottom: 2rem;
  max-width: 600px;
}

.btn-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
  transform: translateY(-3px);
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-link {
  font-size: 1.5rem;
  color: var(--light);
  transition: all 0.3s;
}

.social-link:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

/* Section Styles */
section {
  padding: 6rem 0;
  background: rgba(7, 7, 7, 0.907);
}

.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--light);
}

.section-header p {
  color: var(--light);
  max-width: 700px;
  margin: 0 auto;
}

/* About Section */
.about-content {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--light);
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--light);
}

.skills-container {
  flex: 1;
  min-width: 300px;
}

.skills-category {
  margin-bottom: 2rem;
}

.skills-category h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}

.skill-item {
  background: rgba(255, 255, 255, 0.1);
  color:var(--light);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.skill-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.9);
}

.skill-icon {
  color: var(--primary);
}

/* Experience Section */
.experience-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1rem;
}

.tab-btn {
  background: none;
  border: none;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--light);
  position: relative;
}

.tab-btn.active {
  color: var(--primary);
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1.1rem;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

.experience-item {
  background: rgba(255, 255, 255, 0.1);
  
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
}
.experience-item p{
  color: var(--light);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.experience-title {
  font-size: 1.25rem;
  color: var(--primary);
}

.experience-date {
  color: var(--light);
  font-weight: 500;
}

.experience-company {
  color: var(--light);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 2rem;
}

.project-card {
  padding: 30px;;
  background:rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.project-image {
  height: 300px;
  width: auto;
  background-color: #e2e8f0;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.project-description {
  color: var(--light);
  margin-bottom: 1rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-item {
  background: linear-gradient(to right, #8d0f87, #ff4ecb);
  color: var(--light);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.project-link:hover {
  color: var(--primary);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, #030303 0%, #101111 100%);
}

.contact-container {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--light);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.contact-text h4 {
  color: var(--light);
  margin-bottom: 0.2rem;
}

.contact-text p {
  color: var(--gray);
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background:rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.contact-form h3{
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--light);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color:rgba(7, 7, 7, 0.7);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #8d0f87;
  display: inline-block;
}

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

.footer-link {
  color: white;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-link:hover {
  color: var(--primary-light);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-social-link {
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s;
}

.footer-social-link:hover {
  color: var(--primary-light);
  transform: translateY(-3px);
}

.copyright {
  color: var(--light);
  font-size: 0.9rem;
}

@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  .profile-pic {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 900px;
  }
  
  .hero-content {
    gap: 2rem;
  }
  
  .hero-text {
    min-width: 500px;
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .experience-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  /* Your existing 768px styles are good, adding some enhancements */
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .about-content, .contact-container {
    flex-direction: column;
  }
  
  .skills-container {
    width: 100%;
  }
  
  .experience-tabs {
    flex-wrap: wrap;
  }
  
  .tab-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  
  .project-card {
    max-width: 100%;
  }
  
  .hero {
    padding: 6rem 0 2rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 15px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  .tagline {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .profile-pic {
    width: 250px;
    height: 250px;
  }
  
  .hero-text {
    min-width: 100%;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group input, 
  .form-group textarea {
    padding: 0.7rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 1rem 0;
  }
  
  .logo {
    font-size: 1.3rem;
  }
  
  h1 {
    font-size: 2rem;
    line-height: 1.3;
  }
  
  .greeting {
    font-size: 1rem;
  }
  
  .btn-group {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .profile-pic {
    width: 200px;
    height: 200px;
  }
  
  .section-header h2 {
    font-size: 1.6rem;
  }
  
  .experience-item {
    padding: 1.5rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  .tagline {
    font-size: 1rem;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  .skill-item {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .project-content {
    padding: 1.2rem;
  }
}