@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');

:root {
  --primary-color: #1a1a1a;
  --secondary-color: #FF6B6B;
  --accent-color: #4A90E2;
  --text-color: #4a4a4a;
  --light-bg: #f0f0f0;
  --card-bg: white;
  --navbar-bg: rgba(255, 255, 255, 0.95);
  --shadow-color: rgba(0, 0, 0, 0.1);
  --border-color: #ddd;
}

[data-theme="dark"] {
  --primary-color: #00ffff;
  --secondary-color: #ff00ff;
  --accent-color: #4A90E2;
  --text-color: #e0e0e0;
  --light-bg: #0a0a0a;
  --card-bg: rgba(20, 20, 20, 0.8);
  --navbar-bg: rgba(10, 10, 10, 0.95);
  --shadow-color: rgba(0, 255, 255, 0.2);
  --border-color: rgba(0, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
a {
  text-decoration: none;
}
.butn{
  text-decoration: none;
}
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
  background-color: transparent;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.navbar {
    padding: 1.5rem 0;
    background: transparent !important; /* Remove background */
    box-shadow: none; /* Remove shadow */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand h1 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #fff;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 70%;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px);
}

[data-theme="light"] .navbar {
    background: transparent !important;
    box-shadow: none;
}

[data-theme="light"] .nav-link {
    color: #fff !important;
}

  .social-icons-section {
  padding: 2rem 0 4rem;
  background-color: transparent;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 0;
}

.centered-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}

.centered-content h1 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 4rem !important;
  line-height: 1.2;
}

.centered-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.profile-picture {
  margin: 3rem auto 4rem;
  position: relative;
  z-index: 1;
}

.profile-picture img {
  width: 450px;
  height: 450px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--accent-color);
  display: block;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-top: 4rem;
  position: relative;
  z-index: 1;
}

.social-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: color 0.3s;
}

.social-icon:hover {
  color: var(--secondary-color);
}

.section-title {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 3rem;
}

.project-card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 10px var(--shadow-color);
  margin-bottom: 2rem;
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: auto;
  border-radius: 20px 20px 0 0;
}

.skills-section {
  background-color: transparent;
  padding: 4rem 0 2rem;
  text-align: center;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 2rem;
  list-style: none;
}

.skills-list li {
  background: var(--card-bg);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 0 10px var(--shadow-color);
  font-weight: 500;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.skills-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 157, 0.2);
  background: var(--secondary-color);
}

/* Contact Form */
.container12 {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea {
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  background-color: var(--card-bg);
  color: var(--text-color);
}

.butn {
  background-color: var(--card-bg);
  color: var(--primary-color);
  padding: 1rem 2rem;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
    display: inline-block;
}

.butn:hover {
  transform: translateY(-2px);
  background-color: var(--primary-color);
  color: var(--card-bg);
    text-decoration: none;
  }
  
.project-card .butn {
  color: var(--primary-color);
}

.project-card .butn:hover {
  color: var(--card-bg);
}

/* Footer */
footer {
  flex-shrink: 0;
  width: 100%;
  padding: 2rem 0;
  margin-top: auto;
  background: transparent;
  border-top: 1px solid var(--primary-color);
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-info {
  text-align: center;
}

.footer-info h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-info p {
  color: var(--text-color);
  font-size: 1rem;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  margin: 1rem 0;
}

.footer-social a {
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  color: var(--text-color);
  font-size: 0.9rem;
}

.footer-bottom .fa-heart {
  color: #ff6b6b;
  margin: 0 0.2rem;
}

@media (max-width: 768px) {
  footer {
    padding: 1.5rem 0;
  }

  .footer-info h3 {
    font-size: 1.3rem;
  }

  .footer-social {
    gap: 1.2rem;
  }

  .footer-social a {
    font-size: 1.1rem;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }
}

/* Add these new styles */

/* Sticky navbar */
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Main content spacing */
main {
    margin-top: 76px; /* Height of navbar */
}

/* Section spacing */
section {
    padding: 6rem 0;
}

/* About section styles */
.about-section {
    background-color: transparent;
    padding-top: 2rem;
}

.about-image {
    border-radius: 20px;
    box-shadow: 0 0 20px var(--shadow-color);
}

.about-content {
    padding: 20px;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.key-points {
    margin: 20px 0;
}

.point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.point i {
    font-size: 1.2rem;
    color: #007bff;
    margin-top: 4px;
}

.point p {
    margin: 0;
}

.collaboration-note {
    margin-top: 20px;
    font-style: italic;
    color: #666;
}

/* Update existing styles */
.section-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Contact section */
.contact-section {
    padding: 3rem 0;
    background-color: transparent;
}

.container12 {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.contact-section h1 {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 0.8rem;
}

.contact-section input,
.contact-section textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--card-bg);
    color: var(--text-color);
    font-size: 0.9rem;
}

.contact-section textarea {
    resize: vertical;
    min-height: 80px;
}

.contact-section .butn {
    width: 100%;
    padding: 0.7rem;
    margin-top: 0.3rem;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 2rem 0;
    }
    
    .container12 {
        padding: 0 1rem;
    }
    
    .contact-section h1 {
        font-size: 1.3rem;
    }
}

/* Button styles */
.button-contact {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
}

.button-contact:hover {
    transform: translateY(-2px);
    background-color: #00ff9d;
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.3);
}

