/* Base Styles & Global Reset */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: "Poppins", sans-serif ;
            background-color: #121310; /* Dark background */
            color: #f5f5f5; /* Light text */
            line-height: 1.6;
            scroll-behavior: smooth; /* Smooth scrolling for navigation */
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        /* Header & Navigation Buttons */
        header {
            background-color: #101113;
            padding: 15px 20px;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0;
            position: relative;
        }

        .logo {
            font-size: 2.2em;
            font-weight: 700;
            color: #e9d30f;
            text-decoration: none;
            padding: 0; /* Align with buttons */
        }


        .nav-links {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .nav-button {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 14px;
            background-color: #e9d30f;
            color: #ffffff;
            text-decoration: none;
            border: none;
            border-radius: 10px;
            font-size: 1.1em;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        }
        .hamburger {
            display: none;
            border: 0;
            background: transparent;
            padding: 4px 8px;
            cursor: pointer;
            font-size: 26px;
            color: #e9d30f;
        }

        .nav-button:hover {
            background-color: #101113;
            transform: translateY(-2px);
        }

        .nav-button.active {
            background-color: #ffffff;
            color: #101113;
        }

        /* Section Styling */
        section {
            padding: 80px 0;
            border-bottom: 1px solid #333;
        }

        section:last-of-type {
            border-bottom: none;
        }

        section:nth-of-type(even) {
            background-color: #171816;
        }

        h2 {
            font-size: 3em;
            font-weight: 700;
            text-align: center;
            color: #ffffff;
            margin-bottom: 60px;
        }

        /* Home Section */
        #home {
            min-height: calc(100vh - 80px); /* Adjust for header height */
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #101113, #252525);
            text-align: center;
            padding: 40px 20px; /* Added padding for smaller screens */
        }

        .home-content {
            display: flex;
            flex-direction: column; /* Default for mobile */
            align-items: center;
            gap: 40px;
            width: 100%;
            max-width: 1000px;
        }

        .home-image-container {
            flex-shrink: 0; /* Prevent image from shrinking too much */
        }

        .home-image {
            width: 400px;
            max-width: 100%;
            height: auto;
            border-radius: 150px;
            top: 0;
            padding: 0;
            display: block;
        }

        .home-text {
            flex-grow: 1;
            text-align: center;
            max-width: 650px;
        }

        .hero-eyebrow {
            color: #e9d30f;
            font-size: 0.9rem;
            font-weight: 700;
            letter-spacing: 0.16em;
            margin-bottom: 12px;
        }

        .home-text h1 {
            font-size: clamp(2.25rem, 5vw, 4rem);
            line-height: 1.1;
            font-weight: 800;
            margin-bottom: 20px;
            color: #ffffff;
        }

        .home-text h1 span {
            color: #e9d30f;
        }


        .home-text p {
            font-size: clamp(1.05rem, 2vw, 1.35rem);
            color: #cccccc;
            margin-bottom: 30px;
        }

        /* Call-to-action buttons within Home Section */
        .home-cta-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
        }

        .cta-button {
            display: inline-block;
            padding: 15px 30px;
            background-color: #e9d30f;
            color: #101113;
            text-decoration: none;
            border-radius: 8px;
            font-size: 1.2em;
            font-weight: 600;
            transition: background-color 0.3s ease, transform 0.2s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
        }

        .cta-button.secondary {
            background-color: transparent;
            border: 2px solid #e9d30f;
            color: #e9d30f;
        }

        .cta-button:hover {
            background-color: #101113;
            transform: translateY(-3px);
        }

        .cta-button.secondary:hover {
            background-color: #101113;
            color: #ffffff;
        }

        /* About Section */
        #about .about-content {
            display: flex;
            flex-direction: column;
            gap: 40px;
            align-items: center;
        }

        .about-introduction {
            max-width: 800px;
            font-size: 1.1em;
            text-align: center;
            color: #cccccc;
        }

        .about-introduction p {
            margin-bottom: 15px;
        }


        .job-card {
            background-color: #101113;;
            padding: 30px;
            border-radius: 10px;
            margin-bottom: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .job-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
        }

        .job-title {
            font-size: 1.8em;
            color: #ffffff;
            margin-bottom: 5px;
        }

        .company-name {
            font-size: 1.2em;
            color: #cccccc;
            margin-bottom: 10px;
        }

        .job-duration {
            font-size: 1em;
            color: #999999;
            margin-bottom: 15px;
        }

        .job-description ul {
            list-style: none; /* Remove default bullet */
            padding-left: 0;
        }

        .job-description ul li {
            position: relative;
            padding-left: 25px; /* Space for custom bullet */
            margin-bottom: 8px;
            color: #cccccc;
        }

        .job-description ul li::before {
            content: '•'; /* Custom bullet point */
            color: #e9d30f;
            position: absolute;
            left: 0;
            font-size: 1.2em;
            top: 0;
        }

        .cv-download {
            display: inline-block;
            margin-top: 30px;
            padding: 12px 25px;
            background-color: #e9d30f;
            color: #f5f5f5;
            text-decoration: none;
            border-radius: 30px;
            font-size: 1.1em;
            font-weight: 500;
            transition: background-color 0.3s ease, transform 0.2s ease;
        }

        .cv-download:hover {
            background-color: #1b1d16;
            transform: translateY(-2px);;
        }


        .skill-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
        }

        .skill-group {
            background-color: #2a2a2a;
            border: 1px solid #3b3b36;
            border-radius: 12px;
            padding: 20px;
        }

        .skill-group h3 {
            color: #e9d30f;
            font-size: 1.1rem;
            margin-bottom: 16px;
            text-align: center;
        }

        .skill-group-list {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 12px;
        }

        .cell {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            min-width: 82px;
            color: #cccccc;
            text-align: center;
        }

        .cell img {
            width: 64px;
            height: 64px;
            object-fit: contain;
        }

        .cell p {
            font-size: 0.85rem;
        }


        /* Projects Section */
        #projects .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }

        .project-card {
            background-color: #2a2a2a;
            border-radius: 10px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
        }

        .project-card img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            border-bottom: 1px solid #46453e;
        }

        .project-info {
            padding: 25px;
            display: flex;
            flex: 1;
            flex-direction: column;
        }

        .project-info h3 {
            font-size: 1.8em;
            color: #ffffff;
            margin-bottom: 10px;
        }

        .project-info p {
            font-size: 1em;
            color: #cccccc;
            margin-bottom: 20px;
        }

        .project-links {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            margin-top: auto;
            padding-top: 5px;
        }

        .project-link {
            display: inline-block;
            padding: 10px 18px;
            background-color: #e9d30f;
            color: #101113;
            text-decoration: none;
            border-radius: 6px;
            font-size: 0.95em;
            transition: background-color 0.3s ease;
        }

        .project-link:hover {
            background-color: #c8b40d;
        }

        .project-tags {
            margin-top: 15px;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .project-tag {
            background-color: #80661f;
            color: #eee;
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 0.85em;
        }

        /* Contact Section */
        #contact .contact-content {
            display: flex;
            justify-content: space-between;
            gap: 60px;
            flex-wrap: wrap; /* Allows wrapping on smaller screens */
        }

        .personal-details, .contact-form-container {
            flex: 1; /* Allows them to grow and shrink */
            min-width: 0;
        }

        .personal-details {
            background-color: #2a2a2a;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
        }

        .personal-details h3 {
            font-size: 2em;
            color: #e9d30f;
            margin-bottom: 30px;
        }

        .detail-item {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            font-size: 1.1em;
            color: #cccccc;
        }

        .detail-item > i {
            width: 28px;
            margin-right: 12px;
            color: #e9d30f;
            text-align: center;
        }

        .social-links-row {
            gap: 18px;
        }

        .social-links-row a {
            color: #cccccc;
            font-size: 1.4rem;
            transition: color 0.3s ease, transform 0.2s ease;
        }

        .social-links-row a:hover {
            color: #e9d30f;
            transform: translateY(-2px);
        }


        .detail-item a {
            color: #cccccc;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .detail-item a:hover {
            color: #e9d30f;
        }

        .contact-form-container {
            background-color: #2a2a2a;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
        }

        .contact-form-container h3 {
            font-size: 2em;
            color: #e9d30f;
            margin-bottom: 30px;
            text-align: center;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            font-size: 1.1em;
            color: #ffffff;
            margin-bottom: 10px;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 15px;
            background-color: #3a3a3a;
            border: 1px solid #555;
            border-radius: 8px;
            color: #f5f5f5;
            font-size: 1em;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #e9d30f;
            box-shadow: 0 0 0 3px rgba(233, 211, 15, 0.35);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 150px;
        }

        .submit-button {
            display: block;
            width: 100%;
            padding: 15px 30px;
            background-color: #e9d30f;
            color: #ffffff;
            border: none;
            border-radius: 8px;
            font-size: 1.2em;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;
        }

        .submit-button:hover {
            background-color: #101113   ;
            transform: translateY(-2px);
        }

        .nav-button:focus-visible,
        .hamburger:focus-visible,
        .cta-button:focus-visible,
        .project-link:focus-visible,
        .submit-button:focus-visible,
        .cv-download:focus-visible,
        .detail-item a:focus-visible {
            outline: 3px solid #e9d30f;
            outline-offset: 3px;
        }

        /* Footer */
        footer {
            background-color: #2a2a2a;
            padding: 30px 0;
            text-align: center;
            color: #999999;
            font-size: 0.9em;
            border-top: 1px solid #333;
        }

        @media (prefers-reduced-motion: reduce) {
            html {
                scroll-behavior: auto;
            }

            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }


        /* Responsive Design */
        @media (min-width: 768px) {
            .home-content {
                flex-direction: row; /* Horizontal layout for desktop */
                text-align: left;
                justify-content: space-between;
            }

            .home-text {
                text-align: left;
            }

            .home-cta-buttons {
                justify-content: flex-start; /* Align buttons left on desktop */
            }

            /* Adjust About section for larger screens */
            #about .about-content {
                flex-direction: row;
                text-align: left;
                align-items: flex-start;
            }

            .about-introduction {
                text-align: left;
            }

            /* Contact section for larger screens */
            #contact .contact-content {
                flex-wrap: nowrap; /* Prevent wrapping on larger screens */
            }
        }

        @media (max-width: 600px) {
            h2 {
                font-size: clamp(2rem, 10vw, 2.6rem);
                margin-bottom: 36px;
            }

            #home {
                padding: 56px 16px;
            }

            .home-content {
                gap: 28px;
            }

            .home-image {
                width: 280px;
            }

            .home-text h1 {
                font-size: clamp(2rem, 10vw, 3rem);
            }

            .home-text p {
                font-size: 1.05rem;
            }

            .projects-grid {
                gap: 24px;
            }

            .project-info {
                padding: 20px;
            }

            .project-info h3 {
                font-size: 1.45rem;
            }

            .nav-button {
                width: 100%;
                justify-content: flex-start;
            }

            .personal-details,
            .contact-form-container {
                width: 100%;
                padding: 24px;
            }

            #contact .contact-content {
                flex-direction: column;
                gap: 24px;
            }

            #contact .personal-details {
                order: 1;
            }

            #contact .contact-form-container {
                order: 2;
            }

            .nav-links {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 60px;
                right: 20px;
                background: #121310;
                padding: 15px;
                border-radius: 10px;
            }

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

            .hamburger {
                display: block;
            }
        }
