:root {
    --primary: #00ffb3;
    --primary-dark: #00cc8f;
    --dark: #0a1a1a;
    --dark-light: #1a2a2a;
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
    --gradient: linear-gradient(45deg, #00ffb3, #00cc8f);
    --glass-bg: rgba(26, 42, 42, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark);
    color: var(--text-light);
    overflow-x: hidden;
    user-select: none;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }
  
  /* Header & Navigation */
  header {
    position: relative;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    backdrop-filter: blur(10px);
    background: rgba(18, 18, 18, 0.8);
    transition: all 0.3s ease;
  }
  
  header.sticky {
    padding: 0.8rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    background: rgba(15, 15, 15, 0.95);
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
  }

  .logo:hover {
    transform: scale(1.05);
  }
  
  /* Remove header menu dots */
  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }
  .nav-links li::before {
    display: none !important;
  }
  
  .nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
  }
  
  .nav-links a:hover {
    color: var(--primary);
  }
  
  .nav-links a:hover::after {
    width: 100%;
  }
  
  .menu-toggle {
    display: none;
    cursor: pointer;
  }
  
  /* Hero Section */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: none;
    animation: fadeIn 1s ease forwards;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(0, 255, 184, 0.1);
    filter: blur(80px);
    z-index: -1;
    animation: float 15s infinite alternate;
  }
  
  .hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(0, 168, 255, 0.1);
    filter: blur(80px);
    z-index: -1;
    animation: float 20s infinite alternate-reverse;
  }
  
  @keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(50px, 50px) rotate(360deg); }
  }
  
  .hero-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
  
  .hero-text {
    flex: 1;
  }
  
  .hero-greeting {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    animation: fadeIn 1s ease forwards;
  }
  
  .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease 0.2s forwards;
    opacity: 0;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease 0.4s forwards;
    opacity: 0;
  }
  
  .typewriter {
    display: inline-block;
    position: relative;
    color: var(--primary);
  }
  
  .typewriter::after {
    content: "";
    position: absolute;
    right: -4px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: var(--primary);
    animation: blink 0.7s infinite;
  }
  
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }
  
  .hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
  }
  
  .social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    animation: fadeIn 1s ease 0.8s forwards;
    opacity: 0;
  }
  
  .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--dark-light);
    color: var(--text-light);
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  .social-link:hover {
    background: var(--gradient);
    transform: translateY(-5px);
  }
  
  .social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }
  
  .hero-image {
    flex: 1;
    position: relative;
    animation: fadeIn 1s ease 1s forwards, float 6s ease-in-out infinite alternate;
    opacity: 0;
  }
  
  .profile-img-container {
    width: 350px;
    height: 350px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
    animation: morphing 10s ease-in-out infinite;
  }
  
  @keyframes morphing {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  }
  
  .profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.05);
    transition: all 0.3s ease;
  }
  
  .profile-img:hover {
    transform: scale(1.05);
  }
  
  .btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gradient);
    color: var(--text-light);
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 255, 184, 0.3);
  }
  
  .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
    z-index: -1;
  }
  
  .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 255, 184, 0.4);
  }
  
  .btn:hover::before {
    width: 100%;
  }
  
  /* About Section */
  .about {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    background: var(--dark);
  }

  .about::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(0, 255, 184, 0.1);
    filter: blur(80px);
    z-index: -1;
  }

  .about-card {
    background: var(--dark-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
  }
  
  .about-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
  }
  
  .about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
  }
  
  .about-card p {
    color: var(--text-gray);
    line-height: 1.6;
  }
  
  .about-card .about-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .about-card .info-item {
    margin-bottom: 0.5rem;
  }
  
  .about-card .info-item span {
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
  }
  
  .about-card .info-item p {
    color: var(--primary);
    font-size: 0.9rem;
  }
  
  .about-text {
    flex: 1;
  }
  
  .about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-gray);
  }
  
  .about-text .highlighted {
    color: var(--primary);
    font-weight: 500;
  }
  
  /* Skills Section */
  .skills {
    padding: 8rem 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
  }

  .skills::before {
    content: '';
    position: absolute;
    top: 30%;
    right: -5%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(0, 255, 184, 0.1);
    filter: blur(80px);
    z-index: -1;
  }

  .skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
    padding: 2rem;
  }

  .skill-card {
    background: var(--dark-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 20px;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }
  
  .skill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    margin-bottom: 1.5rem;
  }
  
  .skill-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--text-light);
  }
  
  .skill-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
  }
  
  .skill-bar {
    margin-top: 1rem;
  }
  
  .skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
  }
  
  .skill-name span {
    font-size: 0.9rem;
    color: var(--text-gray);
  }
  
  .skill-level {
    height: 8px;
    background: var(--dark-light);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
  }
  
  .skill-percent {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--gradient);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
  }
  
  /* Projects Section */
  .projects {
    padding: 8rem 0;
    position: relative;
  }
  
  .projects::before {
    content: '';
    position: absolute;
    top: 30%;
    right: -5%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(0, 255, 184, 0.1);
    filter: blur(80px);
    z-index: -1;
  }
  
  .projects-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
  }
  
  .filter-btn {
    padding: 0.5rem 1.5rem;
    background: var(--dark-light);
    border: none;
    border-radius: 30px;
    color: var(--text-gray);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .filter-btn.active, .filter-btn:hover {
    background: var(--gradient);
    color: var(--text-light);
  }
  
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
  }
  
  .project-card {
    background: var(--dark-bg);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.3s ease;
    cursor: pointer;
  }

  .project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 255, 179, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
  }

  .project-card:hover::before {
    opacity: 1;
  }

  .project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .project-content {
    padding: 20px;
    position: relative;
    z-index: 2;
  }

  .project-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
  }

  .project-description {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.5;
  }

  .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
  }

  .project-tag {
    background: rgba(0, 255, 179, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
  }

  .project-tag:hover {
    transform: translateY(-2px);
  }

  .project-links {
    display: flex;
    gap: 15px;
  }

  .project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 25px;
    background: rgba(0, 255, 179, 0.1);
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
  }

  .project-link:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
  }

  .project-link i {
    font-size: 1.1rem;
  }

  /* Project Modal Styles */
  .project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .project-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  .modal-content {
    background: var(--dark-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s ease;
  }

  .modal-content.active {
    transform: scale(1);
  }

  .close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
  }

  .modal-image-slider {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  }

  .modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .modal-details {
    background: rgba(18, 18, 18, 0.5);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
  }

  .modal-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .modal-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
  }

  .modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

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

  .slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 5;
  }

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

  .slider-btn:hover {
    background: var(--primary);
  }

  /* Contact Section */
  .contact {
    padding: 8rem 0;
    position: relative;
    background-color: var(--dark-light);
  }
  
  .contact::before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(0, 168, 255, 0.1);
    filter: blur(80px);
    z-index: 0;
  }
  
  .contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
  }
  
  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    flex-shrink: 0;
  }
  
  .contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--text-light);
  }
  
  .contact-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .contact-text p, .contact-text a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .contact-text a:hover {
    color: var(--primary);
  }
  
  .contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 15px;
    padding: 2rem;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
  }
  
  .form-control {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    background: var(--dark-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
  }
  
  .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 255, 184, 0.2);
  }
  
  textarea.form-control {
    min-height: 150px;
    resize: vertical;
  }
  
  .submit-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    background: var(--gradient);
    color: var(--text-light);
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
  }
  
  .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 184, 0.3);
  }
  
  /* Footer */
  footer {
    background-color: var(--dark);
    padding: 3rem 0;
    text-align: center;
    position: relative;
  }
  
  .footer-content {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
  }
  
  .footer-nav a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .footer-nav a:hover {
    color: var(--primary);
  }
  
  .footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
  }
  
  .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark-light);
    color: var(--text-light);
    transition: all 0.3s ease;
  }
  
  .footer-social a:hover {
    background: var(--gradient);
    transform: translateY(-3px);
  }
  
  .copyright {
    color: var(--text-gray);
    font-size: 0.9rem;
  }
  
  /* Animations */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes slideIn {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
  }
  
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
  }
  
  .fade-in.active {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Project Modal */
  .project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .project-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  .modal-content {
    background: var(--dark-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s ease;
  }

  .modal-content.active {
    transform: scale(1);
  }

  .close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
  }

  .close-modal:hover {
    transform: rotate(90deg);
    background: var(--primary-dark);
  }

  .modal-image-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
  }

  .modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 5;
  }

  .slider-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .slider-btn:hover {
    background: var(--primary);
  }

  .zoom-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 5;
  }

  /* Language toggle */
  .language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1001;
    background: var(--dark-light);
    border-radius: 30px !important;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }

  .language-toggle a {
    background: transparent;
    color: var(--text-light);
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 20px !important;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .language-toggle a.active {
    background: var(--primary);
    color: white;
  }

  /* Fix project card animations */
  .project-card {
    border-radius: 16px !important;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    position: relative;
  }

  .project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
      circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
      rgba(0, 255, 184, 0.1) 0%, 
      transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
  }

  .project-card:hover::before {
    opacity: 1;
  }

  .project-card:hover {
    transform: 
      perspective(1000px) 
      rotateX(var(--rotate-x, 0deg)) 
      rotateY(var(--rotate-y, 0deg)) 
      scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 255, 184, 0.2);
  }

  /* Add these new styles for scroll animations */
  .section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .section.active {
    opacity: 1;
    transform: translateY(0);
  }

  .hero {
    opacity: 1;
    transform: none;
  }

  /* Update existing styles */
  .scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
    will-change: opacity, transform;
  }

  .scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
  }

  /* Fix about section layout */
  .about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 2rem;
  }

  .about-image {
    flex: 1;
    position: relative;
  }

  .about-text {
    flex: 1;
    padding: 2rem;
    background: var(--dark-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  }

  /* Fix project card animations */
  .project-card {
    background: var(--dark-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }

  .project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
      rgba(0, 255, 184, 0.1) 0%, 
      transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
  }

  .project-card:hover::before {
    opacity: 1;
  }

  .project-card .card-content {
    transform: translateZ(20px);
    position: relative;
    z-index: 2;
  }

  .project-card:hover {
    transform: perspective(1000px) rotateX(var(--rotate-x, 0)) rotateY(var(--rotate-y, 0)) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 255, 184, 0.2);
  }

  /* Fix modal styles */
  .project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .project-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  .modal-content {
    background: var(--dark-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s ease;
  }

  .modal-content.active {
    transform: scale(1);
  }

  .close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
  }

  .close-modal:hover {
    transform: rotate(90deg);
    background: var(--primary-dark);
  }

  .modal-image-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
  }

  .modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 5;
  }

  .slider-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .slider-btn:hover {
    background: var(--primary);
  }

  .zoom-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 5;
  }

  /* Language toggle */
  .language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1001;
    background: var(--dark-light);
    border-radius: 30px !important;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }

  .language-toggle a {
    background: transparent;
    color: var(--text-light);
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 20px !important;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .language-toggle a.active {
    background: var(--primary);
    color: white;
  }

  /* Page Load Animation */
  @keyframes pageLoad {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .page-load {
    animation: pageLoad 0.8s ease forwards;
  }

  /* Scroll Animation */
  .scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
    will-change: opacity, transform;
  }

  .scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
  }

  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .project-card, .skill-card, .about-card {
      transform: none !important;
    }

    .modal-content {
      flex-direction: column;
      padding: 1rem;
    }

    .modal-image-slider {
      height: 250px;
    }

    .hero-content {
      flex-direction: column;
      text-align: center;
    }

    .hero-image {
      margin-top: 2rem;
    }

    .about-content {
      flex-direction: column;
    }

    .contact-wrapper {
      flex-direction: column;
    }
  }

  @media (max-width: 480px) {
    .projects-grid {
      grid-template-columns: 1fr;
    }

    .skills-container {
      grid-template-columns: 1fr;
    }

    .nav-links {
      display: none;
    }

    .menu-toggle {
      display: block;
    }
  }

  /* Add RTL support */
  [dir="rtl"] .hero-content {
    flex-direction: row-reverse;
  }

  [dir="rtl"] .about-content {
    flex-direction: row-reverse;
  }

  [dir="rtl"] .contact-wrapper {
    flex-direction: row-reverse;
  }

  [dir="rtl"] .slider-controls {
    left: auto;
    right: 50%;
    transform: translateX(50%);
  }

  [dir="rtl"] .zoom-controls {
    left: 1rem;
    right: auto;
  }

  /* Enhanced 3D Effects */
  .project-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-image: linear-gradient(to bottom right, var(--dark-light), rgba(30, 30, 30, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
      0 10px 20px rgba(0, 0, 0, 0.3),
      0 6px 6px rgba(0, 0, 0, 0.2),
      0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  }
  
  .project-card .card-content {
    transform-style: preserve-3d;
    position: relative;
    z-index: 2;
  }
  
  .project-card .project-image,
  .project-card .project-content,
  .project-card .project-title,
  .project-card .project-description,
  .project-card .project-tags,
  .project-card .project-links {
    transform: translateZ(0px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .project-card:hover .project-image {
    transform: translateZ(40px);
  }
  
  .project-card:hover .project-title {
    transform: translateZ(60px);
  }
  
  .project-card:hover .project-description {
    transform: translateZ(50px);
  }
  
  .project-card:hover .project-tags {
    transform: translateZ(45px);
  }
  
  .project-card:hover .project-links {
    transform: translateZ(55px);
  }
  
  .project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 16px;
  }
  
  .project-card:hover::after {
    opacity: 1;
  }

  /* Enhanced Modal Styles */
  .project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
  }
  
  .project-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }
  
  .modal-content {
    background: rgba(30, 30, 30, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
      0 30px 60px rgba(0, 0, 0, 0.5),
      0 0 40px rgba(0, 255, 184, 0.1) inset;
    border-radius: 24px;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem;
    position: relative;
    transform: scale(0.9) translateY(30px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .modal-content.active {
    transform: scale(1) translateY(0);
  }
  
  /* Smooth scrollbar */
  .modal-content::-webkit-scrollbar {
    width: 8px;
  }
  
  .modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin: 10px;
  }
  
  .modal-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
  }
  
  .modal-image-slider {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  }
  
  .modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .modal-details {
    background: rgba(18, 18, 18, 0.5);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .modal-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .modal-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
  }

  /* Language Toggle Enhancements */
  .language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 5px;
    z-index: 1001;
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 
      0 10px 25px rgba(0, 0, 0, 0.2),
      0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }
  
  .language-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 
      0 15px 30px rgba(0, 0, 0, 0.3),
      0 0 0 1px rgba(255, 255, 255, 0.15);
  }
  
  .language-toggle a {
    background: transparent;
    color: var(--text-light);
    text-decoration: none;
    padding: 8px 16px;
    font-weight: 500;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .language-toggle a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 50px;
  }
  
  .language-toggle a.active {
    color: white;
  }
  
  .language-toggle a.active::before {
    opacity: 1;
  }

  /* Additional animations and enhancements */
  @keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(0, -10px); }
    100% { transform: translate(0, 0); }
  }
  
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 184, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 184, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 184, 0); }
  }
  
  @keyframes shine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
  }
  
  /* Enhanced buttons with glow effects */
  .btn, .project-link.demo, .submit-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, var(--primary), #00a8ff, var(--primary));
    background-size: 200% auto;
    animation: shine 5s linear infinite;
    border: none;
    box-shadow: 
      0 5px 15px rgba(0, 255, 184, 0.3),
      0 0 20px rgba(0, 255, 184, 0.1),
      0 0 0 1px rgba(0, 255, 184, 0.1) inset;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .btn:hover, .project-link.demo:hover, .submit-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
      0 8px 25px rgba(0, 255, 184, 0.4),
      0 0 30px rgba(0, 255, 184, 0.2),
      0 0 0 1px rgba(0, 255, 184, 0.2) inset;
    animation: shine 3s linear infinite, pulse 1.5s infinite;
  }
  
  /* Enhanced profile image with floating animation */
  .profile-img-container {
    animation: float 6s ease-in-out infinite, morphing 10s ease-in-out infinite;
    box-shadow: 
      0 20px 50px rgba(0, 0, 0, 0.5),
      0 0 0 2px rgba(0, 255, 184, 0.2);
  }
  
  /* Enhanced section titles */
  .section-heading h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, #00a8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .section-heading h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--gradient);
    border-radius: 4px;
    transition: width 0.5s ease;
  }
  
  .section-heading:hover h2::after {
    width: 100%;
  }
  
  /* Enhanced skill cards with hover effects */
  .skill-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, var(--dark-light) 0%, rgba(30,30,30,0.8) 100%);
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.3),
      0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  }
  
  .skill-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 
      0 15px 40px rgba(0, 0, 0, 0.4),
      0 0 20px rgba(0, 255, 184, 0.1),
      0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  }
  
  .skill-card:hover .skill-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 20px rgba(0, 255, 184, 0.3);
  }
  
  .skill-icon {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  /* Enhanced social links with hover effects */
  .social-link {
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    z-index: -1;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  }
  
  .social-link:hover::before {
    transform: translateY(0);
  }
  
  /* Loading animation for the whole page */
  @keyframes fadeInPage {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
  
  body {
    animation: fadeInPage 1s ease-in-out;
  }
  
  /* Fancy modal image slider with indicators */
  .slider-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .indicator.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(0, 255, 184, 0.5);
  }
  
  /* Image slider animations */
  @keyframes slideIn {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
  }
  
  @keyframes slideOut {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(-100%); opacity: 0; }
  }
  
  .modal-image.sliding-in {
    animation: slideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  }
  
  .modal-image.sliding-out {
    animation: slideOut 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  }
  
  /* Project details styling */
  .project-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .project-detail {
    display: flex;
    flex-direction: column;
  }
  
  .project-detail-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
  }
  
  .project-detail-value {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 500;
  }
  
  /* Full-screen image view mode */
  .fullscreen-mode {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .fullscreen-mode.active {
    opacity: 1;
    visibility: visible;
  }
  
  .fullscreen-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .fullscreen-mode.active .fullscreen-image {
    transform: scale(1);
  }
  
  .close-fullscreen {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    z-index: 10;
  }

  .social-links {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
  }

  .social-links h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
  }

  .social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
  }

  .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--text-light);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }

  .social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 184, 0.3);
  }

  .social-link:hover::before {
    transform: translateY(0);
  }

  .social-link i {
    position: relative;
    z-index: 1;
  }

  .project-card {
      background: var(--dark-bg);
      border-radius: 15px;
      overflow: hidden;
      position: relative;
      transform-style: preserve-3d;
      perspective: 1000px;
      transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      cursor: pointer;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
      border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .project-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(
          circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
          rgba(0, 255, 184, 0.1) 0%, 
          transparent 70%
      );
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: 1;
  }

  .project-card:hover::before {
      opacity: 1;
  }

  .project-card .card-content {
      transform: translateZ(20px);
      position: relative;
      z-index: 2;
  }

  .project-card:hover {
      transform: perspective(1000px) rotateX(var(--rotate-x, 0)) rotateY(var(--rotate-y, 0)) scale(1.05);
      box-shadow: 0 20px 40px rgba(0, 255, 184, 0.2);
  }

  .project-image {
      width: 100%;
      height: 200px;
      overflow: hidden;
  }

  .project-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 0.5s ease;
  }

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

  .project-content {
      padding: 1.5rem;
  }

  .project-title {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
      color: var(--text-light);
      transition: transform 0.3s ease;
  }

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

  .project-description {
      color: var(--text-gray);
      font-size: 0.9rem;
      margin-bottom: 1rem;
      line-height: 1.6;
      transition: transform 0.3s ease;
  }

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

  .project-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 1.5rem;
  }

  .project-tag {
      font-size: 0.8rem;
      padding: 0.2rem 0.8rem;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 30px;
      color: var(--text-gray);
      transition: all 0.3s ease;
  }

  .project-tag:hover {
      background: var(--primary-color);
      color: var(--dark-bg);
      transform: translateY(-3px);
  }

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

  .project-link {
      padding: 0.5rem 1rem;
      font-size: 0.9rem;
      font-weight: 500;
      border-radius: 30px;
      text-decoration: none;
      transition: all 0.3s ease;
  }

  .project-link.demo {
      background: var(--gradient);
      color: var(--text-light);
  }

  .project-link.code {
      background: transparent;
      color: var(--text-light);
      border: 1px solid var(--primary);
  }

  .project-link:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  /* Project Cards Advanced 3D Effects */
  .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 30px;
      padding: 30px 0;
  }

  .project-card {
      background: var(--dark-bg);
      border-radius: 15px;
      overflow: hidden;
      position: relative;
      transform-style: preserve-3d;
      perspective: 1500px;
      transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
      border: 1px solid rgba(255, 255, 255, 0.05);
      height: auto;
      min-height: 450px;
      display: flex;
      flex-direction: column;
  }

  .project-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(
          circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
          rgba(0, 255, 184, 0.1) 0%, 
          transparent 60%
      );
      opacity: 0;
      transition: opacity 0.4s ease;
      z-index: 1;
      pointer-events: none;
  }

  .project-card::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
          to bottom,
          transparent 0%,
          transparent 70%,
          rgba(0, 0, 0, 0.5) 100%
      );
      z-index: 1;
      pointer-events: none;
  }

  .project-card:hover::before {
      opacity: 1;
      animation: pulse 2s infinite;
  }

  @keyframes pulse {
      0% { opacity: 0.5; }
      50% { opacity: 1; }
      100% { opacity: 0.5; }
  }

  .project-card:hover {
      transform: perspective(1500px) rotateX(var(--rotate-x, 0)) rotateY(var(--rotate-y, 0)) translateZ(30px);
      box-shadow: 0 20px 40px rgba(0, 255, 184, 0.3),
                  0 0 20px rgba(0, 255, 184, 0.2) inset;
      border-color: rgba(0, 255, 184, 0.2);
  }

  .project-image {
      width: 100%;
      height: 200px;
      overflow: hidden;
      position: relative;
      transform: translateZ(20px);
      transform-style: preserve-3d;
  }

  .project-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .project-card:hover .project-image img {
      transform: scale(1.1) translateZ(10px);
      filter: brightness(1.1) contrast(1.1);
  }

  .project-content {
      padding: 1.8rem;
      position: relative;
      z-index: 2;
      transform: translateZ(40px);
      transform-style: preserve-3d;
      transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
      flex: 1;
      display: flex;
      flex-direction: column;
      padding-top: 2.5rem;
  }

  .project-card:hover .project-content {
      transform: translateZ(60px);
  }

  .project-title {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 0.7rem;
      color: var(--primary-color);
      transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
      transform: translateZ(10px);
      text-shadow: 0 0 10px rgba(0, 255, 184, 0.3);
  }

  .project-card:hover .project-title {
      transform: translateY(-5px) translateZ(20px);
      text-shadow: 0 0 15px rgba(0, 255, 184, 0.5);
  }

  .project-description {
      color: var(--text-color);
      font-size: 0.9rem;
      margin-bottom: 1.2rem;
      line-height: 1.6;
      transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
      transform: translateZ(5px);
      opacity: 0.8;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      min-height: 4.4em; /* 3 lines * 1.5 line-height */
  }

  .project-card:hover .project-description {
      opacity: 1;
      transform: translateZ(15px);
      -webkit-line-clamp: 6;
  }
  a {
    text-decoration: none; 
  }
  .project-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 3rem;
      transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
      transform: translateZ(15px);
      position: relative;
  }

  .project-tag {
      font-size: 0.75rem;
      padding: 0.25rem 0.8rem;
      background: rgba(0, 255, 184, 0.1);
      border: 1px solid rgba(0, 255, 184, 0.2);
      border-radius: 20px;
      color: var(--primary-color);
      transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
      transform-style: preserve-3d;
  }

  .project-card:hover .project-tag {
      background: rgba(0, 255, 184, 0.15);
      border-color: rgba(0, 255, 184, 0.3);
  }

  .project-tag:hover {
      transform: translateY(-5px) scale(1.1) translateZ(10px);
      background: var(--primary-color);
      color: var(--dark-bg);
      box-shadow: 0 5px 15px rgba(0, 255, 184, 0.3);
  }

  .project-links {
      display: flex;
      gap: 15px;
      margin-top: auto;
      transform: translateZ(30px);
      transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
      position: relative;
      padding-top: 1rem;
  }

  .project-card:hover .project-links {
      transform: translateZ(50px);
  }

  .project-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 0.6rem 1.2rem;
      background: rgba(0, 255, 184, 0.1);
      border: 1px solid rgba(0, 255, 184, 0.3);
      border-radius: 30px;
      color: var(--primary-color);
      font-weight: 600;
      text-decoration: none;
      transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
      transform-style: preserve-3d;
      text-transform: uppercase;
      font-size: 0.8rem;
      letter-spacing: 1px;
  }

  .project-link:hover {
      transform: translateY(-5px) translateZ(20px);
      background: var(--primary-color);
      color: var(--dark-bg);
      box-shadow: 0 10px 20px rgba(0, 255, 184, 0.4);
  }

  .project-link i {
      font-size: 1rem;
      transition: transform 0.3s ease;
  }

  .project-link:hover i {
      transform: translateX(3px);
  }

  .project-image {
      width: 100%;
      height: 200px;
      overflow: hidden;
      position: relative;
      transform: translateZ(20px);
      transform-style: preserve-3d;
  }

  .project-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .project-logo {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      position: absolute;
      bottom: -35px;
      left: 20px;
      background: var(--dark-bg);
      border: 3px solid var(--primary-color);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      overflow: hidden;
      z-index: 3;
      transform: translateZ(50px);
      transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .project-logo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  .project-card:hover .project-logo {
      transform: translateZ(70px) scale(1.1);
      box-shadow: 0 8px 25px rgba(0, 255, 184, 0.4);
  }

  .project-logo-only {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      margin: 30px auto 10px;
      background: var(--dark-bg);
      border: 3px solid var(--primary-color);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
      overflow: hidden;
      z-index: 2;
      transform: translateZ(30px);
      transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .project-logo-only img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 0.5s ease;
  }

  .project-card:hover .project-logo-only {
      transform: translateZ(60px) scale(1.15);
      box-shadow: 0 15px 30px rgba(0, 255, 184, 0.5);
      border-color: var(--primary-color);
  }

  /* Custom Scrollbar */
  ::-webkit-scrollbar {
      width: 10px;
  }

  ::-webkit-scrollbar-track {
      background: var(--dark-bg);
  }

  ::-webkit-scrollbar-thumb {
      background: var(--primary-color);
      border-radius: 5px;
  }

  ::-webkit-scrollbar-thumb:hover {
      background: rgba(0, 255, 184, 0.8);
  }

  /* Smooth Scrolling */
  html {
      scroll-behavior: smooth;
  }

  /* Remove language toggle */
  .language-toggle {
      display: none;
  }

  /* Update header styles */
  .nav-links li a {
      padding: 0.5rem 1rem;
      border-radius: 0;
      transition: all 0.3s ease;
  }

  .nav-links li a:hover {
      color: var(--primary-color);
      background: transparent;
  }

  /* Update project card animations */
  .project-card {
      transform-style: preserve-3d;
      transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .project-card:hover {
      transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  }

  .project-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(45deg, rgba(0, 255, 184, 0.1), transparent);
      transform: translateZ(-1px);
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .project-card:hover::before {
      background: linear-gradient(45deg, rgba(0, 255, 184, 0.2), transparent);
  }

  /* Fix social icons */
  .social-links {
      display: flex;
      gap: 1rem;
      justify-content: center;
      margin-top: 2rem;
  }

  .social-links a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      background: rgba(0, 255, 184, 0.1);
      border-radius: 50%;
      transition: all 0.3s ease;
  }

  .social-links a:hover {
      background: var(--primary-color);
      transform: translateY(-5px);
  }

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

  .social-links a:hover i {
      color: var(--dark-bg);
  }

  /* Softer, slower 3D project card hover (no scale, no jump) */
  .project-card {
    transition: transform 1.6s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform, box-shadow;
  }
  .project-card:hover {
    transform: rotateY(8deg) rotateX(4deg);
    box-shadow: 0 20px 60px 0 rgba(0,255,184,0.18), 0 2px 8px 0 rgba(0,0,0,0.18);
  }

  /* Hero section is always visible - no animation */
  .hero.scroll-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Donate Link Style */
  .donate-link {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .donate-link i {
    color: #ff5e5e;
  }

  /* Donate Popup Styles */
  .donate-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .donate-popup-content {
    position: relative;
    width: 80%;
    height: 80%;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  }

  .donate-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 10;
  }

  .donate-popup-close:hover {
    color: #ff5e5e;
  }

  /* Floating Language Toggle Button - Only this should remain */
  .language-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 50%;
    background: rgba(0, 255, 179, 0.2);
    border: 1px solid rgba(0, 255, 179, 0.3);
    color: var(--text-light);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  .language-toggle:hover {
    background: rgba(0, 255, 179, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  .language-toggle #lang-text {
    display: none;
  }
  .language-toggle .globe-icon {
    font-size: 1.2rem;
  }
  @media (max-width: 768px) {
    .language-toggle {
      bottom: 15px;
      left: 15px;
      width: 35px;
      height: 35px;
    }
    .language-toggle .globe-icon {
      font-size: 1rem;
    }
  }

  /* Language toggle as header button */
  .language-toggle {
    background: none;
    border: none;
    color: var(--text-light);
    font: inherit;
    padding: 0 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    transition: background 0.2s;
    box-shadow: none;
    width: auto;
    height: auto;
    position: static;
  }
  .language-toggle:hover {
    background: rgba(0,255,179,0.12);
  }
  .language-toggle .globe-icon {
    font-size: 1.1rem;
  }
  .language-toggle #lang-text {
    display: inline;
    font-size: 1rem;
  }