* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #f5f5f5;
    line-height: 1.6;
  }

  header {
    background: #2a2a2a;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    gap: 2rem;
    height: 70px;
  }
  
  .logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(90deg, #c084fc, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
  }
  
  .lspu-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
    object-fit: contain;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
  }
  
  .nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
  }
  
  .nav-links a::after {
    content: '';
    height: 2px;
    width: 0;
    background: #c084fc;
    position: absolute;
    left: 0;
    bottom: -4px;
    transition: 0.3s ease;
  }
  
  .nav-links a:hover::after {
    width: 100%;
  }
  
  /* Sections */
  .section {
    padding: 100px 20px;
    max-width: 1100px;
    margin: auto;
  }
  
  .hero {
    text-align: center;
    margin-top: 100px;
  }
  
  .hero {
    background-image: url('https://i.pinimg.com/736x/12/62/83/1262831466d100484ca3a92ea4fc4b36.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
  }

  .profile-pic {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
    border: 4px solid #c084fc;
  }
  
  .name {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #c084fc, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .tagline {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    color: #d4d4d4;
  }
  
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    text-align: center;
  }
  
  .skill {
    background: #2a2a2a;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, background 0.3s ease;
  }
  
  .skill:hover {
    transform: translateY(-5px);
    background: #3a3a3a;
  }
  
  .project-list {
    display: grid;
    gap: 2rem;
  }
  
  .project {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    align-items: center;
    background: #2a2a2a;
    padding: 1.2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, background 0.3s ease;
  }
  
  .project:hover {
    background: #3a3a3a;
    transform: translateY(-5px);
  }
  
  .project-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    height: 400px;
    background: #1a1a1a;
  }
  
  .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .project:hover .project-image img {
    transform: scale(1.05);
  }
  
  .project-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    display: inline-block;
    margin-top: 0.75rem;
    background: #c084fc;
    color: #1a1a1a;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
  }
  
  .btn:hover {
    background: #a78bfa;
  }
  
  .btn i {
    margin-right: 5px;
  }

  .project .btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    font-size: 0.95rem;
    gap: 6px;
    transition: all 0.3s ease;
    width: fit-content;
    min-width: 120px;
    max-width: 200px;
    justify-content: center;
    margin-top: 1rem;
  }

  .project .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(192, 132, 252, 0.2);
  }

  .project .btn i {
    margin-right: 8px;
    font-size: 1rem;
  }
    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .contact-form input,
    .contact-form textarea {
        padding: 0.75rem;
        border-radius: 6px;
        border: 1px solid #ccc;
        background: #2a2a2a;
        color: #f5f5f5;
        transition: border 0.3s ease;
    }
    .contact-form input:focus,
    .contact-form textarea:focus {
        border: 1px solid #c084fc;
        outline: none;
    }
    .contact-form button {
        background: #c084fc;
        color: #1a1a1a;
        padding: 0.75rem;
        border-radius: 6px;
        border: none;
        font-weight: bold;
        cursor: pointer;
        transition: background 0.3s ease;
    }
    .contact-form button:hover {
        background: #a78bfa;
    }
    .social-icons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        margin-top: 1rem;
    }
    .social-icons a {
        color: #c084fc;
        font-size: 1.5rem;
        transition: color 0.3s ease;
    }
    .social-icons a:hover {
        color: #a78bfa;
    }

  footer {
    text-align: center;
    padding: 2rem;
    background: #2a2a2a;
    color: #ccc;
    margin-top: 3rem;
    font-size: 0.9rem;
  }
  
    footer a {
        color: #c084fc;
        text-decoration: none;
    }

  @media (max-width: 768px) {
    .nav-links {
      flex-direction: column;
      gap: 1rem;
    }
  
    .skills-grid {
      grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
  
    .hero {
      margin-top: 120px;
    }

    .project {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 350px;
    }

    .slider-image {
        padding: 0.5rem;
    }
  }

  .project:first-child::before {
    content: 'Java • XAMPP • MySQL';
  }

  .contact-form-container {
    max-width: 600px;
    margin: 2rem auto;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  }

  .contact-form input,
  .contact-form textarea {
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    padding: 0.8rem;
    color: #f5f5f5;
    font-family: inherit;
    transition: border-color 0.3s ease;
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: #c084fc;
  }

  .contact-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  .contact-form button i {
    font-size: 0.9rem;
  }

  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: #888;
  }

