/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --primary-color: #4a6cf7;
    --secondary-color: #6c757d;
    --dark-color: #1e293b;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --body-color: #f5f8ff;
    --text-color: #333;
    --border-color: #e9ecef;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--body-color);
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  ul {
    list-style: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  section {
    padding: 100px 0;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 60px;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
  }
  
  .underline {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
    position: relative;
  }
  
  .underline::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 4px;
    background-color: var(--primary-color);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: underline-animation 2s infinite;
  }
  
  @keyframes underline-animation {
    0% {
      left: 0;
    }
    50% {
      left: 100%;
    }
    100% {
      left: 0;
    }
  }
  
  .btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
  }
  
  .primary-btn {
    background-color: var(--primary-color);
    color: white;
  }
  
  .primary-btn:hover {
    background-color: #3a5bd9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 108, 247, 0.2);
  }
  
  .secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
  }
  
  .secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
  }
  
  .highlight {
    color: var(--primary-color);
  }
  
  /* Header Styles */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
    padding: 20px 0;
  }
  
  header.scrolled {
    background-color: white;
    box-shadow: var(--shadow);
    padding: 15px 0;
  }
  
  header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
  }
  
  .nav-links {
    display: flex;
    gap: 30px;
  }
  
  .nav-links a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
  }
  
  .nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
  }
  
  .nav-links a:hover {
    color: var(--primary-color);
  }
  
  .nav-links a:hover::after {
    width: 100%;
  }
  
  .hamburger {
    display: none;
    cursor: pointer;
  }
  
  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
  }
  
  /* Hero Section */
  .hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--light-color);
    overflow: hidden;
  }
  
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.1) 0%, rgba(74, 108, 247, 0.05) 100%);
    z-index: 0;
  }
  
  .hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
  }
  
  .hero-content {
    flex: 1;
    padding-right: 50px;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
  }
  
  .hero-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color);
  }
  
  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
  }
  
  .cta-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .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: var(--light-color);
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
  }
  
  .social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
  }
  
  .hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .image-container {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 5px solid white;
    animation: float 6s ease-in-out infinite;
  }
  
  @keyframes float {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-20px);
    }
    100% {
      transform: translateY(0);
    }
  }
  
  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
  }
  
  .scroll-down a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary-color);
    font-size: 1.2rem;
    box-shadow: var(--shadow);
  }
  
  @keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
      transform: translateY(0) translateX(-50%);
    }
    40% {
      transform: translateY(-20px) translateX(-50%);
    }
    60% {
      transform: translateY(-10px) translateX(-50%);
    }
  }
  
  /* About Section */
  .about {
    background-color: white;
  }
  
  .about-content {
    display: flex;
    align-items: center;
    gap: 50px;
  }
  
  .about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
  }
  
  .about-text {
    flex: 1;
  }
  
  .about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
  }
  
  .about-text p {
    margin-bottom: 20px;
  }
  
  .personal-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .info-item {
    display: flex;
    align-items: center;
  }
  
  .info-title {
    font-weight: 600;
    margin-right: 10px;
  }
  
  /* Skills Section */
  .skills {
    background-color: var(--light-color);
  }
  
  .skills-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }
  
  .skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
  }
  
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
  }
  
  .skill-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
  }
  
  .skill-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .skill-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
  }
  
  .skill-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  
  .skill-progress {
    width: 100%;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
  }
  
  .progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease-in-out;
  }
  
  /* Projects Section */
  .projects {
    background-color: white;
  }
  
  .project-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
  }
  
  .filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    background-color: var(--light-color);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
  }
  
  .filter-btn.active,
  .filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
  }
  
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .project-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background-color: white;
  }
  
  .project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .project-image {
    position: relative;
    overflow: hidden;
    height: 200px;
  }
  
  .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
  }
  
  .project-item:hover .project-image img {
    transform: scale(1.1);
  }
  
  .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(74, 108, 247, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
  }
  
  .project-item:hover .project-overlay {
    opacity: 1;
  }
  
  .project-links {
    display: flex;
    gap: 15px;
  }
  
  .project-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary-color);
    font-size: 1rem;
    transition: var(--transition);
  }
  
  .project-links a:hover {
    background-color: var(--dark-color);
    color: white;
  }
  
  .project-info {
    padding: 20px;
  }
  
  .project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  
  .project-info p {
    margin-bottom: 15px;
    color: var(--secondary-color);
  }
  
  .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .project-tags span {
    padding: 5px 10px;
    background-color: var(--light-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
  }
  
  .view-more {
    text-align: center;
    margin-top: 50px;
  }
  
  /* Contact Section */
  .contact {
    background-color: var(--light-color);
  }
  
  .contact-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }
  
  .contact-info {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
  }
  
  .contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
  }
  
  .contact-info p {
    margin-bottom: 30px;
  }
  
  .contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
  }
  
  .contact-item .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(74, 108, 247, 0.1);
    color: var(--primary-color);
    font-size: 1.2rem;
  }
  
  .contact-item .text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
  }
  
  .contact-form {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
  }
  
  .contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
  }
  
  .form-group textarea {
    height: 150px;
    resize: none;
  }
  
  /* Footer */
  footer {
    background-color: var(--dark-color);
    color: white;
    padding: 30px 0;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .back-to-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
  }
  
  .back-to-top a:hover {
    background-color: white;
    color: var(--primary-color);
  }
  
  /* Responsive Styles */
  @media (max-width: 992px) {
    .hero .container {
      flex-direction: column;
      text-align: center;
    }
  
    .hero-content {
      padding-right: 0;
      margin-bottom: 50px;
    }
  
    .cta-buttons,
    .social-icons {
      justify-content: center;
    }
  
    .about-content {
      flex-direction: column;
    }
  
    .contact-content {
      grid-template-columns: 1fr;
    }
  
    section {
      padding: 70px 0;
    }
  
    .section-header {
      margin-bottom: 40px;
    }
  }
  
  @media (max-width: 768px) {
    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      width: 70%;
      height: 100vh;
      background-color: white;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
      z-index: 1001;
      gap: 20px;
    }
  
    .nav-links.active {
      right: 0;
    }
  
    .nav-links a {
      font-size: 1.2rem;
      padding: 10px;
    }
  
    .hamburger {
      display: block;
      z-index: 1002;
    }
  
    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }
  
    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }
  
    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
    }
  
    .personal-info {
      grid-template-columns: 1fr;
    }
  
    .skills-grid,
    .projects-grid {
      grid-template-columns: 1fr;
    }
  
    .hero {
      height: auto;
      min-height: 100vh;
      padding-top: 80px;
    }
  
    .image-container {
      width: 250px;
      height: 250px;
    }
  
    .about-image {
      margin-bottom: 30px;
    }
  
    .footer-content {
      flex-direction: column;
      gap: 20px;
    }
  }
  
  @media (max-width: 576px) {
    .section-header h2 {
      font-size: 2rem;
    }
  
    .hero-content h1 {
      font-size: 2.5rem;
    }
  
    .hero-content h2 {
      font-size: 1.5rem;
    }
  
    .cta-buttons {
      flex-direction: column;
      gap: 10px;
    }
  
    .project-filters {
      flex-direction: column;
      align-items: center;
    }
  
    .contact-info,
    .contact-form {
      padding: 25px;
    }
  
    .form-group input,
    .form-group textarea {
      padding: 10px;
    }
  
    .btn {
      padding: 10px 25px;
    }
  
    .skill-item {
      padding: 20px;
    }
  
    .project-info h3 {
      font-size: 1.1rem;
    }
  
    .project-info p {
      font-size: 0.9rem;
    }
  
    .contact-item .icon {
      width: 40px;
      height: 40px;
      font-size: 1rem;
    }
  
    .contact-item .text h4 {
      font-size: 1rem;
    }
  
    .contact-item .text p {
      font-size: 0.9rem;
    }
  
    /* Add touch-friendly tap targets */
    .social-icons a,
    .project-links a,
    .filter-btn {
      min-height: 44px;
      min-width: 44px;
    }
  }
  
  /* Add styles for mobile overlay */
  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  