/* Custom styles for a polished look */
        :root {
            --primary-color: #007bff; /* Bootstrap primary blue */
            --dark-color: #212529; /* Bootstrap dark */
            --bg-color: #f8f9fa; /* Light grey background */
            --accent-color: #00bcd4; /* A light cyan accent */
        }

        /* body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-color);
            color: var(--dark-color);
            scroll-behavior: smooth;
        } */

        body { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; }

        .navbar { box-shadow: 0 2px 6px rgba(0,0,0,.06); background: #fff; }

        /* Navbar Customization */
        .navbar-custom {
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            background-color: #ffffff;
        }
        .nav-link { color: #111 !important; font-weight: 600; }
        .nav-link:hover { color: #0d6efd !important; }


        section { padding: 80px 0; }
        section.bg-light-alt { background: #f8f9fa; }

        


        /* Hero Section */
        .hero-container {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem; /* p-4 */
        }

        /* Hero Card/Wrapper */
        .hero-card {
            background-color: var(--white);
            border-radius: 1.5rem; /* rounded-3xl */
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-xl */
            max-width: 72rem; /* max-w-6xl */
            width: 100%;
            padding: 1.5rem; /* p-6 */
            overflow: hidden;
        }

        /* Content Wrapper (Flexbox for stacking/splitting) */
        .content-wrapper {
            display: flex;
            flex-direction: column; /* flex-col (Mobile default: stacked) */
            align-items: center;
            gap: 2.5rem; /* gap-10 */
        }
        
        /* Text and Image Content Blocks */
        .text-content, .image-content {
            width: 100%;
            text-align: center; /* Mobile default: center alignment */
        }

        /* Typography Styles */
        .tagline {
            font-size: 0.875rem; 
            font-weight: 600;
            color: var(--primary-blue);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        } 

        .main-title {
            font-size: 2.25rem; /* text-4xl */
            font-weight: 800;
            line-height: 1.25;
            color: var(--text-dark);
            margin-top: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .main-title span {
            color: var(--primary-blue);
        }

        .description {
            font-size: 1.125rem; /* text-lg */
            color: var(--text-gray);
            max-width: 40rem; /* max-w-xl */
            margin-left: auto;
            margin-right: auto;
        }
        
        /* CTA Button */
        .cta-button-wrapper {
            padding-top: 1rem;
        }

        .cta-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.75rem 2rem; /* px-8 py-3 */
            border: 1px solid transparent;
            font-size: 1rem; /* text-base */
            font-weight: 500;
            border-radius: 9999px; /* rounded-full */
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06); /* shadow-lg */
            color: var(--white);
            background-color: var(--primary-blue);
            transition: all 0.3s ease;
            text-decoration: none;
            cursor: pointer;
        }

        .cta-button:hover {
            background-color: var(--primary-hover);
            transform: scale(1.02);
        }

        .cta-button:focus {
            outline: none;
            box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.5); /* focus:ring-4 */
        }

        /* Image Styling */
        .hero-image {
            width: 100%;
            height: auto;
            object-fit: cover;
            border-radius: 1rem; /* rounded-2xl */
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow-2xl */
            transition: box-shadow 0.5s ease;
            margin-top: 2rem; /* mt-8 on mobile/default */
        }

        .hero-image:hover {
            box-shadow: 0 0 40px rgba(79, 70, 229, 0.3);
        }


        /* --- DESKTOP/TABLET MEDIA QUERY (md breakpoint: 768px) --- */
        @media (min-width: 768px) {
            
            .hero-container {
                padding: 2rem; /* sm:p-8 */
            }

            .hero-card {
                padding: 3rem; /* md:p-12 */
            }

            .content-wrapper {
                flex-direction: row; /* md:flex-row (Desktop: side-by-side) */
                gap: 4rem; /* lg:gap-16 */
            }
            
            .text-content {
                flex-basis: 50%; /* md:w-1/2 */
                text-align: left; /* md:text-left */
                margin-top: 0;
                margin-bottom: 0;
            }

            .description {
                margin-left: 0; /* Align description text left */
            }

            .image-content {
                flex-basis: 50%; /* md:w-1/2 */
                display: flex;
                justify-content: flex-end;
                margin-top: 0; /* Reset mobile margin */
            }
            
            .main-title {
                font-size: 3rem; /* sm:text-5xl */
            }
        }
        
        /* Larger Desktop Screens (lg breakpoint: 1024px) */
        @media (min-width: 1024px) {
            .main-title {
                font-size: 3.75rem; /* lg:text-6xl */
            }
        }

        /* Specializing section */
        
        /* Custom CSS for the continuous scroll effect */
        .scroll-container {
            overflow: hidden;
            /* Ensures flex items don't wrap to the next line */
            white-space: nowrap;
        }

        /* The element that holds the content and animates */
        .scroll-content {
            display: inline-flex; /* Use inline-flex to keep all images on one line */
            animation: scroll-left 30s linear infinite; /* 30s speed, linear timing, infinite loop */
        }

        /* Keyframe animation to move the content left by 50% of its total width */
        @keyframes scroll-left {
            0% {
                transform: translateX(0);
            }
            100% {
                /* Move exactly half the content (the width of the original set of 8 images) */
                transform: translateX(-50%);
            }
        }

        /* Ensure images maintain aspect ratio while keeping the defined height */
        .skill-image {
            height: 200px; /* Fixed height as requested */
            width: auto;
            flex-shrink: 0; /* Prevents items from shrinking */
            margin-right: 3rem; /* Space between images */
            filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
            transition: transform 0.3s ease-in-out;
        }

        /* Add subtle hover effect */
        .skill-image:hover {
            transform: scale(1.05);
        }

        /* Skills section */
        .scroll-content img{
            height:100px;
            width:auto;
        }

        #frontend{
            padding-bottom: 10px !important;
        }



        /* HTML section */

        .html-website-section .card {
            border-radius: 12px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            }

            .html-website-section .card:hover {
            transform: translateY(-6px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
            }

            .html-website-section .card-img-top img {
            transition: transform 0.3s ease;
            }

            .html-website-section .card:hover .card-img-top img {
            transform: scale(1.05);
            }

            .html-website-section .section-title {
            font-weight: 600;
            }



        
        .profile-image {
            width: 200px;
            height: 200px;
            object-fit: cover;
            border-radius: 50%;
            border: 5px solid var(--primary-color);
            box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
        }
        
        /* Section Styling */
        .portfolio-section {
            padding: 6rem 0;
        }
        .section-title {
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 3rem;
            border-bottom: 3px solid var(--accent-color);
            padding-bottom: 10px;
            display: inline-block;
        }

        /* Card Styling */
        .portfolio-card {
            border: none;
            border-radius: 1rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s, box-shadow 0.3s;
            overflow: hidden;
        }
        .portfolio-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }
        .card-icon {
            font-size: 3rem;
            color: var(--accent-color);
            margin-bottom: 1rem;
        }


        /* Gallery images */
        .gallery-image { width: 100%; height: 220px; object-fit: cover; border-radius: .5rem; cursor: pointer; }
         /* Modal (simple lightbox) */
            #imageModal {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            background: rgba(0,0,0,.8);
            z-index: 1200;
            padding: 1rem;
            }
            #imageModal.show { display: flex; }
            #imageModal img { max-width: 100%; max-height: 90vh; border-radius: .5rem; box-shadow: 0 8px 30px rgba(0,0,0,.6); }
            #imageModal .close-btn { position: absolute; top: 1rem; right: 1rem; color: #fff; font-size: 2rem; cursor: pointer; opacity: .9; }
        



    

        /* Footer */
        .footer-custom {
            background-color: var(--dark-color);
            color: #ffffff;
            padding: 2rem 0;
        }








        