:root {
            --primary: #cc682e; /* Green accent from NOCMA/AgriTech projects */
            --dark: #1e1e24;    /* Dark background */
            --darker: #110614;  /* Section background */
            --light: #f4f4f9;   /* Text color */
            --gray: #a8a8b3;    /* Subtext color */
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'roboto', sans-serif;
            background-color: var(--dark);
            background-image: image-set(src="img/bg.jpg");
            color: var(--light);
            line-height: 1.6;
            overflow-x: hidden;
        }

        a { text-decoration: none; color: inherit; }
        ul { list-style: none; }

        /* --- NAVIGATION --- */
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem 5%;
            background-color: var(--darker);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .nav-links { display: flex; gap: 2rem; }
        .nav-links a { font-size: 0.9rem; font-weight: 500; transition: var(--transition); }
        .nav-links a:hover { color: var(--primary); }

        /* --- HERO SECTION --- */
        .hero {
            height: 90vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 0 20px;
            background: linear-gradient(rgba(30,30,36,0.5), rgba(30,30,36,0.5)), url('img/bg.jpg'); 
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
        }

        .hero h1 span { color: var(--primary); }
        
        .hero p {
            font-size: 1.2rem;
            color: var(--gray);
            max-width: 600px;
            margin-bottom: 2rem;
        }

        .btn {
            padding: 12px 30px;
            background-color: var(--primary);
            color: var(--darker);
            font-weight: 600;
            border-radius: 5px;
            transition: var(--transition);
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
        }

        /* --- SERVICES SECTION (Requested) --- */
        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            position: relative;
        }

        .section-title::after {
            content: '';
            width: 60px;
            height: 4px;
            background-color: var(--primary);
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }

        .services { padding: 5rem 10%; background-color: var(--darker); }
        
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .service-card {
            background-color: var(--dark);
            padding: 2rem;
            border-radius: 10px;
            text-align: center;
            transition: var(--transition);
            border: 1px solid rgba(255,255,255,0.05);
        }

        .service-card:hover {
            transform: translateY(-10px);
            border-color: var(--primary);
        }

        .service-card i {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
        }

        .service-card h3 { margin-bottom: 1rem; }
        .service-card p { font-size: 0.9rem; color: var(--gray); }

        /* --- SKILLS OVERVIEW --- */
        .skills { padding: 4rem 10%; background-color: var(--dark); }
        .skill-tags {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
        }
        
        .tag {
            background-color: var(--darker);
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.9rem;
            border: 1px solid var(--primary);
            color: var(--light);
        }

        /* --- PORTFOLIO (WEB) --- */
        .portfolio { padding: 5rem 10%; background-color: var(--darker); }
        
        .project-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
        }

        .project-card {
            background-color: var(--dark);
            border-radius: 10px;
            overflow: hidden;
            transition: var(--transition);
        }

        .project-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            background-color: #333; /* Placeholder color */
        }

        .project-info { padding: 1.5rem; }
        .project-info h3 { margin-bottom: 0.5rem; color: var(--primary); }
        .project-info .role { font-size: 0.8rem; font-weight: 700; color: #fff; margin-bottom: 1rem; display: block;}
        .project-info p { font-size: 0.9rem; color: var(--gray); margin-bottom: 1rem; }
        .tech-stack { font-size: 0.8rem; color: var(--primary); }

        /* --- GRAPHIC DESIGN GALLERY --- */
        .graphics { padding: 5rem 10%; background-color: var(--dark); }
        
        .design-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1rem;
        }


        .design-item {
            height: 250px;
            background-color: #dadada; /* Fill extra space with #dadada */
            border-radius: 8px;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .design-item img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            display: block;
            margin: auto;
            background: transparent;
            position: relative;
            z-index: 1;
        }

        .design-item:hover .overlay { opacity: 1; }
        
        .overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(46, 204, 113, 0.9);
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: var(--transition);
            color: var(--darker);
            font-weight: bold;
            text-align: center;
            padding: 1rem;
        }

        /* --- CONTACT --- */
        footer {
            padding: 4rem 10%;
            background-color: var(--darker);
            text-align: center;
            border-top: 1px solid rgba(255,255,255,0.1);
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-bottom: 2rem;
            font-size: 1.1rem;
        }

        .socials { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 2rem; }
        .socials a {
            font-size: 1.5rem;
            color: var(--gray);
            transition: var(--transition);
        }
        .socials a:hover { color: var(--primary); }

        /* --- RESPONSIVE --- */
        @media (max-width: 1024px) {
            .project-grid, .design-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 768px) {
            .hero h1 { font-size: 2.5rem; }
            .nav-links { display: none; } /* Simplified for this snippet */
            .services-grid, .project-grid { grid-template-columns: 1fr; }
            .design-grid { grid-template-columns: repeat(2, 1fr); }
        }