/* Basic Reset & Global Styles - Jony Ive Inspired */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; /* Prioritize system fonts */
    background-color: #0A0A0A; /* Near black */
    color: #CCCCCC; /* Light grey for body text */
    line-height: 1.7;
    font-size: 17px; /* Slightly larger base font */
    position: relative; /* Needed for z-index stacking */
    overflow-x: hidden; /* Prevent potential horizontal scroll */
}

/* tsParticles Container Styling */
#tsparticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Place behind all other content */
    pointer-events: none; /* Make it non-interactive */
    background-color: #0A0A0A; /* Ensure container background matches body */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #FFFFFF; /* Pure white for headings */
    margin-bottom: 0.7em;
    line-height: 1.3;
    font-weight: 600; /* Slightly bolder default */
}

h1 { font-size: 3rem; font-weight: 700; letter-spacing: -0.5px; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.4rem; font-weight: 500; }

a {
    color: #E0E0E0; /* Lighter grey for links */
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: #FFFFFF; /* White on hover */
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Remove extra space below images */
}

section {
    padding: 80px 40px; /* Increased padding */
}

.container {
    max-width: 1000px; /* Slightly narrower container */
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.main-header {
    background-color: rgba(10, 10, 10, 0.85); /* Slightly transparent near-black */
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px); /* Subtle blur effect */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* Very subtle border */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px; /* Wider navbar container */
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem; /* Slightly smaller logo */
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 35px; /* Increased spacing */
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #B0B0B0; /* Slightly dimmer nav links */
    transition: color 0.2s ease-in-out;
}

.nav-links a:hover,
.nav-links a.active {
    color: #FFFFFF; /* White on hover/active */
}

/* Hero Section */
.hero {
    min-height: 60vh; /* Reduced height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #0a0a0a1a; /* Match body background */
    padding: 80px 40px;
}

.hero-content h1 {
    margin-bottom: 25px;
    font-size: 3.5rem; /* Slightly larger for impact */
    font-weight: 700;
    letter-spacing: -1px;
    /* Shiny/Polished Effect */
    background: linear-gradient(180deg, #FFFFFF 60%, #B0B0B0 100%); /* White to light grey gradient */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; /* Make the text color transparent to show gradient */
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.1), /* Subtle top highlight */
                 0px -1px 1px rgba(0, 0, 0, 0.3); /* Subtle bottom shadow for depth */
}

.hero-content p {
    font-size: 1.25rem; /* Slightly larger hero text */
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    color: #B0B0B0; /* Dimmer hero paragraph */
    line-height: 1.6;    
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: #FFFFFF; /* White background */
    color: #0A0A0A; /* Black text */
    padding: 14px 30px; /* Larger padding */
    border-radius: 8px; /* More rounded */
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: none; /* No uppercase */
    letter-spacing: 0;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, transform 0.1s ease;
    border: 1px solid #FFFFFF; /* White border */
    cursor: pointer;
    margin-top: 10px;
}

.cta-button:hover {
    background-color: #0A0A0A; /* Black background on hover */
    color: #FFFFFF; /* White text on hover */
    transform: scale(1.02); /* Slight scale effect */
}

.cta-button.secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.5); /* Subtle white border */
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Slight white background */
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.02);
}

/* Content Sections (Value Prop, Services Snippet, Experience Teaser) */
.value-prop,
.services-snippet,
.experience-teaser {
    text-align: center;
    padding: 100px 40px; /* Increased padding */
}

.value-prop h2,
.services-snippet h2,
.experience-teaser h2 {
    margin-bottom: 20px;
}

.value-prop p,
.services-snippet p, /* Target general paragraphs if needed */
.experience-teaser p {
    max-width: 700px;
    margin: 0 auto 30px auto; /* Center text block */
    color: #B0B0B0;
    font-size: 1.1rem;
}

/* Simplified Service Cards */
.service-cards {
    display: grid; /* Use grid for better alignment */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive columns */
    gap: 50px; /* Increased gap */
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: left; /* Align card text left */
}

.card {
    background-color: transparent; /* No card background */
    padding: 0; /* No padding */
    border: none; /* No border */
    box-shadow: none; /* No shadow */
    transition: none; /* No hover transform */
}

.card:hover {
    transform: none;
    box-shadow: none;
}

