/* Variables & Reset */
:root {
    --emerald: #8ce037;
    --dark: #0f172a;
    --slate-950: #020617;
    --grey: #64748b;
    --bg-light: #f8fafc;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #ffffff;
    color: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Hero Container Adjustment */
.hero {
    position: relative;
    padding: 220px 0 140px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    overflow: hidden; 
    min-height: 800px;
    display: flex;
    align-items: center;
    /* This pushes the content to the left side */
    justify-content: flex-start; 
}

.hero-content {
    position: relative;
    z-index: 100;
    width: 100%;
    display: flex;
    /* Forces the text block to stay on the left */
    justify-content: flex-start; 
}


/* Container for the Interactive Net */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 1; /* Behind text */
    pointer-events: all; /* Allows mouse interaction */
}

.hero {
    position: relative;
    padding: 220px 0 140px 0;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 10; /* Ensures text is clickable over the particles */
    pointer-events: none; /* Allows mouse to "pass through" to particles below */
}

.hero-text {
    pointer-events: all; /* Re-enables clicking on buttons/links in text */
}

/* Masking the particles so they only show on the right side */
#particles-js {
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
}
/* Ensure the text is still above the image if needed */
.hero-content {
    position: relative;
    z-index: 100;
}

/* Optional: Animation to make it feel premium */


.container {
    margin: 0 auto;
    /* Fixed Width as requested */
    width: 917px;
    
    /* Max-width ensures it doesn't break on screens smaller than 917px */
    max-width: 100%; 
    
    /* Professional padding for mobile safety */
    padding: 0 20px; 
    
}

/* Slim Navbar with Big Logo */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f1f5f9;
    padding: 10px 0; /* Reduced height */
}

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

.logo img {
    height: 80px; /* Bigger Logo */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--grey);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--dark);
}

.nav-links a.contact-trigger-line {
    color: var(--emerald);
    border-left: 1px solid #e2e8f0;
    padding-left: 20px;
}

/* Hero Section */
.hero-text {
    /* Aligns the children (tag, title, desc) to the left */
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    text-align: left;
    max-width: 800px;
}

.mono-tag {
    font-family: 'JetBrains Mono', monospace;
    color: var(--emerald);
    font-size: 12px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 30px;
    margin-top: 20px;
    /* Explicitly left */
    text-align: left;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.04em;
    margin-bottom: 40px;
    /* Explicitly left */
    text-align: left;
}

.accent-text {
    color:  var(--emerald);;
    font-style: italic;
}

.hero-desc {
    max-width: 600px;
    font-size: 20px;
    color: var(--grey);
    font-weight: 300;
    /* Removes any auto-centering */
    text-align: left;
    margin-left: 0;
}

/* Dark Section (Expertise) */
.dark-section {
    background-color: var(--slate-950);
    color: #ffffff;
    padding: 120px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 60px;
    line-height: 0.9;
}

.section-header p {
    max-width: 300px;
    color: #94a3b8;
}

.expertise-item {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: 80px 1fr 2fr;
    align-items: center;
    transition: all 0.4s ease;
}

.expertise-item:hover {
    background: rgba(16, 185, 129, 0.05);
    padding-left: 20px;
    border-bottom-color: var(--emerald);;
}

.mono-num {
    font-family: 'JetBrains Mono', monospace;
    color: var(--emerald);;
}

.expertise-item h3 {
    font-size: 32px;
}

.expertise-item p {
    color: #94a3b8;
    max-width: 500px;
}

/* Contact Section */
.contact-section {
    padding: 140px 0;
    background-color: #ffffff;
}

.contact-title {
    font-size: 80px;
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: 80px;
}

.contact-form {
    max-width: 800px;
}

.form-row {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    color: var(--grey);
    letter-spacing: 0.2em;
}

.form-group input, .form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 2px solid #f1f5f9;
    padding: 15px 0;
    outline: none;
    font-size: 18px;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--emerald);
}

.btn-primary {
    background: var(--emerald);;
    color: white;
    border: none;
    padding: 20px 40px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    cursor: pointer;
    margin-top: 40px;
}

.form-actions {
    display: flex;
    justify-content: flex-end; /* Aligns content to the right */
    width: 100%;
    margin-top: 20px; /* Optional spacing */
}

/* Expertise Page Specifics */
.expertise-page {
    background-color: #ffffff;
}

.page-header {
    padding: 200px 0 100px 0;
    border-bottom: 1px solid #f1f5f9;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 Grid */
    gap: 0; /* Wegg-style flush borders */
    border-left: 1px solid #f1f5f9;
    border-top: 1px solid #f1f5f9;
}

.grid-card {
    padding: 80px;
    border-right: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.5s ease;
    background: #fff;
}

.grid-card:hover {
    background: #fafafa;
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #e2e8f0;
    border-radius: 50%;
    transition: background 0.4s;
}

.grid-card:hover .status-dot {
    background: var(--emerald);
    box-shadow: 0 0 10px var(--emerald);
}

.grid-card h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.grid-card p {
    color: var(--grey);
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 400px;
}

.spec-list {
    list-style: none;
    padding-top: 30px;
    border-top: 1px solid #f1f5f9;
}

.spec-list li {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--emerald);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.spec-list li::before {
    content: '→';
    margin-right: 10px;
}


/* Mobile Responsiveness */
@media (max-width: 992px) {
    .grid-layout {
        grid-template-columns: 1fr;
    }
    .grid-card {
        padding: 40px;
    }
}

/* About Page Specifics */
.about-page {
    background: #ffffff;
}

.about-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 85px; /* Adjust for navbar */
}

/* Fixed Visual Left Side */
.about-visual {
    width: 45%;
    position: sticky;
    top: 85px;
    height: calc(100vh - 85px);
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    padding: 150px;
    border-right: 1px solid #f1f5f9;
}

.visual-title {
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 0.85;
    margin: 40px 0;
    letter-spacing: -0.04em;
}

.experience-badge {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
}

.big-num {
    font-size: 64px;
    font-weight: 800;
    color: var(--emerald);
    line-height: 1;
}

.small-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--grey);
}

/* Scrolling Narrative Right Side */
.about-narrative {
    width: 55%;
    padding: 100px 100px 100px 80px;
}

.narrative-block {
   margin-bottom:16px; 
}

.lead-text {
    font-size: 28px;
    font-weight: 300;
    line-height: 1.4;
    color: var(--dark);
    margin-bottom: 30px;
}

.narrative-block p {
    font-size: 18px;
    color: var(--grey);
}

.highlight-box {
    background: var(--slate-950);
    color: #fff;
    padding: 80px;
    margin-left: -120px; /* Overlap effect like Wegg */
    position: relative;
    z-index: 10;
}

.highlight-box h3 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.3;
    font-style: italic;
}

.principles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

.principle h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--dark);
}

.footer-redirect {
    padding-top: 15px;
    text-align: left;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .about-layout {
        flex-direction: column;
    }
    .about-visual, .about-narrative {
        width: 100%;
        position: relative;
        top: 0;
        height: auto;
        padding: 60px 40px;
    }
    .highlight-box {
        margin-left: 0;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .hero-watermark {
        opacity: 0.2; /* Lower opacity on mobile so text remains readable */
        width: 80%;
        right: -20%;
    }
}

/* Footer */
.footer {
    padding: 80px 0;
    border-top: 1px solid #f1f5f9;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    text-decoration: none;
    color: inherit;
}