
@import url('https://fonts.googleapis.com/css2?family=Bona+Nova+SC:ital,wght@0,400;0,700;1,400&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins&display=swap');

        :root {
            --primary: #FEBE10;
            --primary-dark: #971de2;
            --black: #0a0a0a;
            --rich-black: #050505;
            --gray: #1a1a1a;
            --light-gray: #333;
            --white: #f0f0f0;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
           font-family: "Raleway", sans-serif;
        }

        body {
            background-color: var(--rich-black);
            color: var(--white);
            overflow-x: hidden;
        }

        /* Preloader */
        .preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--black);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        .loader {
            width: 50px;
            height: 50px;
            border: 5px solid var(--gray);
            border-top: 5px solid var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Particles */
        #particles-js {
            position: fixed;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: -1;
            
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 20px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 100;
            backdrop-filter: blur(10px);
            background-color: rgba(5, 5, 5, 0.7);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .logo {
            font-size: 24px;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
            letter-spacing: 1px;
            
        }
        .logo img{
            width: 190px;
            max-width: 100%;
        }

        .logo span {
            color: var(--white);
        }

        .nav-links {
            display: flex;
            gap: 30px;
        }

        .nav-links a {
            color: var(--white);
            text-decoration: none;
            font-weight: 500;
            font-size: 16px;
            position: relative;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: width 0.3s;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .menu-btn {
            display: none;
            cursor: pointer;
            font-size: 24px;
            color: var(--white);
        }
        .resume{
            width: 600px;
            height: 50px;
            background-color: goldenrod;
            position: absolute;
            margin-left: 90%;
            margin-top: 45%;
        
            position: fixed;
        }
     
        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding: 0 10%;
            position: relative;
            overflow: hidden;
        }

        .hero-content {
            max-width: 600px;
            z-index: 1;
        }

        .hero-content h1 {
            font-size: 56px;
            font-weight: 700;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .hero-content h1 span {
            color: var(--primary);
        }

        .hero-content h3 {
            font-size: 32px;
            font-weight: 600;
            color: var(--primary-dark);
            margin-bottom: 15px;
        }

        .hero-content p {
            font-size: 16px;
            margin-bottom: 30px;
            line-height: 1.6;
            opacity: 0.9;
        }

        .btn-box {
            display: flex;
            gap: 20px;
        }

        .btn {
            padding: 12px 28px;
            background: var(--primary);
            color: var(--black);
            border: none;
            border-radius: 5px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
        }

        .btn:hover {
            background: var(--primary-dark);
            color: var(--white);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 240, 255, 0.2);
        }

        .btn-outline {
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: var(--black);
        }

        .social-icons {
            display: flex;
            gap: 20px;
            margin-top: 40px;
        }

        .social-icons a {
            width: 40px;
            height: 40px;
            background: var(--gray);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--white);
            font-size: 18px;
            text-decoration: none;
            transition: all 0.3s;
        }

        .social-icons a:hover {
            background: var(--primary);
            color: var(--black);
            transform: translateY(-5px);
        }

        .hero-image {
            position: absolute;
            right: 10%;
            width: 400px;
            height: 400px;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--primary), var(--primary-dark));
            display: flex;
            justify-content: center;
            align-items: center;
            animation: float 6s ease-in-out infinite;
            box-shadow: 0 0 50px rgba(0, 240, 255, 0.3);
        }

        .hero-image img {
            width: 380px;
            height: 380px;
            border-radius: 50%;
            object-fit: cover;
            border: 10px solid var(--rich-black);
        }

        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
            100% { transform: translateY(0px); }
        }

        /* About Section */
        .about {
            padding: 100px 10%;
            background: rgba(5, 5, 5, 0.7);
            position: relative;
        }

        .section-title {
            font-size: 40px;
            font-weight: 700;
            margin-bottom: 50px;
            text-align: center;
        }

        .section-title span {
            color: var(--primary);
        }

        .about-content {
            display: flex;
            gap: 50px;
            align-items: center;
        }

        .about-img {
            flex: 1;
            position: relative;
        }

        .about-img img {
            width: 100%;
            max-width: 100%;
            border-radius: 10px;
          
            transition: transform 0.5s;
        }

        .about-img:hover img {
            transform: scale(1.05);
        }

        .about-img::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            
            border-radius: 10px;
            top: 20px;
            left: 20px;
            z-index: -1;
        }

        .about-text {
            flex: 1;
        }

        .about-text h3 {
            font-size: 28px;
            margin-bottom: 20px;
        }

        .about-text p {
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 20px;
            opacity: 0.9;
            text-align: justify;
        }

        .skills {
            margin-top: 30px;
        }

        .skills h4 {
            font-size: 20px;
            margin-bottom: 15px;
        }

        .skill-container {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }

        .skill {
            background: var(--gray);
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 14px;
            transition: all 0.3s;
        }

        .skill:hover {
            background: var(--primary);
            color: var(--black);
            transform: translateY(-3px);
        }
        .education {
        padding: 100px 10%;
        /* background: var(--black); */
        position: relative;
    }

    .education-container {
        max-width: 800px;
        margin: 50px auto 0;
    }

    .education-card {
        position: relative;
        padding-left: 80px;
        margin-bottom: 50px;
    }

    .education-icon {
        position: absolute;
        left: 0;
        top: 0;
        width: 60px;
        height: 60px;
        background: var(--gray);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 24px;
        color: var(--primary);
        border: 3px solid var(--primary);
    }

    .education-content {
        background: var(--gray);
        padding: 30px;
        border-radius: 10px;
        position: relative;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        transition: all 0.3s;
    }
    .education-content img{
        max-width:100% ;
    }

    .education-content:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 240, 255, 0.2);
    }

    .education-content::before {
        content: '';
        position: absolute;
        left: -20px;
        top: 40px;
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 20px solid var(--gray);
    }

    .education-date {
        color: var(--primary);
        font-weight: 600;
        margin-bottom: 10px;
    }

    .education-content h3 {
        font-size: 22px;
        margin-bottom: 5px;
    }

    .education-content h4 {
        font-size: 18px;
        color: var(--primary-dark);
        margin-bottom: 15px;
        font-weight: 500;
    }

    .education-content p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 15px;
        opacity: 0.9;
    }

    .education-skills {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .education-skills span {
        background: rgba(0, 240, 255, 0.1);
        color: var(--primary);
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 12px;
    }

    @media (max-width: 768px) {
        .education-card {
            padding-left: 60px;
        }

        .education-icon {
            width: 50px;
            height: 50px;
            font-size: 20px;
        }

        .education-content {
            padding: 20px;
        }

        .education-content::before {
            left: -15px;
            top: 30px;
        }
    }

        /* Projects Section */
        .projects {
            padding: 100px 10%;
            background: var(--rich-black);
        }

        .projects-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .project-card {
            background: var(--black);
            border-radius: 10px;
            overflow: hidden;
            transition: all 0.5s;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            position: relative;
        }

        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 240, 255, 0.2);
        }

        .project-img {
            height: 200px;
            overflow: hidden;
        }

        .project-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .project-card:hover .project-img img {
            transform: scale(1.1);
        }

        .project-content {
            padding: 20px;
        }

        .project-content h3 {
            font-size: 22px;
            margin-bottom: 10px;
        }

        .project-content p {
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 15px;
            opacity: 0.9;
        }

        .project-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 15px;
        }

        .tech {
            background: var(--gray);
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 12px;
        }

        .project-links {
            display: flex;
            gap: 15px;
        }

        .project-links a {
            color: var(--white);
            text-decoration: none;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: color 0.3s;
        }

        .project-links a:hover {
            color: var(--primary);
        }

        /* Contact Section */
        .contact {
            padding: 100px 10%;
            background: var(--black);
        }

        .contact-container {
            display: flex;
            gap: 50px;
            margin-top: 50px;
        }

        .contact-info {
            flex: 1;
        }

        .contact-info h3 {
            font-size: 28px;
            margin-bottom: 20px;
        }

        .contact-info p {
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 30px;
            opacity: 0.9;
        }

        .contact-details {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            background: var(--gray);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 20px;
            color: var(--primary);
        }

        .contact-text h4 {
            font-size: 18px;
            margin-bottom: 5px;
        }

        .contact-text a, .contact-text p {
            color: var(--white);
            text-decoration: none;
            font-size: 14px;
            opacity: 0.8;
            transition: color 0.3s;
        }

        .contact-text a:hover {
            color: var(--primary);
        }

        .contact-form {
            flex: 1;
            background: var(--gray);
            padding: 30px;
            border-radius: 10px;
        }

        .contact-form h3 {
            font-size: 28px;
            margin-bottom: 20px;
        }

        .input-box {
            position: relative;
            margin-bottom: 25px;
        }

        .input-box input, .input-box textarea {
            width: 100%;
            padding: 15px;
            background: var(--light-gray);
            border: none;
            border-radius: 5px;
            color: var(--white);
            font-size: 16px;
        }

        .input-box textarea {
            height: 150px;
            resize: none;
        }

        .input-box label {
            position: absolute;
            top: 15px;
            left: 15px;
            font-size: 16px;
            color: var(--white);
            pointer-events: none;
            transition: 0.3s;
        }

        .input-box input:focus ~ label,
        .input-box input:valid ~ label,
        .input-box textarea:focus ~ label,
        .input-box textarea:valid ~ label {
            top: -10px;
            left: 10px;
            font-size: 12px;
            background: var(--primary);
            color: var(--black);
            padding: 2px 5px;
            border-radius: 3px;
        }

        .form-btn {
            padding: 12px 28px;
            background: var(--primary);
            color: var(--black);
            border: none;
            border-radius: 5px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .form-btn:hover {
            background: var(--primary-dark);
            color: var(--white);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 240, 255, 0.2);
        }

        /* Footer */
        footer {
            background: var(--rich-black);
            padding: 30px 10%;
            text-align: center;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-bottom: 20px;
        }

        .footer-links a {
            color: var(--white);
            text-decoration: none;
            font-size: 16px;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--primary);
        }

        .footer-social {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 20px;
        }

        .footer-social a {
            width: 40px;
            height: 40px;
            background: var(--gray);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--white);
            font-size: 18px;
            text-decoration: none;
            transition: all 0.3s;
        }

        .footer-social a:hover {
            background: var(--primary);
            color: var(--black);
            transform: translateY(-5px);
        }

        .copyright {
            font-size: 14px;
            opacity: 0.7;
        }

        /* Scroll Animation */
        .hidden {
            opacity: 0;
            filter: blur(5px);
            transform: translateX(-100%);
            transition: all 1s;
        }

        .show {
            opacity: 1;
            filter: blur(0);
            transform: translateX(0);
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .hero-image {
                width: 350px;
                height: 350px;
            }
            
            .hero-image img {
                width: 330px;
                height: 330px;
            }
        }

        @media (max-width: 992px) {
            .hero {
                flex-direction: column;
                text-align: center;
                padding-top: 150px;
                padding-bottom: 50px;
            }

            .hero-content {
                max-width: 100%;
                margin-bottom: 50px;
            }

            .btn-box, .social-icons {
                justify-content: center;
            }

            .hero-image {
                position: relative;
                right: auto;
                margin-top: 50px;
            }

            .about-content {
                flex-direction: column;
            }

            .about-img {
                margin-bottom: 50px;
            }

            .contact-container {
                flex-direction: column;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 80px);
                background: var(--black);
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 40px;
                transition: 0.5s;
            }

            .nav-links.active {
                left: 0;
            }

            .menu-btn {
                display: block;
            }

            .hero-content h1 {
                font-size: 42px;
            }

            .hero-content h3 {
                font-size: 24px;
            }

            .hero-image {
                width: 300px;
                height: 300px;
            }
            
            .hero-image img {
                width: 280px;
                height: 280px;
            }

            .section-title {
                font-size: 32px;
            }

            .projects-container {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 576px) {
            .hero-content h1 {
                font-size: 36px;
            }

            .hero-content h3 {
                font-size: 20px;
            }

            .btn-box {
                flex-direction: column;
                gap: 15px;
            }

            .btn {
                width: 100%;
                text-align: center;
            }

            .hero-image {
                width: 250px;
                height: 250px;
            }
            
            .hero-image img {
                width: 230px;
                height: 230px;
            }
        }



.containerd {
  width: 100%;
  height: 100%;

  background: #000000;
  --gap: 5em;
  --line: 1px;
  --color: rgba(255, 255, 255, 0.2);

  background-image: linear-gradient(
      -90deg,
      transparent calc(var(--gap) - var(--line)),
      var(--color) calc(var(--gap) - var(--line) + 1px),
      var(--color) var(--gap)
    ),
    linear-gradient(
      0deg,
      transparent calc(var(--gap) - var(--line)),
      var(--color) calc(var(--gap) - var(--line) + 1px),
      var(--color) var(--gap)
    );
  background-size: var(--gap) var(--gap);
}