/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
  }
  
  :root {
    --black-gradient: linear-gradient(144.39deg, #ffffff -278.56%, #6d6d6d -78.47%, #11101d 91.61%);
    --card-shadow: 0px 20px 100px -10px rgba(66, 71, 91, 0.1);
    --primary-gradient: linear-gradient(to right, #7928ca, #ff0080);
    --primary-color: #7928ca;
    --secondary-color: #ff0080;
    --gradient-text: linear-gradient(90deg, #7928ca, #ff0080);
    --background-color: #1a202c;
    --card-bg: #ffffff;
    --text-color: #ccd6f6;
    --light-text-color: #8892b0;
  }
  
  body {
    background-color: var(--background-color);
    color: white;
    overflow-x: hidden;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  li {
    list-style: none;
  }
  
  .gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; 
  }
  
  .gradient-bg {
    background: var(--primary-gradient);
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
  }
  
  /* Button Styles */
  .btn {
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: none;
  }
  
  .btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(121, 40, 202, 0.3);
  }
  
  .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(121, 40, 202, 0.4);
  }
  
  .btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
  }
  
  .btn-secondary:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-5px);
  }
  
  /* Navbar */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background-color: #171923;
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar-logo {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; 
    white-space: nowrap;
  }
  
  .navbar-links {
    display: flex;
    gap: 30px;
  }
  
 .navbar-links a {
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;

  /* gradient text color */
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

  
  .navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-gradient);
    transition: all 0.3s ease;
  }
  
  .navbar-links a:hover::after {
    width: 100%;
  }
  
  .hamburger {
    display: none;
    cursor: pointer;
  }
  
  .hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: all 0.3s ease;
  }
  
  /* Hero Section */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 12.9rem;
    position: relative;
    overflow: hidden;
    background-color: var(--background-color);
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: rgba(121, 40, 202, 0.05);
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: -1;
  }
  
  .hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
  }
  
  .hero-text {
    flex: 1;
  }
  
  .hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
    /* var(--text-color) */
  }
  
  .hero-text h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light-text-color);
  }
  
  .hero-text p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--light-text-color);
    margin-bottom: 30px;
  }
  
  .hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .hero-social {
    display: flex;
    gap: 15px;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    color: var(--primary-color);
    transition: all 0.3s ease;
  }
  
  .social-icon:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-5px);
  }
  
  .hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
  }
  
  .hero-image img {
    max-width: 80%;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 10);
    animation: float 6s ease-in-out infinite;
  }
  
  @keyframes float {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-20px);
    }
    100% {
      transform: translateY(0px);
    }
  }
  
  /* About Section */
  .about {
    background-color: var(--background-color);
  }
  
  .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  
  .about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--light-text-color);
    margin-bottom: 20px;
  }
  
  .highlight {
    background: linear-gradient(90deg, rgba(121, 40, 202, 0.1), rgba(255, 0, 128, 0.1));
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    margin: 20px 0;
    font-weight: 600;
    color: var(--primary-color);
  }
  
  .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
  }
  
  .info-item {
    padding: 20px;
    background-color: rgba(17, 34, 64, 0.5);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 100, 255, 0.1);
  }
  
  .info-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(121, 40, 202, 0.3);
  }
  
  .info-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
  }
  
  .info-value {
    color: var(--light-text-color);
  }
  
  .about-image {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .about-image img {
    max-width: 350px;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }
  
  /* Experience Section */
  .experience {
    background-color: var(--background-color);
  }
  
  .timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
  }
  
  .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: var(--primary-gradient);
  }
  
  .timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 60px;
  }
  
  .timeline-dot {
    position: absolute;
    left: 16px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-gradient);
    z-index: 1;
  }
  
  .timeline-card {
    background-color: rgba(17, 34, 64, 0.5);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 100, 255, 0.1);
  }
  
  .timeline-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(121, 40, 202, 0.3);
  }
  
  .timeline-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
  }
  
  .timeline-company {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
  }
  
  .timeline-date {
    font-size: 14px;
    color: var(--light-text-color);
    margin-bottom: 20px;
  }
  
  .timeline-list {
    margin-top: 20px;
  }
  
  .timeline-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    color: var(--light-text-color);
  }
  
  .timeline-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
  }
  
  /* Projects Section */
  .projects {
    background-color: var(--background-color);
  }
  
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
  }
  
  .project-card {
    background-color: rgba(17, 34, 64, 0.5);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(100, 100, 255, 0.1);
  }
  
  .project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(121, 40, 202, 0.3);
  }
  
  .project-content {
    padding: 30px;
  }
  
  .project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
  }
  
  .project-tech {
    display: inline-block;
    padding: 5px 15px;
    background: linear-gradient(90deg, rgba(121, 40, 202, 0.1), rgba(255, 0, 128, 0.1));
    border-radius: 20px;
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 20px;
  }
  
  .project-description {
    color: var(--light-text-color);
    margin-bottom: 30px;
    line-height: 1.6;
  }
  
  .project-links {
    display: flex;
    gap: 15px;
  }
  
  .project-links a {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  /* Skills Section */
  .skills {
    background-color: var(--background-color);
  }
  
  .skills-container {
    margin-top: 50px;
  }
  
  .skills-category {
    margin-bottom: 50px;
  }
  
  .skills-category h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
  }
  
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
  }
  
  .skill-item {
    background-color: rgba(17, 34, 64, 0.5);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 100, 255, 0.1);
  }
  
  .skill-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(121, 40, 202, 0.3);
  }
  
  .skill-item i {
    font-size: 2rem;
    margin-bottom: 15px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; 
  }
  
  .skill-item p {
    font-size: 14px;
    color: var(--light-text-color);
  }
  
  /* Education Section */
  .education {
    background-color: var(--background-color);
  }
  
  .education-container {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .education-item {
    background-color: rgba(17, 34, 64, 0.5);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    border: 1px solid rgba(100, 100, 255, 0.1);
  }
  
  .education-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(121, 40, 202, 0.3);
  }
  
  .education-icon {
    font-size: 2rem;
    color: var(--primary-color);
  }
  
  .education-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
  }
  
  .institution {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 5px;
  }
  
  .education-date, .education-grade {
    font-size: 14px;
    color: var(--light-text-color);
    margin-bottom: 5px;
  }
  
  .certifications-title {
    margin-top: 60px;
  }
  
  .certifications-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
  }
  
  .certification-item {
    background-color: rgba(17, 34, 64, 0.5);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(100, 100, 255, 0.1);
  }
  
  .certification-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(121, 40, 202, 0.3);
  }
  
  .certification-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
  }
  
  .certification-content h3 {
    font-size: 1rem;
    color: var(--text-color);
  }
  
  /* Contact Section */
  .contact {
    background-color: var(--background-color);
  }
  
  .contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
  
  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .contact-item {
    background-color: rgba(17, 34, 64, 0.5);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 100, 255, 0.1);
  }
  
  .contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(121, 40, 202, 0.3);
  }
  
  .contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
  }
  
  .contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-color);
  }
  
  .contact-text p {
    color: var(--light-text-color);
  }
  
  .contact-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
  }
  
  /* Contact Form Wrapper and Heading */
  .contact-form-wrapper {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    padding: 36px 28px 32px 28px;
    max-width: 480px;
    margin: 0 auto;
    border: 1.5px solid rgba(121, 40, 202, 0.13);
  }
  
  .contact-form-heading p {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0;
  }
  
  .contact-form {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
  }
  
  .contact-form .form-group {
    margin-bottom: 22px;
  }
  
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1.5px solid rgba(121, 40, 202, 0.18);
    background: rgba(255,255,255,0.08);
    color: var(--text-color);
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(121, 40, 202, 0.04);
  }
  
  .contact-form input[type="text"]:focus,
  .contact-form input[type="email"]:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(121, 40, 202, 0.13);
    background: rgba(255,255,255,0.13);
  }
  
  .contact-form textarea {
    min-height: 120px;
    resize: vertical;
  }
  
  .form-btn {
    width: 100%;
    padding: 14px 0;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(121, 40, 202, 0.13);
    transition: background 0.3s, transform 0.2s;
    margin-top: 8px;
  }
  
  .form-btn:hover {
    background: linear-gradient(90deg, #ff0080, #7928ca);
    transform: translateY(-2px) scale(1.03);
  }
  
  /* Footer */
  .footer {
    background-color: rgba(8, 20, 38, 0.9);
    padding: 40px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  .footer-content p {
    margin: 0;
  }
  
  .footer-social {
    display: flex;
    gap: 15px;
  }
  
  .footer-social .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    transition: all 0.3s ease;
  }
  
  .footer-social .social-icon:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-5px);
  }
  
  .footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .footer-links a {
    color: var(--light-text-color);
    transition: all 0.3s ease;
  }
  
  .footer-links a:hover {
    color: var(--primary-color);
  }
  
  .footer-copy {
    color: var(--light-text-color);
    font-size: 14px;
  }
  
  .footer-copy a {
    color: var(--primary-color);
    transition: all 0.3s ease;
  }
  
  .footer-copy a:hover {
    text-decoration: underline;
  }
  
  /* Media Queries */
  @media screen and (max-width: 1024px) {
    .hero-text h1 {
      font-size: 3rem;
    }
    
    .hero-text h2 {
      font-size: 1.8rem;
    }
    
    .projects-grid,
    .certifications-container {
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
  }
  
  @media screen and (max-width: 768px) {
    .navbar-links {
      position: fixed;
      right: -100%;
      top: 0;
      width: 70%;
      height: 100vh;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background-color: white;
      gap: 40px;
      transition: 0.5s;
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
      z-index: 999;
    }
    
    .navbar-links.active {
      right: 0;
    }
    
    .hamburger {
      display: block;
      z-index: 1000;
    }
    
    .hamburger.active .line1 {
      transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active .line2 {
      opacity: 0;
    }
    
    .hamburger.active .line3 {
      transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-content {
      flex-direction: column-reverse;
      text-align: center;
    }
    
    .hero-buttons,
    .hero-social {
      justify-content: center;
    }
    
    .hero-text h1 {
      font-size: 2.5rem;
    }
    
    .hero-text h2 {
      font-size: 1.5rem;
    }
    
    .contact-container {
      grid-template-columns: 1fr;
    }
    
    .section-title {
      font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-image img {
        max-width: 100%;
    }
    
    .contact-form-wrapper {
        padding: 22px 8px 18px 8px;
        max-width: 100%;
    }
  }
  
  @media screen and (max-width: 480px) {
    .hero-text h1 {
      font-size: 2rem;
    }
    
    .hero-text h2 {
      font-size: 1.2rem;
    }
    
    .hero-buttons {
      flex-direction: column;
      width: 100%;
    }
    
    .hero-buttons .btn {
      width: 100%;
    }
    
    .project-links {
      flex-direction: column;
    }
    
    .project-links a {
      width: 100%;
    }
    
    .skills-grid {
      grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .education-item,
    .certification-item {
      flex-direction: column;
    }
    
    .footer-content {
      flex-direction: column;
      gap: 15px;
      text-align: center;
    }
  }
  
  .custom-hr {
    border: none;
    height: 4px;
    width: 80%;
    margin: 0 auto 40px auto;
    background: var(--primary-gradient);
    border-radius: 2px;
    opacity: 0.85;
    box-shadow: 0 2px 12px rgba(121, 40, 202, 0.10);
  }
  