:root {
  --primary: #2c3e50;
  --secondary: #3498db;
  --light: #ecf0f1;
  --dark: #1a252f;
  --accent: #e74c3c;
  --text: #333;
  --background: #ffffff;
  --card-bg: #ffffff;
}
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  body {
    background-color: var(--background);
    color: var(--text);
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  [data-theme="dark"] {
  --primary: #3498db;
  --secondary: #2c3e50;
  --light: #ecf0f1;
  --dark: #1a252f;
  --accent: #e74c3c;
  --text: #f5f5f5;
  --background: #121212;
  --card-bg: #1e1e1e;
  
  .project-card, .skill-item, .contact-form {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
}
  
  /* Layout */
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  section {
    padding: 5rem 0;
  }
  
  /* Header & Navigation */
  header {
    background-color: var(--primary);
    color: var(--light);
    padding: 2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
  }
  
  .logo span {
    color: var(--secondary);
  }
  
  .nav-links {
    display: flex;
    list-style: none;
  }
  
  .nav-links li {
    margin-left: 2rem;
  }
  
  .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: var(--secondary);
  }
  
  .hamburger {
    display: none;
    cursor: pointer;
  }
  
  .hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    padding-top: 80px;
  }
  
  .hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .hero-text {
    flex: 1;
    padding-right: 2rem;
  }
  
  .hero-image {
    flex: 1;
    text-align: center;
  }
  
  .hero-image img {
    max-width: 100%;
    border-radius: 50%;
    border: 5px solid var(--secondary);
    width: 350px;
    height: 350px;
    object-fit: cover;
  }
  
  /* Typography */
  h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
  }
  
  h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
  }
  
  .section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
  }
  
  .section-title h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--secondary);
    bottom: -10px;
    left: 25%;
  }
  
  p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  /* Buttons */
  .btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
  }
  
  .btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary);
    margin-left: 1rem;
  }
  
  .btn-outline:hover {
    background-color: var(--secondary);
  }
  
  /* About Section */
  .about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
  }
  
  .about-text {
    flex: 1;
  }
  
  .about-skills {
    flex: 1;
  }
  
  .skills-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .skill-item {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
  }
  
  .skill-item:hover {
    transform: translateY(-5px);
  }
  
  .skill-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
  }
  
  .skill-bar {
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-top: 0.5rem;
  }
  
  .skill-progress {
    height: 100%;
    background-color: var(--secondary);
    border-radius: 5px;
  }
  
  /* Projects Section */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
  }
  
  .project-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
  }
  
  .project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  }
  
  .project-image {
    height: 200px;
    overflow: hidden;
  }
  
  .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
  }
  
  .project-card:hover .project-image img {
    transform: scale(1.1);
  }
  
  .project-info {
    padding: 1.5rem;
  }
  
  .project-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
  }
  
  .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
  }
  
  .tag {
    background-color: var(--light);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
  }
  
  /* Contact Section */
  .contact-content {
    display: flex;
    gap: 3rem;
  }
  
  .contact-info {
    flex: 1;
  }
  
  .contact-info p {
    margin-bottom: 2rem;
  }
  
  .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: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
  }
  
  .contact-form {
    flex: 1;
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
  }
  
  .form-group textarea {
    height: 150px;
    resize: vertical;
  }
  
  /* Footer */
  footer {
    background-color: var(--dark);
    color: white;
    text-align: center;
    padding: 2rem 0;
  }
  
  .social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
  }
  
  .social-links a:hover {
    color: var(--secondary);
  }
  
  /* Media Queries */
  @media (max-width: 992px) {
    .hero-content,
    .about-content,
    .contact-content {
      flex-direction: column;
    }
    
    .hero-text,
    .about-text,
    .contact-info {
      margin-bottom: 2rem;
      padding-right: 0;
    }
    
    .hero-image {
      order: -1;
      margin-bottom: 2rem;
    }
    
    .hero-image img {
      width: 250px;
      height: 250px;
    }
    
    h1 {
      font-size: 2.5rem;
    }
  }
  
  @media (max-width: 768px) {
    .nav-links {
      position: fixed;
      top: 80px;
      left: -100%;
      width: 100%;
      height: calc(100vh - 80px);
      background-color: var(--primary);
      flex-direction: column;
      align-items: center;
      padding-top: 2rem;
      transition: left 0.3s;
    }
    
    .nav-links.active {
      left: 0;
    }
    
    .nav-links li {
      margin: 1rem 0;
    }
    
    .hamburger {
      display: block;
      color: white;
      font-size: 1.5rem;
    }
    
    .skills-list {
      grid-template-columns: 1fr;
    }
    
    .projects-grid {
      grid-template-columns: 1fr;
    }

    body.dark-mode {
    background-color: #0D1117;
    color: #C9D1D9;
    }
  }