.button-contact a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Center1 styles */
.center1 {
    text-align: center;
    padding: 1rem 0;
}

.button11 {
    background-color: var(--card-bg);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button11:hover {
    transform: translateY(-2px);
    background-color: var(--primary-color);
    color: var(--card-bg);
}

.button11 a {
    color: inherit;
    text-decoration: none;
}

/* Add to your existing CSS */
.animated-text {
    font-style: italic;
    min-height: 30px;
    transition: opacity 0.5s ease-in-out;
    margin: 1.5rem 0;
    color: var(--accent-color);
    font-size: 2rem !important;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.2);
}

/* Add these new styles for the projects section */
.projects-container {
    position: relative;
    padding: 0 60px;
    max-width: 800px;
    margin: 0 auto;
}

.projects-wrapper {
    overflow: hidden;
    padding: 20px 0;
}

.projects-grid {
    display: flex;
    transition: transform 0.3s ease;
}

.project-card {
    min-width: 100%;
    max-width: 100%;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 20px var(--shadow-color);
    transition: transform 0.3s;
}

.project-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.project-card .p-4 {
    padding: 1.5rem !important;
}

.project-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.project-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    font-size: 1rem;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.scroll-btn:hover {
    background-color: var(--primary-color);
    color: var(--card-bg);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .projects-container {
        padding: 0 40px;
        max-width: 100%;
    }

    .project-card img {
        height: 200px;
    }

    .project-card .p-4 {
        padding: 1rem !important;
    }

    .project-card h3 {
        font-size: 1.3rem;
    }

    .project-card p {
        font-size: 0.9rem;
    }

    .scroll-btn {
        width: 35px;
        height: 35px;
    }
}

/* Add this to ensure links inside buttons have no decoration */
.project-card a,
.project-card a:hover,
.project-card a:visited,
.project-card a:active {
    text-decoration: none;
    color: inherit;
}