.card h3 {
    color: #FFFFFF; /* White card titles */
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.card p {
    margin-bottom: 15px;
    color: #A0A0A0; /* Dimmer card text */
    font-size: 1rem;
    line-height: 1.6;
}

.card a {
    font-weight: 500;
    color: #FFFFFF; /* White link */
    font-size: 0.95rem;
}
.card a:hover {
    text-decoration: underline; /* Simple underline on hover */
}


/* Footer */
.main-footer {
    background-color: #0A0A0A;
    color: #888888; /* Dimmer footer text */
    text-align: center;
    padding: 50px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08); /* Subtle border */
    margin-top: 80px; /* Space above footer */
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-links li {
    margin: 0 20px;
}

.footer-links a {
    color: #A0A0A0;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.main-footer p {
    font-size: 0.85rem;
}

/* Page Specific Styles (Services, About, Contact) */
.page-title {
    background-color: #0A0A0A;
    padding: 60px 40px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-title h1 {
    margin-bottom: 15px;
}

.page-title p {
    font-size: 1.1rem;
    color: #B0B0B0;
    max-width: 600px;
    margin: 0 auto;
}

.service-detail {
    padding: 80px 40px;
    text-align: left;
}

.service-detail h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #FFFFFF;
}

.service-detail p,
.service-detail ul { /* Target paragraphs and lists */
    max-width: 750px;
    margin: 0 auto 20px auto; /* Center content block */
    color: #CCCCCC;
    font-size: 1.1rem; /* Slightly larger detail text */
    line-height: 1.8; /* More line height */
}
.service-detail ul {
    list-style: disc; /* Use standard disc */
    padding-left: 25px; /* Indent list */
}
.service-detail li {
    margin-bottom: 10px;
}
.service-detail strong {
    color: #FFFFFF;
    font-weight: 600;
}


.alt-bg {
    background-color: #111111; /* Slightly lighter black for separation */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-section {
    background-color: #111111;
    padding: 80px 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-section h2 {
    color: #FFFFFF;
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 30px;
    color: #B0B0B0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Page Specific Styles */
.contact-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px; /* Increased gap */
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.contact-details,
.contact-form-container {
    flex-basis: calc(50% - 30px);
    min-width: 300px;
}

.contact-details h2,
.contact-form-container h2 {
    color: #FFFFFF;
    margin-bottom: 25px;
    text-align: left;
    font-size: 1.5rem;
}

.contact-details ul {
    list-style: none;
    padding-left: 0;
}

.contact-details li {
    margin-bottom: 18px;
    font-size: 1.05rem;
    color: #B0B0B0;
}

.contact-details li strong {
    color: #FFFFFF;
    margin-right: 10px;
    font-weight: 500;
}
.contact-details a {
    color: #CCCCCC;
}
.contact-details a:hover {
    color: #FFFFFF;
}


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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    color: #A0A0A0;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 15px; /* Increased padding */
    background-color: #181818; /* Darker input background */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
    border-radius: 6px;
    color: #E0E0E0;
    font-size: 1rem;
    transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5); /* Brighter border on focus */
    background-color: #1F1F1F; /* Slightly lighter background on focus */
}

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

#contact-form button {
    margin-top: 10px; /* Add space above button */
    width: 100%; /* Make button full width */
}

#form-status {
    margin-top: 20px;
    font-weight: 500;
    font-size: 0.95rem;
}


/* Responsive Design */
@media (max-width: 768px) {
    body { font-size: 16px; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    section { padding: 60px 20px; }

    .navbar { padding: 0 20px; flex-direction: column; align-items: flex-start; }
    .logo { margin-bottom: 15px; }
    .nav-links { /* Needs JS for toggle */ display: none; flex-direction: column; width: 100%; }
    .nav-links li { margin: 10px 0; text-align: left; }

    .hero { padding: 60px 20px; min-height: auto; }
    .hero-content p { font-size: 1.1rem; }

    .service-cards { grid-template-columns: 1fr; gap: 40px; } /* Stack cards */
    .card { text-align: center; } /* Center card content */
    .card p { max-width: 90%; margin-left: auto; margin-right: auto; }

    .contact-flex { flex-direction: column; gap: 40px; }
    .contact-details, .contact-form-container { flex-basis: 100%; }
}