@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0f0c29;
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 20px;
}

.nav-links a:hover {
    color: #ff00ff;
    background: rgba(255, 255, 255, 0.1);
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    position: absolute;
    transition: 0.3s;
}

.hamburger span:first-child { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:last-child { top: 18px; }

.hamburger.active span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
    margin-bottom: 20px;
}

/* Typing Animation */
.typing-container {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.typing-text {
    position: relative;
    color: #00ffff;
    font-weight: 500;
    font-size: 24px;
}

.typing-text::after {
    content: "|";
    position: absolute;
    right: -8px;
    width: 2px;
    height: 100%;
    color: #fff;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    position: relative;
    z-index: 1;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.social-link i {
    font-size: 22px;
    z-index: 1;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff00ff, #00ffff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.3);
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.3);
}

/* Contact Section */
.contact {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
}

.contact-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff00ff;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.3);
}

@media (max-width: 768px) {
    .contact-form {
        padding: 30px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 14px;
        padding: 12px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link i {
        font-size: 20px;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(15, 12, 41, 0.98);
        padding: 20px;
        flex-direction: column;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hamburger {
        display: block;
    }
}

/* Message Notification */
.message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 5px;
    background: linear-gradient(45deg, #00ff00, #00ffaa);
    color: white;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.message.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* About Section Styles */
.about {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(15, 12, 41, 0.9), rgba(36, 36, 62, 0.9));
    color: white;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    text-align: center;
}

.profile-pic {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ff00ff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
}

.about-content {
    padding: 20px;
}

.about-content h3 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .about-container {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .about-content {
      padding: 0;
    }
  
    .about-image {
      display: flex;
      justify-content: center;
    }
  
    .about-content h3 {
      font-size: 2rem;
    }
  }
  

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 0, 255, 0.1);
}

.detail-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 0, 255, 0.1);
}

.detail-item i {
    font-size: 1.5rem;
    color: #00ffff;
}

.detail-item h4 {
    margin: 0;
    color: white;
    font-size: 1.1rem;
}

.detail-item p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.about-cta {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.cta-button {
    padding: 12px 25px;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.3);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #ff00ff;
}

.cta-button.secondary:hover {
    background: rgba(255, 0, 255, 0.1);
}

/* Responsive adjustments for about section */
@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-details {
        grid-template-columns: 1fr;
    }
    
    .detail-item {
        justify-content: center;
    }
    
    .about-cta {
        justify-content: center;
    }
    
    .profile-pic {
        width: 200px;
        height: 200px;
    }
}

/* Projects Section */
.projects {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(15, 12, 41, 0.9), rgba(36, 36, 62, 0.9));
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="10" y="10" width="80" height="80" fill="none" stroke="%23ff00ff" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    opacity: 0.1;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    margin: 10px auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.project-card {
    position: relative;
    perspective: 1000px;
    height: 300px;
    cursor: pointer;
}

.project-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.project-card:hover .project-card-inner {
    transform: rotateY(180deg);
}

.project-card-front,
.project-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
}

.project-card-front {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 0, 255, 0.1);
}

.project-card-back {
    background: rgba(15, 12, 41, 0.95);
    transform: rotateY(180deg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    padding: 8px 20px;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.3);
}

/* Lightbox Gallery */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.3);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    color: #ff00ff;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.lightbox-prev,
.lightbox-next {
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #ff00ff;
    transform: scale(1.2);
}

/* Light Mode Projects */
body.light-mode .projects {
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
}

body.light-mode .project-card-front {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .project-card-back {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.2);
}

body.light-mode .project-title {
    color: #333;
    background: linear-gradient(45deg, #333, #666);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .project-description {
    color: #666;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.3);
}

/* Navigation Active State */
.nav-links a.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ff00ff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.typing-container {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.typing-text {
    position: relative;
    color: #00ffff;
    font-weight: 500;
    font-size: 24px;
}

.typing-text::after {
    content: "|";
    position: absolute;
    right: -8px;
    width: 2px;
    height: 100%;
    color: #fff;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* Skills Section */
.skills {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    position: relative;
    overflow: hidden;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 0, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch; 
    grid-auto-rows: 1fr; 
    padding: 20px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.2);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.category-header i {
    font-size: 24px;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-header h3 {
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-name {
    font-size: 1rem;
    color: #fff;
}

.skill-percentage {
    font-size: 0.9rem;
    color: #00ffff;
    opacity: 0.8;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    border-radius: 4px;
    transition: width 1s ease;
}

/* Animation for skill items */
@keyframes skillFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skill-item {
    animation: skillFadeIn 0.6s ease forwards;
    opacity: 0;
}

/* Stagger animation for skill items */
.skill-category:nth-child(1) .skill-item:nth-child(1) { animation-delay: 0.1s; }
.skill-category:nth-child(1) .skill-item:nth-child(2) { animation-delay: 0.2s; }
.skill-category:nth-child(1) .skill-item:nth-child(3) { animation-delay: 0.3s; }
.skill-category:nth-child(2) .skill-item:nth-child(1) { animation-delay: 0.4s; }
.skill-category:nth-child(2) .skill-item:nth-child(2) { animation-delay: 0.5s; }
.skill-category:nth-child(2) .skill-item:nth-child(3) { animation-delay: 0.6s; }
.skill-category:nth-child(3) .skill-item:nth-child(1) { animation-delay: 0.7s; }
.skill-category:nth-child(3) .skill-item:nth-child(2) { animation-delay: 0.8s; }
.skill-category:nth-child(3) .skill-item:nth-child(3) { animation-delay: 0.9s; }
.skill-category:nth-child(4) .skill-item:nth-child(1) { animation-delay: 1.0s; }
.skill-category:nth-child(4) .skill-item:nth-child(2) { animation-delay: 1.1s; }
.skill-category:nth-child(4) .skill-item:nth-child(3) { animation-delay: 1.2s; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .skill-category {
        padding: 20px;
    }
    
    .skill-item {
        gap: 6px;
    }
    
    .progress-bar {
        height: 6px;
    }
}

/* Project Modal */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow-y: auto;
}

.project-modal.show {
    display: block;
    animation: modalFadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    margin: 50px auto;
    background: linear-gradient(135deg, rgba(15, 12, 41, 0.95), rgba(48, 43, 99, 0.95));
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.3);
    backdrop-filter: blur(10px);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #ff00ff;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-title {
    font-size: 2rem;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.modal-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.project-info {
    color: #fff;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #00ffff;
}

.modal-description {
    margin-bottom: 25px;
    line-height: 1.6;
}

.project-details {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.detail h4 {
    font-size: 1.2rem;
    color: #ff00ff;
    margin-bottom: 10px;
}

.tech-stack, .features {
    list-style: none;
    padding-left: 0;
}

.tech-stack li, .features li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.tech-stack li::before, .features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00ffff;
}

.modal-links {
    display: flex;
    gap: 15px;
}

.modal-links a {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.live-demo {
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    color: white;
}

.github-link {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.3);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 20px auto;
        padding: 20px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .project-info h3 {
        font-size: 1.2rem;
    }
}