/* Add to your HTML head */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
/* Galaxy Background Animation */
        @keyframes move-background {
            0% {
                background-position: 0 0;
            }

            100% {
                background-position: 1000px 1000px;
            }
        }
      
        @keyframes twinkle {

            0%,
            100% {
                opacity: 0.3;
            }

            50% {
                opacity: 1;
            }
        }

        body {
            margin: 0;
            background: #0a0a2a;
            color: #fff;
            font-family: 'Arial', sans-serif;
            overflow-x: hidden;
            position: relative;
        }
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image:
                radial-gradient(white, rgba(255, 255, 255, .2) 2px, transparent 5px),
                radial-gradient(white, rgba(255, 255, 255, .15) 1px, transparent 3px),
                radial-gradient(white, rgba(255, 255, 255, .1) 2px, transparent 4px);
            background-size: 550px 550px, 350px 350px, 250px 250px;
            background-position: 0 0, 40px 60px, 130px 270px;
            animation: move-background 60s linear infinite;
            z-index: -1;
        }

        /* Navigation Styles */
        .navbar {
            background: rgba(10, 10, 42, 0.95);
            padding: 1rem;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            backdrop-filter: blur(10px);
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 2px solid grey;
        }
        

        .navbar a {
            color: #fff;
            text-decoration: none;
            margin: 0 1rem;
            transition: color 0.3s ease;
        }


        .navbar button {
            background: #fff;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            color: #0a0a2a;
            transition: transform 0.3s ease;
        }

        .navbar button:hover {
            transform: scale(1.1);
        }

        /* Home Section */
        .home {
            position: relative;
            z-index: -1;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            padding: 2rem;
            text-align: center;
        }

        .home img {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            border: 4px solid #00ff88;
            animation: float 8s ease-in-out infinite;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0);
            }

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

        .home .auto-type {
            height: 600px;
            white-space: nowrap;
            background: linear-gradient(20deg, rgb(208, 230, 10), magenta);
            -webkit-text-fill-color: transparent;
            -webkit-background-clip: text;
        }
        
        /* Skills Section */


        /* Projects Section */
        .projects .card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            transition: transform 0.3s ease;
        }

        .projects .card:hover {
            transform: scale(1.05);
        }

        /* Contact Section */
        .contact {
            background: rgba(10, 10, 42, 0.8);
            padding: 2rem;
        }

        .contact input,
        .contact textarea {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #fff;
        }

        .c-icons a {
            font-size: 2rem;
            color: #fff;
            margin: 1rem;
            transition: transform 0.3s ease;
        }

        .c-icons a:hover {
            transform: scale(1.2);
            color: #00ff88;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .navbar {
                flex-direction: column;
                padding: 0.5rem;
            }

            .navbar a {
                margin: 0.5rem;
            }

            .home img {
                width: 150px;
                height: 150px;
            }

            .skills .card-deck,
            .projects .card-deck {
                flex-direction: column;
            }

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

        /* Loading Animation */
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #0a0a2a;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        .loading-spinner {
            width: 50px;
            height: 50px;
            border: 5px solid #f3f3f3;
            border-top: 5px solid #00ff88;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        /* Original CSS */
        .main-container {
            margin: 0;
            padding: 0;
        }

        .nav {
            background-color: white;
            position: fixed;
            width: 100%;
            z-index: 999;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .navbar {
            display: flex;
            justify-content: center;
            padding: 15px;
        }

        .navbar a {
            text-decoration: none;
            padding: 10px 20px;
            /* color: black; */
        }

        /* Improved CSS */
        /* Global Styles */
        :root {
            --primary-color: #2563eb;
            --secondary-color: #1e40af;
            --text-color: #1f2937;
            --light-bg: #f3f4f6;
            --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }

        .main-container {
            margin: 0;
            padding: 0;
            /* color: var(--text-color); */
            font-family: 'Inter', sans-serif;
        }

        /* Navigation Styles */
        .nav {
            background-color: rgba(255, 255, 255, 0.95);
            position: fixed;
            width: 100%;
            z-index: 999;
            box-shadow: var(--card-shadow);
            backdrop-filter: blur(8px);
        }

        .navbar {
            display: flex;
            justify-content: center;
            padding: 1rem;
        }
        .navbar a {
            text-decoration: none;
            padding: 0.75rem 1.5rem;
            /* color: var(--text-color); */
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
        }

        .navbar a:hover {
            color: var(--primary-color);
        }

        .navbar a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 50%;
            background-color: var(--primary-color);
            transition: all 0.3s ease;
        }

        .navbar a:hover::after {
            width: 70%;
            left: 15%;
        }

        /* About Section Styles */
        .about {
            padding: 5rem 0;
            background: var(--light-bg);
            /* background-image: url("assets/ecommerce.png"); */
        }

        .about .content {
            max-width: 800px;
            margin: 0 auto;
            padding: 2rem;
        }

        .about ul {
            list-style: none;
            padding: 0;
        }

        .about ul li {
            position: relative;
            padding: 1rem 0 1rem 2rem;
            line-height: 1.6;
            border-left: 3px solid var(--primary-color);
            margin: 1rem 0;
            background: white;
            border-radius: 0 8px 8px 0;
            box-shadow: var(--card-shadow);
            transition: transform 0.3s ease;
            color: #000;
        }

        .about ul li:hover {
            transform: translateX(10px);
        }

        /* Skills Section Styles */


        .skills .card {
            border: none;
            border-radius: 12px;
            box-shadow: var(--card-shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            overflow: hidden;

        }

        .skills {
            padding: 50px 10%;
            /* background: #1a1a1a; */
            color: #fff;
            width: 100%;

            h1 {
                font-size: 36px;
                width: 100%;
                text-align: center;
                margin-bottom: 40px;
                color: #f39c12;
                text-transform: uppercase;
                font-weight: bold;
                letter-spacing: 3px;
            }

            .card-deck {
                display: flex;
                flex-wrap: wrap;
                gap: 20px;
                justify-content: center;
            }

            .card {
                background: rgba(255, 255, 255, 0.1);
                backdrop-filter: blur(12px);
                border: 1px solid rgba(255, 255, 255, 0.2);
                border-radius: 15px;
                transition: transform 0.3s ease, box-shadow 0.3s ease;
                overflow: hidden;
                max-width: 280px;
                width: 100%;
                text-align: center;
                color: #fff;
                padding: 20px;
            }

            .card .card-body {
                padding: 15px;
            }

            .card .image {
                position: relative;
                margin-bottom: 20px;
            }

            .card img {
                max-width: 80px;
                margin: 0 auto;
                filter: brightness(0) invert(1);
                transition: filter 0.3s ease;
            }

            .card-title {
                font-size: 20px;
                font-weight: bold;
                margin: 15px 0;
                text-transform: uppercase;
                letter-spacing: 2px;
                color: #f39c12;
            }

            .card-text {
                font-size: 16px;
                line-height: 1.5;
                color: #ddd;
            }

            .card:hover {
                transform: translateY(-15px);
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            }

            .card:hover img {
                filter: brightness(1.2);
            }

            @media (max-width: 768px) {
                .card-deck {
                    flex-direction: column;
                    align-items: center;
                }

                .card {
                    width: 90%;
                }
            }

        }


        /* Projects Section Styles */
        .projects {
            padding: 5rem 0;
            background: var(--light-bg);

            h1 {
                font-size: 36px;
                width: 100%;
                text-align: center;
                margin-bottom: 40px;
                color: #f39c12;
                text-transform: uppercase;
                font-weight: bold;
                letter-spacing: 3px;
            }
        }

        .projects .card {
            border: none;
            border-radius: 12px;
            text-align: center;
            overflow: hidden;
            box-shadow: var(--card-shadow);
            transition: transform 0.3s ease;
        }

        .projects .card:hover {
            transform: translateY(-10px);
        }

        .projects .card-img-top {
            height: 350px;
            object-fit: cover;
        }

        .projects .card-body {
            padding: 1.5rem;
        }
        .slider {
            width: 100%;
            height: 280px;
            overflow: hidden;
            position: relative;
            border-radius: 10px;
          }
          
          .slides-container {
            display: flex;
            width: 100%;
            transition: transform 0.5s ease-in-out;
          }
          
          .slide {
            width: 100%;
            flex-shrink: 0;
          }
          
          .slide img {
            width: 100%;
            height: auto;
            border-radius: 10px;
          }
          
          .navigation-manual {
            position: absolute;
            bottom: 10px;
            width: 100%;
            display: flex;
            justify-content: center;
          }
          
          .manual-btn {
            border: 2px solid white;
            border-radius: 50%;
            padding: 5px;
            margin: 0 5px;
            cursor: pointer;
            transition: background 0.3s;
          }
          
          .manual-btn:hover {
            background: white;
          }
          
        
          
        
        
        
 
        .projects .btn {
            margin: 0.5rem;
            padding: 0.5rem 1.5rem;
            background-color: var(--primary-color);
            border: none;
            transition: background-color 0.3s ease;
        }

        .projects .btn:hover {
            background-color: var(--secondary-color);
        }

        /* Contact Section Styles */
        .contact {
            padding: 5rem 0;
            /* font-size: 16px; */
            text-align: center;
            margin-bottom: 40px;
            /* color: #f39c12; */
            /* font-weight: bold; */
            letter-spacing: 3px;

            h1 {
                text-transform: uppercase;

            }
        }

        .contact .row {
            margin: 0;
        }

        .contact iframe {
            border-radius: 12px;
            box-shadow: var(--card-shadow);
        }

        .contact .inputfields {
            background: white;
            border-radius: 12px;
            box-shadow: var(--card-shadow);
        }

        .contact h1 {
            margin-bottom: 2rem;
            color: var(--text-color);
        }

        .form-floating {
            margin-bottom: 1.5rem;
        }

        .form-control {
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            padding: 1rem;
        }

        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
        }

        .contact .btn {
            width: 100%;
            padding: 1rem;
            background-color: var(--primary-color);
            border: none;
            transition: background-color 0.3s ease;
        }

        .contact .btn:hover {
            background-color: var(--secondary-color);
        }

        .c-icons {
            margin-top: 2rem;
            justify-content: center;
            gap: 2rem;
        }

        .c-icons a {
            color: var(--text-color);
            font-size: 1.5rem;
            transition: color 0.3s ease;
        }

        .c-icons a:hover {
            color: var(--primary-color);
        }

        /* Footer Styles */
        footer {
            background-color: var(--text-color);
            color: white;
            text-align: center;
            padding: 1.5rem;
            margin-top: 3rem;
        }

        /* Responsive Image Sizes */
        .about img {
            max-width: 100%;
            height: auto;
            border-radius: 12px;
            box-shadow: var(--card-shadow);
        }

        .nav {
            background: #111;
            /* padding: 10px 20px; */
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }



        .menu-icon {
            display: none;
            font-size: 26px;
            cursor: pointer;
            color: white;
            position: relative;
            right: -100px;
        }

        .close-icon {
            display: none;
            font-size: 26px;
            cursor: pointer;
            color: white;
            position: absolute;
            top: 15px;
            right: 45px;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .menu-icon {
                display: block;
                margin-left: 20px;
            }

            .nav-links {
                display: none;
                flex-direction: column;
                width: 100%;
                height: 100vh;
                text-align: center;
            }

            .nav-links a {
                display: block;
                padding: 15px;
            }

            .nav-links button {
                margin-top: 10px;
            }

            .close-icon {
                display: block;
            }
        }
        .btn-submit {
            background: linear-gradient(45deg, #007bff, #00d4ff);
            color: white;
            border: none;
            padding: 12px 30px;
            font-size: 18px;
            font-weight: 600;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease-in-out;
            box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
            position: relative;
            /* overflow: hidden; */
        }

        .btn-submit:hover {
            background: linear-gradient(45deg, #0056b3, #0084ff);
            transform: scale(1.05);
            box-shadow: 0 6px 15px rgba(0, 123, 255, 0.5);
        }

        .btn-submit:active {
            transform: scale(0.95);
            box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3);
        }

        .socialicons {
            position: fixed;
            right: 10px;
            border-radius: 50px 0 0px 50px;
            top: 200px;
            padding: 20px 10px 20px 20px;
            animation: icons 1s linear;
            /* height: 100vh; */
            background-image: linear-gradient(to top right, black, #003a85, black);
        }
        .icons {
            display: flex;
            /* height: 40px; */
            flex-direction: column;
            gap: 15px;
             
        }

        .icons i {
            width: 35px;
            height: 35px;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            color: white;
            cursor: pointer;
            text-decoration: none;
            /* Removes any underline or unwanted styles */
        }

        .icons,
        .contact a {
            text-decoration: none !important;
            
        }


        .icons i:hover,
        .c-icons i:hover {
            box-shadow: -5px 5px 5px #003a85;
            transform: translateY(-3px);
            
        }

        .fa-facebook-f {
            background-color: #3b5998;
        }

        .fa-linkedin {
            background-color: #0A66C2;
        }

        .fa-whatsapp {
            background-color: #075E54;
        }

        .fa-instagram {
            background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
        }

        .fa-twitter {
            background-color: #1DA1F2;
        }

        .fa-tumblr {
            background-color: rgba(189, 213, 239, .4);
        }

        .fa-pinterest {
            background-color: #E60023;
        }

        .fa-telegram {
            background-color: #0088cc;
        }
        .fa-github {
            background-color: #333; /* GitHub Color */
        }
        

        .c-icons {
            display: flex;
            justify-content: end;
            gap: 10px;
        }

        .c-icons i {
            width: 35px;
            height: 35px;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            color: white;
            cursor: pointer;
        }

        .fa-envelope {
            background-color: #0088cc;
        }

        .fa-phone {
            background-color: green;
        }


        .loader{
            width: 100%;
            padding: 10px;
            background-color: #3d4145;
            margin-top: 10px;
            text-align: center;
            font-weight: 600;
            display: none;
        }

        .loader.show{
            display: block;
        }

        .loader i{
            color: #fff;
            animation: rotateme .4s linear infinite;
        }
        @keyframes rotateme {
            0% {
                transform: rotate(0deg);
            }
        
            100% {
                transform: rotate(360deg);
            }
        }

        .form-message{
            display: none;
            width: 100%;
            background-color: #3d4145;
            margin-top: 10px;
            text-align: center;
            font-weight: 600;
        }
        .form-message.show {
            display: block;
        }
        
        .success-msg {
            color: green;
            line-height: 3;
        }
        
        .error-msg {
            color: red;
            line-height: 3;
        }
        
