/* --- 1. VARIABLES & RESET --- */
        :root {
            --color-text-strong: #0F172A; /* Deep Slate */
            --color-text-soft: #475569;   /* Soft Gray */
            --color-bg-alt: #F8FAFC;      /* Pale Gray */
            --color-white: #ffffff;
            --color-primary: #4F46E5;     /* Indigo Blue */
            --color-primary-hover: #4338CA;
            
            --font-main: 'Plus Jakarta Sans', sans-serif;
            
            --container-width: 100%;
            --radius-md: 12px;
            --radius-lg: 16px;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
            --shadow-lg: 0 10px 15px -3px rgba(79, 70, 229, 0.15);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: var(--font-main);
            color: var(--color-text-strong);
            background-color: var(--color-white);
            line-height: 1.6;
        }
        h1{
            font-size:x-large;
        }
        a { text-decoration: none; color: inherit; transition: color 0.2s; }
        ul { list-style: none; }

        /* --- 2. UTILITIES --- */
        .container {
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 0 20px;
        }

        .btn {
            display: inline-block;
            padding: 14px 32px;
            font-weight: 700;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }

        .btn-primary {
            background-color: var(--color-primary);
            color: var(--color-white);
            box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.3);
            border: 2px solid var(--color-primary);
        }

        .btn-primary:hover {
            background-color: var(--color-primary-hover);
            transform: translateY(-2px);
        }

        .btn-secondary {
            background-color: var(--color-white);
            color: var(--color-text-soft);
            border: 2px solid #E2E8F0;
        }

        .btn-secondary:hover {
            border-color: var(--color-primary);
            color: var(--color-primary);
        }

        /* --- 3. NAVIGATION --- */
        .navbar {
            position: sticky;
            top: 0;
            background-color: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid #F1F5F9;
            z-index: 1000;
            padding: 20px 0;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 2rem;
            font-weight: 800;
            letter-spacing: -0.03em;
            color: var(--color-text-strong);
        }

        .nav-links {
            display: flex;
            gap: 40px;
            align-items: center;
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--color-text-soft);
        }

        .nav-links a:hover { color: var(--color-primary); }
        .nav-cta { padding: 10px 24px; font-size: 0.9rem; }

        /* --- 4. HERO SECTION --- */
        .hero {
            padding: 100px 0 80px;
            text-align: center;
            width: 95%;
        }

        .hero h1 {
            font-size: 6rem;
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 24px;
            letter-spacing: -0.02em;
        }

        .hero h1 span { color: var(--color-primary); }

        .hero p {
            font-size: 1.25rem;
            color: var(--color-text-soft);
            max-width: 700px;
            margin: 0 auto 48px;
        }

        .hero-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
        }

        /* --- 5. GRID LAYOUTS (Features & Projects) --- */
        .section-alt { background-color: var(--color-bg-alt); }
        .section-padding { padding: 96px 0; }

        .section-header {
            text-align: center;
            margin-bottom: 64px;
        }

        .section-header h2 { font-size: 2.25rem; font-weight: 700; margin-bottom: 16px; }
        .section-header p { color: var(--color-text-soft); font-size: 1.1rem; }

        .grid-3 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }

        /* Feature Cards */
        .card {
            background: white;
            padding: 32px;
            border-radius: var(--radius-lg);
            border: 1px solid #E2E8F0;
            box-shadow: var(--shadow-sm);
        }

        .icon-box {
            width: 56px;
            height: 56px;
            background-color: #EEF2FF;
            color: var(--color-primary);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 24px;
        }
        
        .icon-box svg { width: 28px; height: 28px; }
        .card h3 { font-size: 1.25rem; margin-bottom: 12px; }
        .card p { color: var(--color-text-soft); font-size: 1rem; }

        /* Project Cards */
        .project-card {
            background: white;
            border-radius: var(--radius-lg);
            border: 1px solid #E2E8F0;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .project-img {
            height: 200px;
            background-color: #E2E8F0;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        
        .project-img img { width: 100%; height: 100%; object-fit: cover; }
        .project-content { padding: 24px; }
        
        .tech-tag {
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--color-primary);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 8px;
            display: block;
        }

        .project-content h3 { font-size: 1.25rem; margin-bottom: 12px; }
        .project-content p { font-size: 0.95rem; color: var(--color-text-soft); margin-bottom: 16px; }
        .project-link { font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 5px; }

        /* --- 6. TECH STACK (Split Layout) --- */
        .split-layout {
            display: flex;
            align-items: center;
            gap: 64px;
        }

        .split-image { flex: 1; height: 400px; background: #F1F5F9; border-radius: 24px; }
        .split-content { flex: 1; }
        .stack-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-weight: 500; }
        .stack-list svg { color: var(--color-primary); width: 24px; }

        /* --- 7. CONTACT FORM --- */
        .form-wrapper {
            max-width: 600px;
            margin: 0 auto;
            background: white;
            padding: 48px;
            border-radius: var(--radius-lg);
            border: 1px solid #E2E8F0;
            box-shadow: var(--shadow-lg);
        }

        /* Styling Django Form Fields */
        .form-group { margin-bottom: 20px; }
        
        label {
            display: block;
            font-weight: 700;
            font-size: 0.9rem;
            margin-bottom: 8px;
            color: var(--color-text-strong);
        }

        /* Apply styles to all inputs generated by Django */
        input[type="text"],
        input[type="email"],
        textarea {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid #CBD5E1;
            border-radius: 8px;
            font-family: inherit;
            font-size: 1rem;
            transition: border 0.2s;
            outline: none;
        }

        input:focus, textarea:focus {
            border-color: var(--color-primary);
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
        }

        .alert {
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-size: 0.9rem;
        }
        .alert-success { background: #DCFCE7; color: #166534; border: 1px solid #BBF7D0; }
        .alert-error { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }

        /* --- 8. FOOTER --- */
        footer {
            background-color: var(--color-text-strong);
            color: white;
            padding: 80px 0 40px;
            text-align: center;
        }
        
        .footer-bottom {
            margin-top: 60px;
            padding-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.1);
            display: flex;
            justify-content: space-between;
            color: #94A3B8;
            font-size: 0.9rem;
        }

        /* --- MOBILE RESPONSIVENESS --- */
        @media (max-width: 768px) {
            .nav-links { display: none; } /* Hide nav links on mobile for simplicity */
            .hero h1 { font-size: 2.5rem; }
            .hero-buttons { flex-direction: column; }
            .split-layout { flex-direction: column; }
            .split-image { width: 100%; }
            .form-wrapper { padding: 24px; }
            .footer-bottom { flex-direction: column; gap: 10px; }
        }