:root {
    --portfolio-dark: #11142E;
    --portfolio-light: #ffffff;
    --portfolio-accent: #6af5ff;
    --portfolio-text: rgba(183, 180, 187, 1);
    --portfolio-gradient: linear-gradient(to right, rgb(73, 86, 161), rgb(106, 245, 255));
    --transition-fast: 0.3s;
    --transition-medium: 0.5s;
  }
  
  /* General Styles */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
 /* Enhanced Hero Section */
.portfolio-hero {
    position: relative;
    padding: 8rem 2rem 6rem;
    overflow: hidden;
    background-color: var(--portfolio-dark);
    z-index: 1;
  }
  
  /* Background elements */
  .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  
  .hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
  }
  
  .dot-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(106, 245, 255, 0.4) 1px, transparent 1px);
    background-size: 30px 30px;
  }
  
  /* Content styling */
  .hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }
  
  .hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
  }
  
  .hero-title .highlight {
    position: relative;
    display: inline-block;
    color: var(--portfolio-accent); /* This ensures the text is visible */
    background: linear-gradient(to right, rgb(124, 141, 240), rgb(106, 245, 255));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0.2rem;
    left: 0;
    width: 100%;
    height: 0.5rem;
    background: rgba(106, 245, 255, 0.2);
    z-index: -1;
    transform: skewX(-15deg);
  }  
  
  .subtitle {
    font-size: 1.3rem;
    color: var(--portfolio-text);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
  }
  
  /* Stats section */
  .hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
  }
  
  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, rgb(124, 141, 240), rgb(106, 245, 255));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
  }
  
  .stat-label {
    font-size: 1rem;
    color: var(--portfolio-text);
  }
  
  /* CTA buttons */
  .hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }
  
  .btn-primary {
    background: var(--portfolio-gradient);
    color: var(--portfolio-dark);
  }
  
  .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--portfolio-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  /* Fix for cursor visibility issues */
  .portfolio-hero *,
  .btn-primary,
  .btn-secondary,
  .hero-title,
  .subtitle,
  .stat-item {
    cursor: default;
  }
  
  .btn-primary,
  .btn-secondary,
  a {
    cursor: pointer !important;
  }
  
  /* Responsive adjustments */
  @media (max-width: 992px) {
    .hero-title {
      font-size: 3.5rem;
    }
    
    .hero-stats {
      gap: 3rem;
    }
  }
  
  @media (max-width: 768px) {
    .portfolio-hero {
      padding: 6rem 2rem 4rem;
    }
    
    .hero-title {
      font-size: 2.8rem;
    }
    
    .subtitle {
      font-size: 1.1rem;
    }
    
    .hero-stats {
      gap: 2rem;
    }
    
    .stat-number {
      font-size: 2rem;
    }
  }
  
  @media (max-width: 576px) {
    .hero-title {
      font-size: 2.2rem;
    }
    
    .subtitle {
      font-size: 1rem;
      margin-bottom: 2rem;
    }
    
    .hero-stats {
      flex-direction: column;
      gap: 1.5rem;
    }
    
    .hero-cta {
      flex-direction: column;
      gap: 1rem;
      align-items: center;
    }
    
    .btn-primary, .btn-secondary {
      width: 100%;
      max-width: 250px;
      text-align: center;
    }
  }  
  
  /* Project Filters */
  .project-filters {
    padding: 2rem 0;
    text-align: center;
  }
  
  .filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .filter-btn {
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--portfolio-text);
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition-fast) ease;
  }
  
  .filter-btn:hover, .filter-btn.active {
    background: var(--portfolio-gradient);
    color: var(--portfolio-dark);
  }
  
  /* Projects Grid */
  .projects-grid {
    padding: 2rem 0 5rem;
  }
  
  .projects-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
  }
  
  .project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
  }
  
  .project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  
  .project-image {
    height: 200px;
    overflow: hidden;
  }
  
  .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium) ease;
  }
  
  .project-card:hover .project-image img {
    transform: scale(1.05);
  }
  
  .project-info {
    padding: 1.5rem;
  }
  
  .project-info h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    background: linear-gradient(to right, rgb(124, 141, 240), rgb(106, 245, 255));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .project-tech span {
    background: rgba(106, 245, 255, 0.1);
    color: var(--portfolio-accent);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
  }
  
  .project-info p {
    margin-bottom: 1.5rem;
    color: var(--portfolio-text);
    line-height: 1.6;
  }
  
  .project-links {
    display: flex;
    gap: 1rem;
  }
  
  .btn-details {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: var(--portfolio-gradient);
    color: var(--portfolio-dark);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
  }
  
  .btn-details:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  /* Project Modal */
  .project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast) ease, visibility var(--transition-fast) ease;
  }
  
  .project-modal.active {
    opacity: 1;
    visibility: visible;
  }
  
  .modal-content {
    background: var(--portfolio-dark);
    border-radius: 15px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--portfolio-dark);
    z-index: 10;
  }
  
  .modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
  }
  
  .close-modal {
    background: none;
    border: none;
    color: var(--portfolio-text);
    font-size: 2rem;
    cursor: pointer;
    transition: color var(--transition-fast) ease;
  }
  
  .close-modal:hover {
    color: var(--portfolio-accent);
  }
  
  .modal-body {
    padding: 2rem;
  }
  
  .project-gallery {
    margin-bottom: 2rem;
  }
  
  .project-gallery img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
  }
  
  .project-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .details-section {
    margin-bottom: 2rem;
  }
  
  .details-section h3 {
    color: var(--portfolio-accent);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
  }
  
  .details-section p {
    margin-top: 0;
    line-height: 1.7;
  }
  
  .tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
  }
  
  .tech-tags span {
    background: rgba(106, 245, 255, 0.1);
    color: var(--portfolio-accent);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
  }
  
  .details-section ul {
    padding-left: 1.5rem;
    margin-top: 0;
  }
  
  .details-section li {
    margin-bottom: 0.8rem;
    position: relative;
  }
  
  .details-section li::before {
    content: "•";
    color: var(--portfolio-accent);
    font-weight: bold;
    position: absolute;
    left: -1rem;
  }
  
  /* Call to Action */
  .portfolio-cta {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-contact {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--portfolio-gradient);
  color: var(--portfolio-dark);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: transform var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
}

.btn-contact:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.floating-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
}

.shape-1 {
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, #6af5ff, #4a8cff);
  top: 20%;
  left: 10%;
  animation: float 8s infinite ease-in-out;
}

.shape-2 {
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, #ff6a6a, #6a6aff);
  top: 60%;
  right: 10%;
  animation: float 10s infinite ease-in-out reverse;
}

.shape-3 {
  width: 70px;
  height: 70px;
  background: linear-gradient(45deg, #ffaa6a, #6affaa);
  bottom: 10%;
  left: 30%;
  animation: float 12s infinite ease-in-out;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 3rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--portfolio-text);
  text-decoration: none;
  transition: color var(--transition-fast) ease;
}

.footer-links a:hover {
  color: var(--portfolio-accent);
}

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

.footer-social a {
  color: var(--portfolio-text);
  font-size: 1.5rem;
  transition: color var(--transition-fast) ease;
}

.footer-social a:hover {
  color: var(--portfolio-accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--portfolio-gradient);
  color: var(--portfolio-dark);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast) ease;
  z-index: 99;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .project-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .projects-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-links, .footer-social {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }
  
  .projects-wrapper {
    grid-template-columns: 1fr;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
  
  .btn-contact {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

  