/* General link styles */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Add or update these media queries */
@media (max-width: 768px) {
    /* Hero section */
    .centered-content h1 {
        font-size: 35px !important;
    }

    .profile-picture img {
        width: 300px;
        height: 300px;
    }

    .social-icons {
        gap: 1rem;
    }

    /* About section */
    .about-section .col-md-4 {
        margin-bottom: 2rem;
    }

    .about-content {
        padding: 1rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Projects section */
    .projects-container {
        padding: 0 40px;
    }

    .project-card img {
        height: 200px;
    }

    .project-card .p-4 {
        padding: 1rem !important;
    }

    .project-card h3 {
        font-size: 1.3rem;
    }

    .scroll-btn {
        width: 35px;
        height: 35px;
    }

    /* Skills section */
    .skills-list {
        gap: 0.8rem;
        padding: 0 1rem;
    }

    .skills-list li {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Contact section */
    .container12 {
        padding: 1rem;
    }

    form {
        padding: 0 1rem;
    }
}

/* Small devices */
@media (max-width: 576px) {
    /* Navbar */
    .navbar-brand h1 {
        font-size: 1.2rem;
    }

    /* Hero section */
    .centered-content h1 {
        font-size: 30px !important;
    }

    .profile-picture img {
        width: 250px;
        height: 250px;
    }

    /* About section */
    .about-content p {
        font-size: 0.95rem;
    }

    /* Projects section */
    .projects-container {
        padding: 0 30px;
    }

    .project-card img {
        height: 180px;
    }

    .project-card p {
        font-size: 0.85rem;
    }

    /* Contact form */
    .container12 h1 {
        font-size: 1.5rem !important;
    }

    .container12 h2 {
        font-size: 1rem !important;
    }

    input, textarea {
        font-size: 0.9rem;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .centered-content h1 {
        font-size: 25px !important;
    }

    .animated-text {
        font-size: 1.2rem;
    }

    .profile-picture img {
        width: 180px;
        height: 180px;
    }

    .skills-list li {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .button-contact, .butn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Landscape mode */
@media (max-height: 600px) and (orientation: landscape) {
    .social-icons-section {
        padding: 4rem 0;
    }

    .profile-picture img {
        width: 150px;
        height: 150px;
    }
}

/* Add these theme-related styles */
:root {
    /* Light theme (default) */
    --primary-color: #1a1a1a;
    --secondary-color: #FF6B6B;
    --accent-color: #4A90E2;
    --text-color: #4a4a4a;
    --light-bg: #f0f0f0;
    --card-bg: white;
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --border-color: #ddd;
}

[data-theme="dark"] {
    --primary-color: #ffffff;
    --secondary-color: #FF6B6B;
    --accent-color: #4A90E2;
    --text-color: #e0e0e0;
    --light-bg: #1a1a1a;
    --card-bg: #2d2d2d;
    --navbar-bg: rgba(26, 26, 26, 0.95);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --border-color: #404040;
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;
}

/* Theme toggle button styles */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle i {
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.theme-toggle:hover i {
    color: var(--secondary-color);
    transform: rotate(15deg);
}

/* Profile CTA section */
.profile-cta {
    text-align: center;
    margin-top: 0;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.stat-item {
  display: flex;
    flex-direction: column;
  align-items: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-color);
    margin-top: 0.5rem;
}

.download-cv {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-cv:hover {
    background-color: var(--primary-color);
    color: var(--card-bg);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Responsive styles */
@media (max-width: 768px) {
    .stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.about-section .container.mt-5 {
    margin-top: 2rem !important;
}

/* Update profile picture spacing */
.profile-picture {
    margin-bottom: 4rem;
}

/* Update About section title positioning */
.about-section .section-title {
    text-align: left;
    margin-left: 33%; /* Aligns with the text column */
    margin-bottom: 2rem;
    padding-top: 2rem;
}

/* Update container spacing */
.about-section .container.mt-5 {
    margin-top: 0 !important;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .about-section .section-title {
        text-align: center;
        margin-left: 0;
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: var(--card-bg);
    margin: 15% auto;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 0 20px var(--shadow-color);
    text-align: center;
}

.close-modal {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.twitter-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: #1DA1F2;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.twitter-link:hover {
    transform: translateY(-2px);
    background-color: #1a8cd8;
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 30% auto;
        padding: 1.5rem;
    }
}

/* Add specific styles for extra large screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .centered-content {
        max-width: 1000px;
    }

    .profile-picture img {
        width: 450px;
        height: 450px;
    }
}

/* Add styles for large screens */
@media (min-width: 992px) and (max-width: 1399px) {
    .centered-content h1 {
        font-size: 3.5rem !important;
    }

    .animated-text {
        font-size: 1.8rem !important;
    }
}

/* Update stats section for larger screens */
.stats {
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.stat-number {
    font-size: 2.2rem;
}

.stat-label {
    font-size: 1rem;
}

/* Ensure proper spacing between sections */
section {
    padding: 6rem 0;
}

/* Update navbar for larger screens */
@media (min-width: 992px) {
    .navbar {
        padding: 1.5rem 0;
    }

    .navbar-brand h1 {
        font-size: 2rem;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1.5rem !important;
    }
}

/* Add these quote styles */
.quote-container {
    margin-top: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.quote {
    font-style: italic;
    color: #666666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.quote-author {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .quote {
        font-size: 0.9rem;
    }
    .quote-author {
        font-size: 0.8rem;
    }
}

/* Project type selector styles */
.project-type-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.type-btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    background: var(--card-bg);
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.type-btn.active {
    background: var(--primary-color);
    color: var(--card-bg);
}

.type-btn:hover {
    transform: translateY(-2px);
}

/* Hide inactive project container */
.projects-container {
    display: none;
}

.projects-container.active {
    display: block;
}

@media (max-width: 768px) {
    .project-type-selector {
        gap: 0.5rem;
    }

    .type-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Update project grid styles */
.projects-grid {
    display: flex;
    transition: transform 0.3s ease;
}

.projects-grid-single {
    width: 100%;
}

.projects-grid-single .project-card {
    max-width: 800px;
    margin: 0 auto;
}

/* Update container visibility */
#startups .scroll-btn {
    display: none;
}

#side-projects .projects-grid .project-card {
    min-width: 100%;
    flex-shrink: 0;
}

/* Adjust project type selector */
.project-type-selector {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.type-btn {
    min-width: 150px;
}

/* Add the animated background for dark mode */
[data-theme="dark"] body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(1px 1px at 25% 25%, white 1px, transparent 0),
        radial-gradient(1px 1px at 50% 50%, white 1px, transparent 0),
        radial-gradient(1px 1px at 75% 75%, white 1px, transparent 0),
        radial-gradient(2px 2px at 15% 15%, rgba(255, 255, 255, 0.8) 1px, transparent 0),
        radial-gradient(2px 2px at 85% 85%, rgba(255, 255, 255, 0.8) 1px, transparent 0),
        linear-gradient(45deg, transparent 0%, rgba(0, 255, 255, 0.1) 50%, transparent 100%);
    background-color: #050715;
    background-size: 150px 150px, 130px 130px, 100px 100px, 200px 200px, 250px 250px, 100% 100%;
    animation: space-float 120s linear infinite;
    pointer-events: none;
    z-index: -1;
}

[data-theme="dark"] body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(76, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 255, 0.1) 0%, transparent 35%);
    pointer-events: none;
    z-index: -1;
    animation: nebula-float 60s ease-in-out infinite alternate;
}

/* Space animations */
@keyframes space-float {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 150px 150px, -130px 130px, 100px -100px, -200px 200px, 250px -250px, 0 0;
    }
}

@keyframes nebula-float {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%;
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
    100% {
        background-position: 100% 100%, 100% 0%, 0% 100%;
        opacity: 0.5;
    }
}

/* Update dark theme colors for better contrast with space background */
[data-theme="dark"] {
    --primary-color: #00ffff;
    --secondary-color: #ff00ff;
    --accent-color: #4A90E2;
    --text-color: #ffffff;
    --light-bg: transparent;
    --card-bg: rgba(5, 7, 21, 0.8);
    --navbar-bg: rgba(5, 7, 21, 0.95);
    --shadow-color: rgba(0, 255, 255, 0.2);
    --border-color: rgba(0, 255, 255, 0.1);
}

/* Enhance card backdrop filter for better readability */
[data-theme="dark"] .project-card,
[data-theme="dark"] .skills-list li {
    backdrop-filter: blur(10px) brightness(0.8);
    background: rgba(5, 7, 21, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

/* Add star twinkle animation */
[data-theme="dark"] .star {
    position: fixed;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 4s infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Dark mode hover effects */
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .social-icon:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
    transform: translateY(-2px);
}

[data-theme="dark"] .section-title {
    animation: neonPulse 2s infinite;
}

[data-theme="dark"] .butn {
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}

[data-theme="dark"] .butn:hover {
    background: var(--primary-color);
    color: var(--light-bg);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* Dark mode skill tags */
[data-theme="dark"] .skills-list li {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

[data-theme="dark"] .skills-list li:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

/* Smooth transitions */
.navbar,
.project-card,
.skills-list li,
.butn,
h1, h2, h3, p {
    transition: all 0.3s ease;
}

/* Add scanline effect for dark mode */
[data-theme="dark"] .project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        transparent 0%,
        rgba(0, 255, 255, 0.05) 50%,
        transparent 100%
    );
    background-size: 100% 4px;
    animation: scanline 6s linear infinite;
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

/* Spaceship cursor styles */
.spaceship-cursor {
    display: none;
    position: fixed;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 9999;
    transform: rotate(-45deg);
    transition: transform 0.1s ease;
}

.spaceship-cursor::before {
    content: '🚀';
    font-size: 35px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Enhanced trail effect */
.spaceship-cursor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 3px;
    background: linear-gradient(to left, 
        var(--primary-color) 0%,
        rgba(0, 255, 255, 0.8) 50%,
        transparent 100%);
    transform: translate(-50%, -50%);
    opacity: 0.7;
    filter: blur(1px);
}

/* Show spaceship in dark mode */
[data-theme="dark"] .spaceship-cursor {
    display: block;
}

/* Hide default cursor in dark mode */
[data-theme="dark"] body {
    cursor: none;
}

[data-theme="dark"] a,
[data-theme="dark"] button {
    cursor: none;
}

/* Add these shooting star styles */
.mega-shooting-star {
    position: fixed;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
}

.mega-shooting-star::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 150px;
    height: 3px;
    background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.8));
    transform: translateY(-50%);
}

@keyframes megaShoot {
    0% {
        transform: translate(-10%, -10%) rotate(-45deg);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    30% {
        opacity: 1;
        filter: brightness(1.5);
    }
    100% {
        transform: translate(120vw, 120vh) rotate(-45deg);
        opacity: 0;
    }
}

/* Add a flash effect for the whole page */
@keyframes pageFlash {
    0% {
        background: rgba(255, 255, 255, 0);
    }
    30% {
        background: rgba(255, 255, 255, 0.1);
    }
    100% {
        background: rgba(255, 255, 255, 0);
    }
}

.flash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9;
    animation: pageFlash 1s ease-out forwards;
}

/* Update the dark mode typography styles */
[data-theme="dark"] .section-title {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    animation: neonPulse 2s infinite;
}

[data-theme="dark"] .navbar-brand h1 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
}

[data-theme="dark"] .nav-link {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

[data-theme="dark"] .project-card h3 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

[data-theme="dark"] .animated-text {
    font-family: 'Space Mono', monospace;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}

[data-theme="dark"] .type-btn {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

[data-theme="dark"] .stat-number {
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* Add neon pulse animation */
@keyframes neonPulse {
    0% {
        text-shadow: 0 0 10px rgba(0, 255, 255, 0.5),
                     0 0 20px rgba(0, 255, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(0, 255, 255, 0.8),
                     0 0 30px rgba(0, 255, 255, 0.5),
                     0 0 40px rgba(0, 255, 255, 0.3);
    }
    100% {
        text-shadow: 0 0 10px rgba(0, 255, 255, 0.5),
                     0 0 20px rgba(0, 255, 255, 0.3);
    }
}

/* Enhance hover effects */
[data-theme="dark"] .nav-link:hover {
    text-shadow: 0 0 10px var(--primary-color),
                 0 0 20px var(--primary-color);
    transform: translateY(-2px);
}

[data-theme="dark"] .project-card:hover h3 {
    text-shadow: 0 0 15px var(--primary-color);
}

/* Additional dark mode typography updates */
[data-theme="dark"] .centered-content h1 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

[data-theme="dark"] .key-points .point strong {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

[data-theme="dark"] .collaboration-note {
    font-family: 'Space Mono', monospace;
    letter-spacing: 1px;
}

[data-theme="dark"] .button11 {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

[data-theme="dark"] .footer-info h3 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

[data-theme="dark"] .footer-info p {
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
}

[data-theme="dark"] .copyright {
    font-family: 'Space Mono', monospace;
    letter-spacing: 1px;
}

[data-theme="dark"] .skills-list li {
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
    font-weight: 500;
}

[data-theme="dark"] .modal-content h3 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

[data-theme="dark"] .twitter-link {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

[data-theme="dark"] .project-card p {
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

[data-theme="dark"] .about-content p {
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
}

[data-theme="dark"] .point i {
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* Enhanced hover effects */
[data-theme="dark"] .button11:hover,
[data-theme="dark"] .twitter-link:hover {
    text-shadow: 0 0 10px var(--primary-color);
    transform: translateY(-2px) scale(1.05);
}

[data-theme="dark"] .footer-social a:hover {
    transform: translateY(-3px);
    text-shadow: 0 0 15px var(--primary-color);
}

[data-theme="dark"] .skills-list li:hover {
    letter-spacing: 2px;
}

/* Space Station Command Center */
.space-station {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(10, 15, 30, 0.9);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
    z-index: 100;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

[data-theme="dark"] .space-station {
    display: block;
}

.station-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.command-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.command-item {
    font-family: 'Space Mono', monospace;
    color: #fff;
    font-size: 12px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.command-item:hover {
    opacity: 1;
}

.command-key {
    background: rgba(0, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: var(--primary-color);
}

.station-icon {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

/* Station animation */
@keyframes stationPulse {
    0% {
        border-color: rgba(0, 255, 255, 0.3);
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    }
    50% {
        border-color: rgba(0, 255, 255, 0.5);
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
    }
    100% {
        border-color: rgba(0, 255, 255, 0.3);
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    }
}

[data-theme="dark"] .space-station {
    animation: stationPulse 4s infinite;
}

/* Add this to your existing space station styles */
.command-item.active {
    animation: commandPulse 0.5s ease-out;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 8px;
}

@keyframes commandPulse {
    0% {
        transform: scale(1);
        background: rgba(0, 255, 255, 0.3);
    }
    100% {
        transform: scale(1.05);
        background: rgba(0, 255, 255, 0.1);
    }
}

.space-station {
    transform: translateY(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.space-station:hover {
    transform: translateY(-5px);
}

/* Add a minimize feature */
.space-station.minimized {
    transform: translateY(calc(100% - 40px));
}

.station-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: var(--primary-color);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.station-toggle:hover {
    opacity: 1;
}

/* Light Theme (Mountain Mode) Variables */
[data-theme="light"] {
    --primary-color: #00ff00;
    --secondary-color: #32CD32;
    --accent-color: #39FF14;
    --text-color: #E0E0E0;
    --terminal-bg: rgba(0, 0, 0, 0.85);
    --card-bg: rgba(0, 20, 0, 0.8);
    --code-font: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Update background for AI theme */
[data-theme="light"] body {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://images.unsplash.com/photo-1635070041078-e363dbe005cb?auto=format&fit=crop&w=2000') center/cover fixed;
    font-family: var(--code-font);
}

/* Terminal-style text */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3 {
    color: var(--primary-color);
    font-family: var(--code-font);
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    position: relative;
    overflow: hidden;
}

[data-theme="light"] p {
    color: var(--text-color);
    font-family: var(--code-font);
    line-height: 1.6;
}

/* Typewriter effect for main title */
.typing-effect {
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

/* Cursor blink animation */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-color) }
}

/* Terminal-style cards */
[data-theme="light"] .project-card {
    background: var(--terminal-bg);
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
    padding: 20px;
}

[data-theme="light"] .project-card::before {
    content: '> executing project_display.sh...';
    display: block;
    color: var(--primary-color);
    font-family: var(--code-font);
    font-size: 0.8em;
    margin-bottom: 10px;
    opacity: 0.7;
}

/* Skills list terminal style */
[data-theme="light"] .skills-list li {
    background: var(--terminal-bg);
    border: 1px solid var(--primary-color);
    color: var(--text-color);
    font-family: var(--code-font);
    padding: 8px 16px;
    position: relative;
}

[data-theme="light"] .skills-list li::before {
    content: '>';
    color: var(--primary-color);
    margin-right: 8px;
}

/* Navbar update */
[data-theme="light"] .navbar {
    background: var(--terminal-bg) !important;
    border-bottom: 1px solid var(--primary-color);
}

[data-theme="light"] .nav-link {
    color: var(--text-color) !important;
    font-family: var(--code-font);
}

/* Matrix-style background animation */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.matrix-character {
    color: var(--primary-color);
    font-size: 14px;
    opacity: 0;
    animation: matrix-fall linear infinite;
}

/* Base structure */
html, body {
    height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main content wrapper */
.main-content {
    flex: 1 0 auto; /* This makes the content expand and push footer down */
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Section styles */
.social-icons-section,
.about-section,
.info-section,
.skills-section,
.contact-section {
    width: 100%;
}

/* Footer styles */
footer {
    flex-shrink: 0;
    width: 100%;
    padding: 2rem 0;
    margin-top: auto;
    background: transparent;
    border-top: 1px solid var(--primary-color);
}

/* Footer content styles */
.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

[data-theme="light"] .footer-info h3,
[data-theme="light"] .footer-info p,
[data-theme="light"] .copyright {
    color: var(--primary-color);
    font-family: var(--code-font);
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

[data-theme="light"] .footer-social {
    margin: 1rem 0;
}

[data-theme="light"] .footer-social a {
    color: var(--primary-color);
    margin: 0 1rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

[data-theme="light"] .footer-social a:hover {
    color: var(--text-color);
    text-shadow: 0 0 10px var(--primary-color);
    transform: translateY(-2px);
}

/* Audio toggle styles */
.space-audio-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--terminal-bg);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.space-audio-toggle i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.space-audio-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--primary-color);
}

[data-theme="light"] .space-audio-toggle {
    background: rgba(0, 0, 0, 0.8);
    border-color: var(--primary-color);
}

[data-theme="light"] .space-audio-toggle i {
    color: var(--primary-color);
}

/* Hamburger Menu Styles */
.menu-toggle {
    display: block;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

/* Active state */
.menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

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

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

/* Navbar Menu Styles */
.navbar-collapse {
    position: relative;
    right: 0;
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
    transition: 0.3s ease;
}

/* Reset navbar styles for larger screens */
.navbar-nav {
    flex-direction: row;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    opacity: 1;
    transform: none;
}

/* Mobile styles - apply only on smaller screens */
@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--terminal-bg);
        padding: 80px 20px 20px;
    }

    .navbar-collapse.show {
        right: 0;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 20px;
    }

    .nav-item {
        opacity: 0;
        transform: translateX(100px);
    }

    .navbar-collapse.show .nav-item {
        opacity: 1;
        transform: translateX(0);
        transition-delay: calc(0.1s * var(--item-number));
    }
}

/* Hide hamburger on larger screens */
@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }
}

/* Projects Categories */
.category-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn.active {
    background: var(--primary-color);
    color: var(--card-bg);
}

.project-category {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.project-category.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 1.5rem;
    position: relative;
}

.status-badge {
    position: absolute;
    top: -2.5rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--card-bg);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.project-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.project-content p {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-stack span {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.project-links a:hover {
    background: var(--primary-color);
    color: var(--card-bg);
    transform: translateY(-2px);
}

.project-card:hover {
    transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .category-btn {
        width: 200px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Enhanced Project Carousel Styles */
.projects-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.carousel-container {
    overflow: hidden;
    position: relative;
}

.projects-grid {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
}

.project-card {
    min-width: calc(100% - 30px);
    flex: 0 0 calc(100% - 30px);
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.project-image-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.project-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--card-bg);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (min-width: 992px) {
    .project-card {
        min-width: calc(50% - 30px);
        flex: 0 0 calc(50% - 30px);
    }
}

@media (min-width: 1200px) {
    .project-card {
        min-width: calc(33.333% - 30px);
        flex: 0 0 calc(33.333% - 30px);
    }
}

@media (max-width: 768px) {
    .projects-carousel {
        padding: 0 40px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
