/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  /* Body and base styles */
  body {
    background-color: #f8f6f7;
    color: #333;
    line-height: 1.6;
  }
  
  /* Container */
  .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Section padding */
  .section-padding {
    padding: 80px 0;
  }
  
  /* Navbar */
  nav {
    background-color: #c08081;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo span {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: default;
  }
  
  .links {
    display: flex;
    gap: 30px;
    align-items: center;
  }
  
  .links a {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .links a:hover,
  .contact-btn a:hover {
    color: #6f3a3a;
  }
  
  .contact-btn a {
    padding: 8px 16px;
    background-color: white;
    color: #c08081;
    border-radius: 6px;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .contact-btn a:hover {
    background-color: #ae6b6a;
    color: white;
  }
  
  .hamburg {
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
    display: none;
  }
  
  .typewriter {
    font-size: 1.6rem;
    color: #6f3a3a;
    font-weight: 600;
    height: 30px;
    overflow: hidden;
    border-right: 3px solid #6f3a3a;
    white-space: nowrap;
    width: 250px;
    margin-bottom: 20px; /* ← Add this line */
  }
  
  /* Dropdown menu for mobile */
  .dropdown {
    position: fixed;
    top: 60px;
    right: 0;
    background-color: #c08081;
    width: 70%;
    max-width: 250px;
    height: calc(100vh - 60px);
    padding: 20px;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99;
    display: none;
    flex-direction: column;
  }
  
  .dropdown.show {
    display: flex;
    transform: translateX(0);
  }
  
  .dropdown .links {
    flex-direction: column;
    gap: 20px;
  }
  
  .dropdown .links a {
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
    text-decoration: none;
  }
  
  .cancel {
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    align-self: flex-end;
  }
  
  /* Profile image */
  .profile-image {
    max-width: 250px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(192, 128, 129, 0.5);
  }
  
  /* Home Section */
  #home .main-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding-top: 80px;
  }
  
  #home h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
  }
  
  #home h1 span {
    color: #c08081;
  }
  
  /* Typewriter */
  .typewriter {
    font-size: 1.6rem;
    color: #6f3a3a;
    font-weight: 600;
    height: 30px;
    overflow: hidden;
    border-right: 3px solid #6f3a3a;
    white-space: nowrap;
    width: 250px;
  }
  
  .typewriter span {
    display: inline-block;
  }
  
  /* Social Links */
  .social-links a {
    color: #c08081;
    font-size: 2rem;
    margin-right: 25px;
    transition: color 0.3s ease;
  }
  
  .social-links a:hover {
    color: #6f3a3a;
  }
  
  /* Download CV Button */
  .btn button {
    margin-top: 20px;
    padding: 14px 40px;
    border-radius: 8px;
    border: none;
    background-color: #c08081;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .btn button:hover {
    background-color: #ae6b6a;
  }
  
  /* About Section */
  #about h2,
  #skills h2,
  #projects h2,
  #contact h2 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #6f3a3a;
  }
  
  #about p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #555;
    font-weight: 400;
  }
  
  /* Skills Section */
  .skills-description {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .skill-box {
    margin-bottom: 30px;
  }
  
  .skill-box h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #c08081;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .skill-box p {
    margin-bottom: 8px;
    font-size: 1rem;
    color: #555;
  }
  
  /* Progress bars */
  .progress {
    background-color: #eee;
    border-radius: 15px;
    height: 14px;
    overflow: hidden;
  }
  
  .progress-bar {
    height: 14px;
    background-color: #c08081;
    width: 0;
    border-radius: 15px;
    transition: width 1.2s ease-in-out;
  }
  
  /* Animate progress bars after load */
  @keyframes fillBar {
    from {
      width: 0;
    }
    to {
      width: var(--width);
    }
  }
  
  .skill-box:nth-child(1) .progress-bar {
    width: 85%;
  }
  
  .skill-box:nth-child(2) .progress-bar {
    width: 75%;
  }
  
  .skill-box:nth-child(3) .progress-bar {
    width: 90%;
  }
  
  .skill-box:nth-child(4) .progress-bar {
    width: 88%;
  }
  
  /* Projects Section */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
  }
  
  .project-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(192, 128, 129, 0.3);
    padding: 20px;
    transition: transform 0.3s ease;
  }
  
  .project-card:hover {
    transform: translateY(-8px);
  }
  
  .project-card h3 {
    color: #c08081;
    margin-bottom: 12px;
  }
  
  .project-card p {
    font-size: 1rem;
    color: #555;
  }
  
  /* Contact Section */
  .contact-form {
    max-width: 600px;
    margin: 30px auto 50px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    resize: none;
    transition: border-color 0.3s ease;
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: #c08081;
  }
  
  .submit-btn {
    padding: 14px 30px;
    background-color: #c08081;
    color: white;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .submit-btn:hover {
    background-color: #ae6b6a;
  }
  
  .contact-details {
    text-align: center;
    color: #555;
  }
  
  .contact-details p {
    margin-bottom: 8px;
    font-size: 1.1rem;
  }
  
  .social-icons a {
    font-size: 2rem;
    color: #c08081;
    margin: 0 12px;
    transition: color 0.3s ease;
  }
  
  .social-icons a:hover {
    color: #6f3a3a;
  }
  
  /* Responsive Media Queries */
  @media (max-width: 991px) {
    #home .main-container {
      flex-direction: column;
    }
  }
  
  @media (max-width: 768px) {
    .links {
      display: none;
    }
    .hamburg {
      display: block;
    }
  }
  
  @media (min-width: 769px) {
    .dropdown {
      display: none !important;
      transform: translateX(100%);
    }
    .links {
      display: flex !important;
    }
    .hamburg {
      display: none !important;
    }
  }

  .download-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #6f3a3a;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .download-btn:hover {
    background-color: #552a2a;
  }
  
  .nav-links {
    display: flex;
    gap: 20px;
  }
  
  .hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
  }
  
  .hamburger span {
    height: 3px;
    width: 25px;
    background-color: #333;
    border-radius: 3px;
  }
  
  @media (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
      background-color: #fff;
      position: absolute;
      top: 70px;
      right: 20px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      padding: 20px;
      z-index: 1000;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .hamburger {
      display: flex;
    }
  }
  
  .project-link {
  display: inline-block;
  margin-top: 10px;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.project-link:hover {
  text-decoration: underline;
}

  
  /* Focus styles for accessibility */
  a:focus,
  button:focus,
  input:focus{
    outline: 2px solid #6f3a3a; /* Customize color as needed */
    outline-offset: 2px;
    border-radius: 4px;
  }
  
