        /* Global Styling */

        :root {
            --primary-color: #2B5F2B;    /* Deep matcha green */
            --secondary-color: #A4C08E;  /* Soft muted green */
            --accent-color: #D4AF37;     /* Golden yellow for contrast */
            --background-light: #F5F5F5;         /* Off-white background */
            --background-dark: #1A2A1A;          /* Dark green background */
            --text-dark: #1A1A1A;        /* Dark text */
            --text-light: #FFFDD0;       /* Creamy text for dark mode */
        }

        body {
            font-family: 'Poppins', sans-serif;
            color: var(--text-dark);
            background-color: var(--background-light);
            transition: background-color 0.5s ease, color 0.5s ease;
        }

        body.light-mode {
            background-color: var(--background-light);
            color: var(--text-dark);
        }

        body.dark-mode {
            background-color: var(--background-dark);
            color: var(--text-light);
        }

        
        /* Navbar Styling */
        .navbar-brand {
            font-weight: 700;
            font-size: 1.8rem;
            color: inherit;
            margin-right: 10px; /* Adjusted logo spacing */
            color: var(--primary-color);
        }
        
        .navbar-nav {
            gap: 10px; /* Controls spacing between navbar items */
        }
        
        .navbar-nav .nav-link {
            font-weight: 500;
            color: var(--secondary-color);
            padding: 0 5px; /* Compact padding */
            font-size: 1rem;
            transition: color 0.3s ease;
        }
        
        .navbar-nav .nav-link:hover {
            color: var(--primary-color);
        }
        
        body.dark-mode .navbar-nav .nav-link {
             color: var(--text-light);
        }
        
        body.dark-mode .navbar-nav .nav-link:hover {
            color: var(--primary-color);
        }
        
        #toggle-theme {
            margin-left: 10px; /* Controls spacing between links and the toggle icon */
        }
        
        body.light-mode #toggle-theme i {
            color: #333;
        }
        
        body.dark-mode #toggle-theme i {
            color: #ffffff;
        }
        
        /* Home Section */
        .home-section {
            padding: 4rem 0;
            max-width: 1200px;
            margin: auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-direction: column;
            text-align: center;
        }
        
        @media (min-width: 768px) {
            .home-section {
                flex-direction: row;
                text-align: left;
            }
        }
        
        .home-section h1 {
            font-size: 4rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
        
        body.dark-mode .home-section h1 {
              color: var(--primary-color);
        }
        
        /* Job Title & Description Styling */
        .job-title {
            font-weight: 300;
            font-size: 1.5rem;
            color: var(--secondary-color);
        }
        
        body.dark-mode .job-title {
            color: var(--secondary-color); 
        }
        
        .description {
            font-size: 1.2rem;
            color: #777;
        }
        
        body.dark-mode .description {
            color: #bbbbbb;
        }
        
        /* About Section */
        .about-description {
            max-width: 700px;
            margin: auto;
            font-size: 1.1rem;
            color: var(--text-dark);
            line-height: 1.6;
            padding: 0 15px;
        }
        
        body.dark-mode .about-description {
            color: var(--text-light);
        }
        
        /* Tech Stack Icons */
        .tech-stack-icons .tech-icon {
            text-align: center;
            width: 100px;
            margin: 10px;
            color: #444;
            font-size: 0.9rem;
            transition: transform 0.3s, color 0.3s;
        }
        
        body.dark-mode .tech-stack-icons .tech-icon {
            color: #cccccc;
        }
        
        .tech-stack-icons .tech-icon img {
            width: 50px;
            height: 50px;
            margin-bottom: 5px;
        }
        
        .tech-stack-icons .tech-icon img {
            transition: none;
        }

        .tech-stack-icons .tech-icon {
            transition: none;
        }
        
        /* Profile Image Styling */
        .profile-image {
            max-width: 350px;
            border-radius: 20px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s;
        }
        
        .profile-image:hover {
            transform: scale(1.05);
        }
        
        /* Project Card Styling */
        .project-card {
            border: none;
            border-radius: 15px;
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
            width: 100%;
            max-width: 350px;
            padding: 20px;
            margin: auto;
            text-align: center;
            background-color: var(--background-light);
            color: var(--text-dark);
        }
        
        body.dark-mode .project-card {
            background-color: var(--background-dark);
            color: var(--text-light);
        }
        
        .project-card:hover {
            transform: scale(1.03);
            box-shadow: 0 4px 15px rgba(172, 0, 24, 0.4);
        }
        
        .project-card .card-img-top {
            max-width: 280px;
            height: auto;
            margin: 0 auto 10px;
            border-radius: 10px;
        }
        
        .project-card .card-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: #333;
            margin-top: 10px;
        }
        
        body.dark-mode .project-card .card-title {
            color: #e0e0e0;
        }
        
        .project-card .project-description {
            font-size: 0.9rem;
            color: #777;
        }
        
        body.dark-mode .project-card .project-description {
            color: #bbbbbb;
        }
        
        /* Expertise Section Styling */
        .expertise-card {
            border: none;
            border-radius: 10px;
            padding: 20px;
            transition: transform 0.3s, box-shadow 0.3s;
            background-color: var(--background-light);
            color: var(--text-dark);
        }
        
        body.dark-mode .expertise-card {
            background-color: #1c1c1c;
            color: #e0e0e0;
        }
        
        .expertise-card:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }
        
        .expertise-card .card-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: #333;
        }
        
        body.dark-mode .expertise-card .card-title {
            color: #ffffff;
        }
        
        .expertise-card .card-text {
            font-size: 0.95rem;
            color: #666;
        }
        
        body.dark-mode .expertise-card .card-text {
            color: #cccccc;
        }
        
        /* View All Works Link */
        .view-all-works {
            font-size: 0.9rem;
            color: #888;
            font-weight: 500;
            transition: color 0.3s ease;
            text-decoration: none;
        }
        
        .view-all-works:hover {
            color: #6c63ff;
        }
        
        body.dark-mode .view-all-works {
            color: #cccccc;
        }
        
        body.dark-mode .view-all-works:hover {
            color: #ffffff;
        }
        
        /* Clients Section Styling */
        #clients {
            padding: 4rem 0;
        }
        
        #clients .client-logo {
            max-width: 150px;
            transition: transform 0.3s ease;
        }
        
        #clients .client-logo:hover {
            transform: scale(1.1);
        }
        
        #clients h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
        }
        
        #clients .text-decoration-none {
            font-size: 1rem;
            color: #333;
            font-weight: 500;
            transition: color 0.3s ease;
        }
        
        #clients .text-decoration-none:hover {
            color: #6c63ff;
        }
        
        body.dark-mode .clients-section-link {
            color: #e0e0e0;
        }
        
        .clients-section-link:hover {
            color: #6c63ff;
        }
        
        
        /* Testimonial Section Styling */
        #testimonial {
            padding: 2rem 0;
        }
        
        .testimonial-card {
            border: 1px solid #ddd;
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 800px;
            background-color: #fff;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }
        
        .testimonial-image-wrapper {
            width: 100%;
            max-width: 300px;
            margin-bottom: 1.5rem;
        }
        
        .testimonial-image {
            width: 100%;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }
        
        .testimonial-text {
            width: 100%;
            padding-left: 0;
            text-align: center;
        }
        
        /* Desktop Styles */
        @media (min-width: 768px) {
            #testimonial {
                padding: 4rem 0;
            }
            
            .testimonial-card {
                flex-direction: row;
                padding: 2rem;
            }
            
            .testimonial-image-wrapper {
                flex: 1;
                max-width: 200px;
                margin-bottom: 0;
                margin-right: 2rem;
            }
            
            .testimonial-text {
                flex: 2;
                padding-left: 1.5rem;
                text-align: left;
            }
        }
        
        /* Dark Mode Styles */
        body.dark-mode .testimonial-card {
            background-color: #1c1c1c;
            border-color: #333;
        }
        
        body.dark-mode .testimonial-image-wrapper img {
            box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
        }
        
        body.dark-mode .testimonial-text {
            color: #e0e0e0;
        }
        
        body.dark-mode .testimonial-quote {
            color: #bbbbbb;
        }
        
        body.dark-mode .testimonial-author {
            color: #e0e0e0;
        }

        /* Contact Section Styling */
        #contact h2 {
            font-size: 1.5rem;
            color: #333;
            margin-bottom: 1rem;
        }
        
        .contact-email {
            font-size: 2.5rem; /* Larger size for larger screens */
            color: var(--primary-color);
            text-decoration: none;
        }
        
        .contact-email:hover {
            color: var(--secondary-color);
            text-decoration: underline;
        }
        
        /* Dark Mode Styling */
        body.dark-mode #contact h2, 
        body.dark-mode .contact-email {
            color: #e0e0e0;
        }
        
        body.dark-mode .contact-email:hover {
            color: #ffffff;
        }
        
        
        /* Footer Styling */
        footer {
            padding: 1.5rem 0;
            background-color: var(--background-light);
            border-top: 1px solid var(--secondary-color);
        }
        
        body.dark-mode footer {
            background-color: var(--background-dark);
            color: var(--text-light);
        }
        
        /* Footer Flex Container */
        .footer-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: auto;
            padding: 0 1rem;
        }
        
        .footer-content {
            color: var(--text-dark);
            font-size: 0.9rem;
        }
        
        body.dark-mode .footer-content {
            color: #cccccc;
        }
        
        /* Social Icons Styling */
        .social-icons {
            display: flex;
            gap: 15px;
        }
        
        .social-icons a {
            color: #666;
            font-size: 1.2rem;
            transition: color 0.3s;
        }
        
        .social-icons a:hover {
            color: var(--primary-color);
        }
        
        body.dark-mode .social-icons a {
            color: #cccccc;
        }
        
        body.dark-mode .social-icons a:hover {
            color: #6c63ff;
        }
        
        button {
            background-color: var(--primary-color);
            color: var(--text-light);
            border: none;
        }

        button:hover {
            background-color: var(--secondary-color);
            color: var(--background-light);
        }

        
        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .home-section h1 {
                font-size: 3rem;
            }
        
            .job-title {
                font-size: 1.3rem;
            }
        
            .description {
                font-size: 1rem;
            }
        
            .project-card {
                max-width: 300px;
                padding: 15px;
            }
        
            .project-card .card-img-top {
                max-width: 250px;
            }
            
            #testimonial {
                flex-direction: column;
                text-align: center;
            }
        
            .testimonial-text {
                padding-left: 0;
                margin-top: 1rem;
            }
            
            #contact h2 {
                font-size: 1.25rem;
            }
        
            .contact-email {
                font-size: 1.75rem; /* Adjust font size on smaller screens */
            }
        }
        
        .swal2-popup-custom {
            background-color: var(--background-light);
            color: var(--text-dark);
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        body.dark-mode .swal2-popup-custom {
            background-color: var(--background-dark);
            color: var(--text-light);
        }

        .swal2-title-custom {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            color: var(--primary-color);
        }

        body.dark-mode .swal2-title-custom {
            color: var(--secondary-color);
        }

        .swal2-confirm {
            font-family: 'Poppins', sans-serif;
            font-size: 1rem;
            background-color: var(--primary-color);
            color: var(--text-light);
            border: none;
            border-radius: 5px;
            padding: 10px 20px;
            transition: background-color 0.3s;
        }

        .swal2-confirm:hover {
            background-color: var(--secondary-color);
            color: var(--background-light);
        }

        .btn-primary {
            background-color: var(--primary-color);
            color: var(--text-light);
            border: none;
        }

        .btn-primary:hover {
            background-color: var(--secondary-color);
            color: var(--background-light);
        }

        .btn-danger {
            background-color: #e63946;
            color: var(--text-light);
            border: none;
        }

        .btn-danger:hover {
            background-color: #c62828;
            color: var(--background-light);
        }


        @media (max-width: 576px) {
            #contact h2 {
                font-size: 1rem;
            }
        
            .contact-email {
                font-size: 1.5rem; /* Smaller font for very small screens */
            }

            #intro-text {
                font-size: 2rem !important;
            }

        }

        /* Name  */

        .name-container {
            display: inline-block;
            position: relative;
        }
        
        .full-name {
            color: var(--text-dark);
            transition: all 0.3s ease;
        }

        body.dark-mode .full-name {
            color: var(--text-light);
        }
        
        .nickname {
            color: var(--primary-color);
            font-weight: 500;
            cursor: pointer;
            position: relative;
            margin-left: 0.5em;
        }
        
        .nickname::before {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -2px;
            left: 0;
            background-color: var(--secondary-color);
            transition: width 0.3s ease;
        }
        
        .nickname:hover::before {
            width: 100%;
        }
        
        .nickname:hover + .full-name {
            letter-spacing: 0.05em;
        }
        
        .nickname::after {
            content: attr(data-tooltip);
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0,0,0,0.8);
            color: white;
            padding: 0.3em 0.8em;
            border-radius: 4px;
            font-size: 0.8em;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
            white-space: nowrap;
        }
        
        .nickname:hover::after {
            opacity: 1;
        }
        
        @media (max-width: 768px) {
            .name-container {
                flex-direction: column;
                align-items: center;
                text-align: center;
                display: inline-block;
                position: relative;
            }
            
            .nickname {
                margin-top: 0.3em;
            }
            
            .position {
                display: block; /* This forces new line */
                margin-top: 0.5rem;
                color: var(--text-dark);
                font-weight: 400;
            }
            
        }
       


