.img-category {
    width: 220px;
}

.banner-content {
    top: 25%;
    right: 25%;
}
.footer {
    background-color: #f8f9fa;
    padding: 40px 0;
}

.footer .logo {
    max-width: 170px;
}

.footer .content_footer {
    margin-bottom: 1rem;
}

.footer .list-icon .social-item {
    font-size: 1.5rem;
    color: #333;
    margin-right: 0.5rem;
}

.footer .title_footer {
    margin-bottom: 1rem;
}

.footer .title_footer h4 {
    border-bottom: 3px solid #28a745;
    display: inline-block;
    padding-bottom: 5px;
}

.footer .copyright {
    background-color: #e9ecef;
    padding: 20px 0;
}

.footer .text-copyright a {
    color: #28a745;
}
@media (max-width: 767.98px) {
    .banner-content {
        top: 50%;
        right: 10%;
        transform: translateY(-50%);
        text-align: center;
    }
    .d-sx-none {
        display: none;
    }
    .d-mobile-none {
        display: none;
    }
    .d-sx-custom {
        width: 80%;
    }
}
.navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link:hover {
    color: #a4b939;
}

.navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .show>.nav-link {
    color: rgb(134 32 32);
}

      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      body {
        font-family: "Arial", sans-serif;
        line-height: 1.6;
        color: #333;
        overflow-x: hidden;
        
      }

      /* Navigation */
      nav {
        position: fixed;
        top: 0;
        width: 100%;
        background: #4385a1;
        backdrop-filter: blur(10px);
        z-index: 1000;
        padding: 1rem 0;
        transition: all 0.3s ease;
      }

      /*Background Nav*/
      .nav-bg-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
        pointer-events: none;
        opacity: 0.5;
      }

      nav.scrolled {
        background: rgba(89, 124, 195, 0.95);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
      }

      .nav-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 2rem;
      }

      /* Logo */
      .logo {
        font-size: 1.5rem;
        font-weight: bold;
        color: #6366f1;
      }

      /* RotateX Logo */
      .logo-3d {
        position: relative;
        display: inline-block;
        perspective: 600px;
        height: 2rem;
        line-height: 2rem;
        font-weight: bold;
        font-size: 1.5rem;
        color: #6366f1;
        cursor: pointer;
      }

      .logo-3d span {
        position: absolute;
        top: 0;
        margin-left: 60px;
        width: 100%;
        height: 100%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        backface-visibility: hidden;
        transform-style: preserve-3d;
        transition: transform 0.6s ease;
        white-space: nowrap;
      }

      .logo-3d .front {
        transform: rotateX(0deg) translateZ(1px);
      }

      .logo-3d .back {
        transform: rotateX(90deg) translateZ(1px);
      }

      .logo-3d:hover .front {
        transform: rotateX(-90deg) translateZ(1px);
      }

      .logo-3d:hover .back {
        transform: rotateX(0deg) translateZ(1px);
      }

      /*Menu*/
      .nav-menu {
        display: flex;
        list-style: none;
        gap: 2rem;
      }

      .nav-menu a {
        text-decoration: none;
        color: #cd2222;
        font-weight: 600;
        font-size: 17px;
        position: relative;
        transition: color 0.3s ease;
      }

      .nav-menu a:hover {
        color: #6366f1;
      }

      .nav-menu a::after {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -5px;
        left: 0;
        background-color: #6366f1;
        transition: width 0.3s ease;
      }

      .nav-menu a:hover::after {
        width: 100%;
      }

      .mobile-menu {
        display: none;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
      }

      /* Hero Section */
      .hero {
        height: 100vh;
        background-image: url("/public/images/nen.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: rgb(3, 182, 247);
        position: relative;
        overflow: hidden;
      }

      .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;

        background: rgba(0, 0, 0, 0.4),
          url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><defs><pattern id='grain' width='100' height='100' patternUnits='userSpaceOnUse'><circle cx='20' cy='20' r='1' fill='white' opacity='0.1'/><circle cx='80' cy='40' r='1' fill='white' opacity='0.1'/><circle cx='40' cy='80' r='1' fill='white' opacity='0.1'/></pattern></defs><rect width='100' height='100' fill='url(%23grain)'/></svg>");
        background-blend-mode: overlay;
        background-size: cover;
        animation: float 20s ease-in-out infinite;
        z-index: 0;
      }

      /* Floating animation */
      @keyframes float {
        0%,
        100% {
          transform: translateY(0);
        }

        50% {
          transform: translateY(-20px);
        }
      }

      .hero-content {
        z-index: 1;
        max-width: 800px;
        padding: 0 2rem;
      }

      /* Gradient*/
      .hero h1 {
        font-size: 3.5rem;
        margin-bottom: 1rem;
        opacity: 0;
        animation: fadeInUp 1s ease 0.5s forwards;

        background: linear-gradient(
          45deg,
          #ff6b6b,
          #4ecdc4,
          #21bde1,
          #6cd7a5,
          #d8a12b
        );
        background-size: 300% 300%;
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
        animation: rainbow-flow 8s ease infinite, fadeInUp 1s ease 0.5s forwards;

        text-shadow: 0 0 5px rgba(255, 255, 255, 0.3),
          0 0 10px rgba(255, 255, 255, 0.25), 0 0 20px rgba(255, 150, 150, 0.2);
      }

      .hero .subtitle {
        font-size: 1.3rem;
        margin-bottom: 2rem;
        opacity: 0;
        animation: fadeInUp 1s ease 0.7s forwards;
      }

      /* Nút với viền và shimmer */
      .cta-button {
        position: relative;
        display: inline-block;
        padding: 12px 28px;
        font-size: 1rem;
        font-weight: 600;
        color: #fff;
        background: transparent;
        border: 2px solid #58afd1;
        border-radius: 50px;
        text-decoration: none;
        overflow: hidden;
        transition: color 0.3s ease, border-color 0.3s ease;
      }

      /* Border đổi màu khi hover */
      .cta-button:hover {
        color: #ffe593;
        border-color: #ffe593;
      }

      /* Shimmer effect */
      .cta-button.shimmer-border::before {
        content: "";
        position: absolute;
        top: 0;
        left: -150%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
          120deg,
          transparent,
          rgba(255, 255, 255, 0.3),
          transparent
        );
        transform: skewX(-20deg);
        animation: shimmer-move 2s infinite;
        pointer-events: none;
        z-index: 1;
      }

      @keyframes shimmer-move {
        100% {
          left: 150%;
        }
      }

      @keyframes fadeInUp {
        from {
          opacity: 0;
          transform: translateY(30px);
        }

        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      /* Gradient di chuyển*/
      @keyframes rainbow-flow {
        0% {
          background-position: 0% 50%;
        }

        50% {
          background-position: 100% 50%;
        }

        100% {
          background-position: 0% 50%;
        }
      }

      /* Sections */
      .section {
        text-align: center;
        padding: 80px 0;
        max-width: 1200px;
        margin: 0 auto;
        padding-left: 2rem;
        padding-right: 2rem;
      }

      .section-title {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 3rem;
        color: #000000;
        position: relative;
        display: inline-block;
        padding: 0.5rem 1rem;
        transition: color 0.3s ease;
      }

      /* Hover underline */
      .section-title::before,
      .section-title::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 3px;
        background: linear-gradient(to right, #ff0000, #00ffff);
        transform: scaleX(0);
        transition: transform 0.4s ease-out;
      }

      .section-title::before {
        top: -8px;
        left: 0;
        transform-origin: left;
      }

      .section-title::after {
        bottom: -8px;
        left: 0;
        transform-origin: right;
      }

      .section-title:hover::before,
      .section-title:hover::after {
        transform: scaleX(1);
      }

      .card {
        width: 150px;
        height: 150px;
        perspective: 1000px;
        cursor: pointer;
        margin: 0 auto;
      }

      .card-inner {
        position: relative;
        width: 100%;
        height: 100%;
        transition: transform 0.6s;
        transform-style: preserve-3d;
      }

      /* Lật khi hover */
      .card:hover .card-inner {
        transform: rotateY(180deg);
      }

      /* Mặt trước và mặt sau */
      .card-front,
      .card-back {
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background-size: cover;
        background-position: center;
        backface-visibility: hidden;
      }

      .card-front {
        z-index: 2;
        transform: rotateY(0deg);
      }

      .card-back {
        transform: rotateY(180deg);
      }

      /* About Section */
      .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
      }

      .about-text {
        font-size: 1.1rem;
        line-height: 1.8;
      }

      .about-image {
        text-align: center;
      }

      .profile-img {
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 4rem;
        color: white;
        margin: 0 auto;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
      }

      .profile-img.card {
        position: relative;
        width: 270px;
        height: 270px;
        border-radius: 50%;
        overflow: hidden;
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.3),
          0 0 30px rgba(0, 255, 255, 0.2), 0 0 45px rgba(0, 255, 255, 0.1);
        transition: transform 0.4s ease;
      }

      /* Glow ánh sáng xoay động nhẹ */
      .profile-img.card::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: conic-gradient(
          from 0deg,
          transparent,
          rgba(0, 255, 255, 0.15),
          transparent
        );
        animation: rotate-glow 6s linear infinite;
        z-index: 0;
        filter: blur(10px);
      }

      .skills-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 2rem;
        padding: 2rem 0;
        max-width: 800px;
        margin: 0 auto;
      }

      /* Base Skill Card */
      .skill-card {
        position: relative;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 2.5rem 2rem;
        border-radius: 20px;
        text-align: center;
        overflow: hidden;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        transition: all 0.4s ease;
        border: 1px solid rgba(255, 255, 255, 0.2);
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.8s ease forwards;
      }

      .skill-card:nth-child(1) {
        animation-delay: 0.1s;
      }
      .skill-card:nth-child(2) {
        animation-delay: 0.2s;
      }
      .skill-card:nth-child(3) {
        animation-delay: 0.3s;
      }
      .skill-card:nth-child(4) {
        animation-delay: 0.4s;
      }

      .skill-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
      }

      /* Door Animation */
      .left-door,
      .right-door {
        position: absolute;
        top: 0;
        width: 50%;
        height: 100%;
        z-index: 2;
        transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
      }

      .left-door {
        left: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        transform-origin: left center;
        border-radius: 20px 0 0 20px;
      }

      .right-door {
        right: 0;
        background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
        transform-origin: right center;
        border-radius: 0 20px 20px 0;
      }

      .skill-card:hover .left-door {
        transform: rotateY(-120deg);
      }

      .skill-card:hover .right-door {
        transform: rotateY(120deg);
      }

      /* Front Content */
      .skill-front {
        position: relative;
        z-index: 3;
        transition: opacity 0.5s ease;
      }

      .skill-icon {
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, #667eea, #764ba2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        font-size: 2rem;
        color: white;
        box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
        transition: transform 0.3s ease;
      }

      .skill-card:hover .skill-icon {
        transform: scale(1.1);
      }

      .skill-title {
        font-size: 1.5rem;
        font-weight: 600;
        color: #2d3748;
        margin-bottom: 0.5rem;
      }

      .skill-card:hover .skill-front {
        opacity: 0;
      }

      /* Tech Icons Behind Doors */
      .tech-icons-grid {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        opacity: 0;
        transition: opacity 0.6s ease 0.4s;
      }

      .skill-card:hover .tech-icons-grid {
        opacity: 1;
      }

      .tech-icon {
        width: 70px;
        height: 70px;
        background: white;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
        cursor: pointer;
        padding: 0.5rem;
      }

      .tech-emoji {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
      }

      .tech-name {
        font-size: 0.7rem;
        font-weight: 600;
        color: #4a5568;
        text-align: center;
        line-height: 1.1;
      }

      .tech-icon:hover {
        transform: scale(1.1);
      }

      /* Simple cards without doors */
      .simple-card {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 2.5rem 2rem;
        border-radius: 20px;
        text-align: center;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        transition: all 0.4s ease;
        border: 1px solid rgba(255, 255, 255, 0.2);
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.8s ease forwards;
      }

      .simple-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
      }

      .simple-card .skill-icon {
        margin-bottom: 1.5rem;
      }

      .simple-card h3 {
        font-size: 1.5rem;
        font-weight: 600;
        color: #2d3748;
        margin-bottom: 1rem;
      }

      .simple-card p {
        color: #718096;
        font-size: 1rem;
        line-height: 1.6;
      }

      /* Animations */
      @keyframes fadeInUp {
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      /* Responsive */
      @media (max-width: 768px) {
        .section-title {
          font-size: 2.5rem;
        }

        .skills-grid {
          grid-template-columns: 1fr;
          grid-template-rows: auto;
          gap: 1.5rem;
          max-width: 100%;
        }

        .skill-card,
        .simple-card {
          padding: 2rem 1.5rem;
        }
      }

      /* Projects Section Enhanced Styles */
      .projects-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2.5rem;
        margin-top: 3rem;
      }

      .project-card {
        background: linear-gradient(145deg, #ffffff, #f0f0f0);
        border-radius: 25px;
        overflow: hidden;
        box-shadow: 20px 20px 60px #d9d9d9, -20px -20px 60px #ffffff;
        transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        position: relative;
        cursor: pointer;
      }

      .project-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
          90deg,
          transparent,
          rgba(255, 255, 255, 0.8),
          transparent
        );
        transition: all 0.8s ease;
        z-index: 1;
      }

      .project-card:hover::before {
        left: 100%;
      }

      .project-card:hover {
        transform: translateY(-20px) rotateX(5deg) rotateY(5deg);
        box-shadow: 25px 25px 80px #d0d0d0, -25px -25px 80px #ffffff,
          0 0 50px rgba(102, 126, 234, 0.3);
      }

      .project-image {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        font-size: 4rem;
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
      }

      .project-image::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(
          circle at center,
          transparent 30%,
          rgba(0, 0, 0, 0.1)
        );
      }

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

      .project-title {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: #333;
        transition: color 0.3s ease;
      }

      .project-card:hover .project-title {
        color: #667eea;
      }

      .project-description {
        color: #666;
        line-height: 1.6;
        margin-bottom: 1.5rem;
      }

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

      .tech-tag {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        padding: 0.3rem 0.8rem;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
      }

      .tech-tag::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
          90deg,
          transparent,
          rgba(255, 255, 255, 0.3),
          transparent
        );
        transition: left 0.5s ease;
      }

      .tech-tag:hover::before {
        left: 100%;
      }

      .tech-tag:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
      }

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

      .project-link {
        padding: 0.7rem 1.5rem;
        border: 2px solid #667eea;
        color: #667eea;
        text-decoration: none;
        border-radius: 25px;
        font-weight: 600;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
      }

      .project-link::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #667eea, #764ba2);
        transition: left 0.4s ease;
        z-index: -1;
      }

      .project-link:hover::before {
        left: 0;
      }

      .project-link:hover {
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
      }

      /* Contact Section Enhanced Styles */
      .contact {
        background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
        color: white;
        position: relative;
        overflow: hidden;
        padding: 5rem 2rem;
      }

      .contact::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(
          circle,
          rgba(255, 255, 255, 0.05) 1px,
          transparent 1px
        );
        background-size: 60px 60px;
        animation: float 30s linear infinite;
        opacity: 0.2;
        z-index: 0;
      }

      @keyframes float {
        0% {
          transform: translate(0, 0);
        }

        100% {
          transform: translate(-50px, -50px);
        }
      }

      .contact-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 3rem;
        position: relative;
        z-index: 1;
        animation: slideUp 1s ease forwards;
        opacity: 0;
      }

      @keyframes slideUp {
        to {
          transform: translateY(0);
          opacity: 1;
        }
      }

      .contact-info h3 {
        font-size: 2rem;
        margin-bottom: 2rem;
        background: linear-gradient(45deg, #fff, #87ceeb);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
      }

      .contact-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1.2rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(12px);
        border-radius: 20px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.15);
      }

      .contact-item:hover {
        transform: translateX(10px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
      }

      .contact-icon {
        font-size: 1.6rem;
        background: linear-gradient(135deg, #667eea, #764ba2);
        border-radius: 50%;
        min-width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        transition: transform 0.4s ease;
      }

      .contact-item:hover .contact-icon {
        transform: rotate(15deg) scale(1.1);
      }

      .contact-form {
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(20px);
        padding: 2.5rem;
        border-radius: 25px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        animation: slideUp 1.5s ease forwards;
        opacity: 0;
      }

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

      .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.95);
      }

      .form-group input,
      .form-group textarea {
        width: 100%;
        padding: 1rem 1.5rem;
        border: 2px solid rgba(255, 255, 255, 0.2);
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.08);
        color: white;
        font-size: 1rem;
        transition: all 0.3s ease;
      }

      .form-group input:focus,
      .form-group textarea:focus {
        outline: none;
        border-color: #87ceeb;
        background: rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 15px rgba(135, 206, 235, 0.5);
        transform: scale(1.02);
      }

      .submit-btn {
        width: 100%;
        padding: 1rem 2rem;
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        border: none;
        border-radius: 25px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition: all 0.4s ease;
      }

      .submit-btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
          90deg,
          transparent,
          rgba(255, 255, 255, 0.3),
          transparent
        );
        transition: left 0.5s ease;
      }

      .submit-btn:hover::before {
        left: 100%;
      }

      .submit-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
      }

      .submit-btn:active {
        transform: translateY(-2px);
      }

      /* Responsive Design */
      @media (max-width: 768px) {
        .skills-grid {
          grid-template-columns: 1fr;
          gap: 1.5rem;
        }

        .projects-grid {
          grid-template-columns: 1fr;
          gap: 2rem;
        }

        .contact-content {
          grid-template-columns: 1fr;
          gap: 2rem;
        }

        .skill-card,
        .project-card {
          margin: 0 1rem;
        }

        .contact-form {
          padding: 2rem;
        }
      }

      /* Animation for fade-in elements */
      .fade-in {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      }

      .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
      }

      /* Staggered animation for grid items */
      .skills-grid .skill-card:nth-child(1) {
        transition-delay: 0.1s;
      }

      .skills-grid .skill-card:nth-child(2) {
        transition-delay: 0.2s;
      }

      .skills-grid .skill-card:nth-child(3) {
        transition-delay: 0.3s;
      }

      .skills-grid .skill-card:nth-child(4) {
        transition-delay: 0.4s;
      }

      .projects-grid .project-card:nth-child(1) {
        transition-delay: 0.1s;
      }

      .projects-grid .project-card:nth-child(2) {
        transition-delay: 0.3s;
      }

      .projects-grid .project-card:nth-child(3) {
        transition-delay: 0.5s;
      }

      /* Enhanced scroll effects */
      @media (prefers-reduced-motion: no-preference) {
        .skill-card,
        .project-card,
        .contact-item {
          will-change: transform;
        }
      }

      /* Contact Section */
      .contact {
        background: #1f2937;
        color: white;
      }

      .contact-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
      }

      .contact-info h3 {
        margin-bottom: 1rem;
        color: #6366f1;
      }

      .contact-item {
        display: flex;
        align-items: center;
        margin-bottom: 1rem;
      }

      .contact-icon {
        width: 40px;
        height: 40px;
        background: #6366f1;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 1rem;
      }

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

      .form-group {
        display: flex;
        flex-direction: column;
      }

      .form-group label {
        margin-bottom: 0.5rem;
        color: #d1d5db;
      }

      .form-group input,
      .form-group textarea {
        padding: 0.75rem;
        border: 1px solid #374151;
        border-radius: 5px;
        background: #374151;
        color: white;
        transition: border-color 0.3s ease;
      }

      .form-group input:focus,
      .form-group textarea:focus {
        outline: none;
        border-color: #6366f1;
      }

      .submit-btn {
        padding: 0.75rem 2rem;
        background: #6366f1;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background 0.3s ease;
      }

      .submit-btn:hover {
        background: #5856eb;
      }

      /* Footer */
      footer {
        background: #111827;
        color: white;
        text-align: center;
        padding: 2rem 0;
      }

      /* Responsive */
      @media (max-width: 768px) {
        .mobile-menu {
          display: block;
        }

        .nav-menu {
          display: none;
          position: absolute;
          top: 100%;
          left: 0;
          width: 100%;
          background: white;
          flex-direction: column;
          padding: 1rem;
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .nav-menu.active {
          display: flex;
        }

        .hero h1 {
          font-size: 2.5rem;
        }

        .about-content {
          grid-template-columns: 1fr;
          text-align: center;
        }

        .contact-content {
          grid-template-columns: 1fr;
        }

        .profile-img {
          width: 200px;
          height: 200px;
          font-size: 3rem;
        }
      }

      /* Scroll animations */
      .fade-in {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s ease;
      }

      .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
      }
.idlogo{
  width: 50px;
  height: 50px;
  margin-top: -8px;
  margin-right: 10px;
}