/* --- Global Styles & Variables --- */
:root {
    --bg-color: #0A0A1A;
    --primary-color: #00f2fe;
    --secondary-color: #ff00c1;
    --text-color: #e0e0e0;
    --text-muted: #a0a0c0;
    --glass-bg: rgba(22, 22, 44, 0.5);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(0, 242, 254, 0.05), transparent 40%),
        radial-gradient(circle at 50% 100%, rgba(255, 0, 193, 0.05), transparent 40%);
    color: var(--text-color);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* --- Animated Background Blobs --- */
@keyframes moveBlob {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30vw, -40vh) scale(1.2); }
    50% { transform: translate(-20vw, 20vh) scale(0.8); }
    75% { transform: translate(10vw, 50vh) scale(1.1); }
    100% { transform: translate(0, 0) scale(1); }
}

#blob-container {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; overflow: hidden; z-index: -1;
}
#blob-container::before, #blob-container::after {
    content: ''; position: absolute; width: 40vw; height: 40vw; max-width: 500px; max-height: 500px;
    border-radius: 50%; filter: blur(120px); opacity: 0.4; z-index: -1;
}
#blob-container::before {
    background: radial-gradient(circle, var(--primary-color), transparent 60%); top: 10vh; left: 10vw;
    animation: moveBlob 30s infinite alternate ease-in-out;
}
#blob-container::after {
    background: radial-gradient(circle, var(--secondary-color), transparent 60%); bottom: 10vh; right: 10vw;
    animation: moveBlob 25s infinite alternate-reverse ease-in-out;
}

/* --- Typography & Links --- */
h1, h2, h3, h4 { font-family: var(--font-secondary); font-weight: 700; line-height: 1.2; }
h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-fill-color: transparent;
}
h2 { font-size: clamp(2.2rem, 4vw + 1rem, 3.2rem); color: var(--text-color); text-align: center; margin-bottom: 3rem; }
h4 { color: #fff; font-size: 1.15rem; margin-bottom: 0.5rem; }
a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--secondary-color); }

/* --- Buttons --- */
.cta-button {
    display: inline-block; padding: 14px 32px; font-family: var(--font-primary); font-weight: 600; font-size: 1rem;
    color: #fff; background-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border: none; border-radius: 50px; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase; letter-spacing: 1.5px;
}
.cta-button:hover, .cta-button:focus {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 242, 254, 0.2), 0 8px 10px rgba(255, 0, 193, 0.2);
}

/* --- Header & Navigation --- */
header { min-height: 100vh; display: flex; flex-direction: column; position: relative; padding: 0 5%; }
.navbar {
    display: flex; justify-content: space-between; align-items: center; width: 100%;
    position: absolute; top: 0; left: 0; padding: 20px 5%; z-index: 1000;
}
.nav-logo { font-size: 1.5rem; font-weight: 700; color: #fff; }
.nav-menu { display: flex; list-style: none; gap: 30px; }
.nav-link { color: var(--text-muted); font-weight: 600; transition: color 0.3s ease; }
.nav-link:hover, .nav-link.active { color: #fff; }
.special-link { color: var(--primary-color); border: 1px solid var(--primary-color); padding: 5px 15px; border-radius: 20px; transition: all 0.3s ease; }
.special-link:hover { background-color: var(--primary-color); color: var(--bg-color); }
.hamburger { display: none; cursor: pointer; background: none; border: none; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: #fff; transition: all 0.3s ease-in-out; }
.hero-section {
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    flex-grow: 1; padding: 100px 0;
}
.hero-section p { max-width: 650px; margin: 1.5rem 0 2rem; color: var(--text-muted); font-size: 1.1rem; }

/* --- Content Sections --- */
.content-section { padding: 120px 5%; max-width: 1200px; margin: 0 auto; }

/* --- NEW About Section --- */
.about-container-v2 {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}
.mission-statement {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.mission-statement p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.mission-statement p.philosophy {
    font-style: italic;
    margin-top: 1.5rem;
    color: var(--primary-color);
}
.mission-statement strong {
    font-weight: 600;
    color: var(--text-color);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 30, 60, 0.7);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.service-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}
.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Portfolio "Glass" Cards --- */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card {
    background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 15px; padding: 30px;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex; flex-direction: column;
}
.card:hover { 
    transform: translateY(-10px); box-shadow: 0 10px 40px rgba(0, 242, 254, 0.2); border-color: rgba(0, 242, 254, 0.5); 
}
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; color: var(--primary-color); }
.card h3 { margin-bottom: 0.5rem; font-size: 1.2rem; color: #fff; line-height: 1.4; }
.card p { color: var(--text-muted); flex-grow: 1; margin-bottom: 1.5rem; }
.card a { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.card a i { transition: transform 0.3s ease; }
.card a:hover i { transform: translateX(5px); }

/* --- FIXED Contact Form --- */
#contact-form { max-width: 700px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 25px; }
.section-subtitle { text-align: center; margin: -3rem auto 2.5rem; color: var(--text-muted); max-width: 600px; }
.form-group {
    position: relative;
    width: calc(50% - 12.5px);
    display: flex;
    flex-direction: column;
}
.form-group.full-width { width: 100%; }
.form-group label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}
.form-group input, .form-group textarea {
    width: 100%; padding: 15px; background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: 8px; color: var(--text-color); font-size: 1rem; transition: all 0.3s ease;
    font-family: var(--font-primary);
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: #6a6a8a;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary-color); background: rgba(30, 30, 60, 0.7);
}
.form-group:focus-within label {
  color: var(--primary-color);
}
#contact-form button { margin: 10px auto 0; }
#form-status { width: 100%; text-align: center; margin-top: 20px; min-height: 24px; font-weight: 600; }
.success { color: #00ffaa; }
.error { color: #ff4d4d; }

/* --- Footer --- */
footer {
    padding: 50px 5%; background-color: #050510; text-align: center;
    margin-top: 80px; border-top: 1px solid var(--glass-border);
}
.footer-links { margin: 10px 0; }
.footer-links a { margin: 0 10px; color: var(--text-muted); }
.social-icons { margin-top: 20px; }
.social-icons a { font-size: 1.5rem; color: var(--text-muted); margin: 0 15px; transition: color 0.3s ease, transform 0.3s ease; }
.social-icons a:hover { color: var(--primary-color); transform: scale(1.2); }

/* --- Scroll Animations --- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.fade-in-up { animation: fadeInUp 0.8s ease forwards; opacity: 0; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .content-section { padding: 80px 5%; }
    .nav-menu {
        position: fixed; left: -100%; top: 0; flex-direction: column; justify-content: center; align-items: center;
        gap: 40px; background-color: rgba(10, 10, 30, 0.98); width: 100%; height: 100vh;
        text-align: center; transition: left 0.3s ease; z-index: 999;
    }
    .nav-menu.active { left: 0; }
    .nav-item { margin: 16px 0; }
    .nav-link { font-size: 1.5rem; }
    .hamburger { display: block; z-index: 1001; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .form-group { width: 100%; }
}
