/* =================================================================== */
/*   MODERN STYLE - MoveNext Refonte "geek-pro-tech-fun"
/* =================================================================== */

/* ------------------------------------------------------------------- */
/*  1. Global & Typography
/* ------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;700&family=Inter:wght@400;700&display=swap');

:root {
  --background-color: #18181b;
  --text-color: #e4e4e7; /* zinc-200 */
  --primary-accent: #00ffd7;
  --primary-accent-darker: #00c7a8;
  --card-background: #27272a; /* zinc-800 */
  --border-color: #3f3f46; /* zinc-700 */
  --header-color: #fafafa; /* zinc-50 */
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 70px; /* Space for fixed header */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fira Code', monospace;
    color: var(--header-color);
    font-weight: 700;
}

h1 { font-size: 3.5rem; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 2rem; margin-bottom: 1rem; }
h4 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h5 { font-size: 1.1rem; color: var(--primary-accent); text-transform: uppercase; letter-spacing: 1px; }


p {
    margin-bottom: 1.25rem;
}

a {
    color: var(--primary-accent);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: var(--primary-accent-darker);
}

.accent-color {
    color: var(--primary-accent);
}

/* ------------------------------------------------------------------- */
/*  2. Layout & Helpers
/* ------------------------------------------------------------------- */

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 80px;
    padding-bottom: 80px;
}

section {
    border-bottom: 1px solid var(--border-color);
}
section:last-of-type {
    border-bottom: none;
}

.align-center {
    text-align: center;
}

.main-title h2 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-title .separator {
    margin: 20px auto;
    width: 80px;
    height: 3px;
    background: var(--primary-accent);
    border: 0;
}

.main-title .alttitle {
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Remove old styles */
.separator span, [data-bigletter]:before, .spacer { 
    display: none !important; 
}
#page-loader {
    display: none !important;
}

/* ------------------------------------------------------------------- */
/*  3. Header & Nav
/* ------------------------------------------------------------------- */
#header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(24, 24, 27, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}
#header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%; /* Use percentage for responsive padding */
    max-width: 1100px;
    margin: 0 auto;
}
#logo .logotype {
    font-family: 'Fira Code', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--header-color);
}
#main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}
#main-nav ul a {
    font-family: 'Fira Code', monospace;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}
.open-nav { display: none; } /* Hide old mobile nav elements */


/* ------------------------------------------------------------------- */
/*  4. Hero Section
/* ------------------------------------------------------------------- */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: calc(100vh - 70px); /* Adjust for fixed header */
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    padding: 0 20px;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.1rem, 4vw, 1.5rem); /* Responsive font size */
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 5px;
    font-family: 'Fira Code', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-accent);
    color: var(--background-color);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--primary-accent);
    color: var(--primary-accent);
}

.btn-secondary {
    background-color: transparent;
    color: var(--header-color);
    border-color: var(--border-color);
    margin-left: 15px;
}

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

/* ------------------------------------------------------------------- */
/*  5. Card Layout (Services & Team)
/* ------------------------------------------------------------------- */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
}

.service-card, .team-card {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-basis: 45%; /* Adjust basis for 2-column layout */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card:hover, .team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 255, 215, 0.05);
}

.service-card i {
    margin-bottom: 20px;
}

.service-card h4 {
    margin-bottom: 15px;
}

/* Team Card Specifics */
.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--primary-accent);
    margin-bottom: 25px;
    object-fit: cover;
    align-self: center;
}

.team-title {
    color: var(--text-color);
    font-style: italic;
    margin-top: -10px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.team-tagline {
    font-family: 'Fira Code', monospace;
    font-weight: 700;
    margin-bottom: 20px;
}

.team-bio {
    font-size: 0.95rem;
    flex-grow: 1; /* Allows bio to push footer content down */
}

.team-details {
    text-align: left;
    margin: 20px 0;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}
.team-details h5 {
    margin-bottom: 10px;
}
.team-details ul {
    list-style: none;
    padding-left: 0;
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.team-details ul li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
}
.team-details ul li:before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-accent);
}
.team-details .quote {
    font-style: italic;
    color: var(--text-color);
    border-left: 3px solid var(--primary-accent);
    padding-left: 15px;
    margin-top: 15px;
}


.socialmedia-widget {
    list-style: none;
    padding: 0;
    margin-top: auto; /* Pushes to the bottom */
    padding-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.socialmedia-widget li a {
    color: var(--text-color);
    font-size: 1.5rem;
}
.socialmedia-widget li a:hover {
    color: var(--primary-accent);
}

/* ------------------------------------------------------------------- */
/*  6. Contact Form
/* ------------------------------------------------------------------- */
.contact-form {
    max-width: 700px;
    margin: 50px auto 0 auto;
}
.contact-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    flex: 1;
    min-width: 250px; /* Allow wrapping on small screens */
    background: var(--card-background);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 15px;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-accent);
}
.contact-form textarea {
    resize: vertical;
    width: 100%;
}
.contact-form .form-submit {
    justify-content: center;
    width: 100%;
}
#form-note { display: none; } /* Hide old error message */


/* ------------------------------------------------------------------- */
/*  7. Footer
/* ------------------------------------------------------------------- */
#footer {
    background: var(--card-background);
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
}
#footer .container {
    padding-top: 0;
    padding-bottom: 0;
}
#backtotop {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 38px;
    border-radius: 50%;
    background: var(--primary-accent);
    color: var(--background-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-decoration: none;
}
#backtotop:hover {
    color: var(--background-color);
}
#footer p {
    margin-bottom: 0;
    font-size: 0.9rem;
}