#contact {
    text-align: center;
}

#contact h2 {
    margin-bottom: 1rem;
}

#contact > p {
    margin-bottom: 2rem;
    color: #d4d4d4;
}

/* Optional: Alternate layout for even-numbered projects */
.project:nth-child(even) {
    grid-template-columns: 1.5fr 1fr;
}

.project:nth-child(even) .project-image {
    order: 2;
}

@media (max-width: 768px) {
    .project:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .project:nth-child(even) .project-image {
        order: 0;
    }
}

.image-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #1a1a1a;
}

.slider-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(0.95);
    background: #1a1a1a;
}

.slider-image.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.slider-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    z-index: 2;
}

.prev-btn,
.next-btn {
    background: rgba(192, 132, 252, 0.3);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn:hover,
.next-btn:hover {
    background: rgba(192, 132, 252, 0.8);
    transform: scale(1.1);
}

/* Add dot indicators */
.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #c084fc;
    transform: scale(1.2);
}

.project:nth-child(2)::before {
    content: 'HTML • CSS • JavaScript • Python • MySQL';
}

/* Add these specific rules to your styles.css */
.project h3 {
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #f5f5f5;
}

.project-image h3 {
    position: absolute;
    top: 1rem;
    left: 1rem;
    margin: 0;
    z-index: 3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.project::before {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(26, 26, 26, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #d4d4d4;
    z-index: 3;
}

.education-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.education-item {
    display: flex;
    flex-direction: column;
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(192, 132, 252, 0.1);
    position: relative;
    overflow: hidden;
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(192, 132, 252, 0.3);
}

.education-year {
    position: relative;
    color: #c084fc;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(192, 132, 252, 0.2);
}

.education-content h3 {
    color: #f5f5f5;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.education-school {
    color: #c084fc;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.education-location {
    color: #8892b0;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.education-achievements {
    list-style: none;
    margin-top: 1rem;
}

.education-achievements li {
    color: #8892b0;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
}

.education-achievements li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #c084fc;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .education-list {
        grid-template-columns: 1fr;
        padding: 0.5rem;
    }
    
    .education-item {
        padding: 1.25rem;
    }
}

/* Add these styles for the contact cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    background: #c084fc;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: #1a1a1a;
    font-size: 1.2rem;
}

.contact-info {
    flex-grow: 1;
}

.contact-type {
    color: #ccd6f6;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-detail {
    color: #8892b0;
    margin-bottom: 1rem;
    font-size: 1rem;
    word-break: break-all;
}

.contact-action {
    color: #64ffda;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: bold;
}

/* Update the hero buttons styles */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.hero-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(192, 132, 252, 0.05);
    border: 2px solid #c084fc;
    color: #f5f5f5;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-icon-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(192, 132, 252, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-icon-btn i {
    font-size: 1.25rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.hero-icon-btn:hover {
    transform: translateY(-2px) scale(1.05);
    border-color: #c084fc;
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.4);
}

.hero-icon-btn:hover::before {
    opacity: 1;
}

.hero-icon-btn:hover i {
    color: #c084fc;
    transform: scale(1.1);
}

/* Add these styles for the project status labels */
.project-status {
    display: inline-block;
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    margin-left: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    vertical-align: middle;
    text-transform: uppercase;
}

.project-status.completed {
    background-color: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.project-status.in-progress {
    background-color: rgba(234, 179, 8, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

/* Hamburger menu icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #f5f5f5;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Update the existing media query for mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        max-width: 300px;
        background: #2a2a2a;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -4px 0 15px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Add backdrop when menu is open */
    .nav-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-backdrop.active {
        display: block;
    }
}
