:root {
  --primary: #6c63ff;
  --primary-dark: #564fd8;
  --secondary: #ff6584;
  --dark: #2d3748;
  --light: #f7fafc;
  --gray: #718096;
  --light-gray: #edf2f7;
  --white: #ffffff;
  --black: #1a202c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Utility Classes */
.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  color: var(--gray);
  font-size: 1rem;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Navigation */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 15px 0;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

nav {
  display: flex;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  margin: 0 15px;
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--dark);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 500;
}

.title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.title span {
  color: var(--primary);
}

.description {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn-group {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.circle-frame {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.skill-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.skill-card:hover {
  transform: translateY(-10px);
}

.skill-card h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.skill-card ul {
  list-style: none;
}

.skill-card li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.skill-card li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-header {
  padding: 20px;
  background-color: rgba(108, 99, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-header i {
  font-size: 1.5rem;
  color: var(--primary);
}

.project-header span {
  background-color: var(--primary);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.project-content {
  padding: 20px;
}

.project-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.project-content p {
  color: var(--gray);
  margin-bottom: 15px;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tags span {
  background-color: var(--light-gray);
  color: var(--dark);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 50px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  width: 2px;
  height: 100%;
  background-color: var(--primary);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-date {
  position: absolute;
  left: -50px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.timeline-content {
  background-color: var(--light);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  align-items: start;
}

.contact-info {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-method {
  margin-bottom: 25px;
}

.contact-method i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.contact-method h3 {
  margin-bottom: 5px;
  color: var(--dark);
}

.contact-method p {
  color: var(--gray);
}

.contact-social {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.contact-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--light-gray);
  color: var(--primary);
  transition: all 0.3s ease;
}

.contact-social a:hover {
  background-color: var(--primary);
  color: var(--white);
}

.contact-form {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  margin-top: 15px;
  text-align: center;
  color: var(--primary);
  font-weight: 500;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h2 {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 15px;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-social h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--white);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text {
    max-width: 100%;
  }
  
  .btn-group {
    justify-content: center;
  }
  
  .circle-frame {
    width: 280px;
    height: 280px;
    margin-top: 50px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  nav.active {
    left: 0;
  }
  
  .nav-link {
    margin: 15px 0;
    font-size: 1.1rem;
  }
  
  .title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .timeline {
    padding-left: 30px;
  }
  
  .timeline::before {
    left: 10px;
  }
  
  .timeline-date {
    left: -30px;
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .btn-group {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn {
    width: 100%;
  }
  
  .title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .skills-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .circle-frame {
    width: 220px;
    height: 220px;
  }
}