:root {
    --bg-black: #050505;
    --dark-gray: #121212;
    --light-gray: #a0a0a0;
    --vivid-purple: #9d4edd;
    --deep-purple: #320054;
    --text-white: #ffffff;
    --radius: 20px;
}

/* Base Setup */
body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* --- HEADER & LOGO --- */
header {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--deep-purple);
    padding: 15px 50px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-center a {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 8px;
    transition: 0.4s ease;
}

.logo-center a:hover {
    color: var(--vivid-purple);
    text-shadow: 0 0 15px var(--vivid-purple), 0 0 30px var(--deep-purple);
    letter-spacing: 12px;
}

/* Navigation Links (Desktop) */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--light-gray);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--vivid-purple); text-shadow: 0 0 8px var(--vivid-purple); }

/* Hamburger Button */
.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 2001;
}

.bar { width: 28px; height: 3px; background: white; transition: 0.3s; }

/* --- HERO SECTION --- */
.hero {
    text-align: center;
    padding: 100px 20px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    background: linear-gradient(to right, #fff, var(--vivid-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

/* --- GRID & ANIMATED SQUARES --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.card {
    background: var(--dark-gray);
    border-radius: var(--radius);
    height: 280px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.aboutus-card {
    background: var(--dark-gray);
    border-radius: var(--radius);
    height: 150px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 10px solid #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.card:hover { transform: translateY(-10px); border-color: var(--vivid-purple); box-shadow: 0 10px 30px rgba(157, 78, 221, 0.2); }

.card-content .logo-placeholder { font-size: 50px; margin-bottom: 15px; }
.card h3 { color: var(--vivid-purple); margin: 10px 0; }
.card p { color: var(--light-gray); font-size: 0.9rem; margin: 0; }

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--deep-purple), var(--vivid-purple));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    clip-path: circle(0% at 50% 50%);
    transition: 0.5s ease-in-out;
}

.card:hover .overlay { opacity: 1; clip-path: circle(150% at 50% 50%); }

.overlay span { font-weight: 800; text-transform: uppercase; }
.arrow { font-size: 2.5rem; animation: float 2s infinite ease-in-out; }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .menu-btn { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0; left: -100%;
        width: 100%; height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .nav-menu.active { left: 0; }

    .nav-links { flex-direction: column; gap: 40px; }
    .nav-links a { font-size: 2.2rem; color: white; }

    .menu-btn.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); background: var(--vivid-purple); }
    .menu-btn.active .bar:nth-child(2) { opacity: 0; }
    .menu-btn.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background: var(--vivid-purple); }

    .grid-container { grid-template-columns: 1fr; }
    .logo-center { position: absolute; left: 50%; transform: translateX(-50%); }
    .logo-center a { font-size: 1.5rem; letter-spacing: 4px; }
}

/* --- PROJECTS PAGE SPECIFIC --- */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.project-hero {
    text-align: left;
    border-left: 4px solid var(--vivid-purple);
    padding-left: 20px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease;
}

.project-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-article {
    background: var(--dark-gray);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid #222;
    transition: border-color 0.3s ease;
}

.project-article:hover {
    border-color: var(--vivid-purple);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.project-header h2 {
    color: var(--vivid-purple);
    margin: 0;
}

.status-badge {
    background: var(--deep-purple);
    color: var(--vivid-purple);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid var(--vivid-purple);
}

.status-badge.beta {
    background: #444;
    color: #fff;
    border-color: #666;
}

.update-log {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.update-log h3 {
    font-size: 1rem;
    color: var(--light-gray);
    margin-bottom: 10px;
}

.update-log ul {
    list-style: none;
    padding: 0;
}

.update-log li {
    color: var(--light-gray);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.update-log li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--vivid-purple);
}

@media (max-width: 768px) {
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* --- ABOUT US PAGE SPECIFIC --- */

.about-hero {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease;
}

.about-hero .tagline {
    font-style: italic;
    color: var(--vivid-purple);
    font-size: 1.2rem;
    margin-top: 10px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.about-card {
    background: var(--dark-gray);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid #222;
    transition: 0.3s;
}

.about-card:hover {
    border-color: var(--vivid-purple);
    transform: translateY(-5px);
}

.icon-header {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-card h2 {
    color: var(--vivid-purple);
    margin-top: 0;
}

.values-section {
    background: linear-gradient(135deg, rgba(50, 0, 84, 0.2), transparent);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--deep-purple);
}

.values-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.values-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.values-list li {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--vivid-purple);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* --- SERVICES PAGE SPECIFIC --- */

.services-hero {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background: var(--dark-gray);
    padding: 40px 30px;
    border-radius: var(--radius);
    border: 1px solid #222;
    text-align: center;
    transition: all 0.4s ease;
}

.service-item:hover {
    border-color: var(--vivid-purple);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(157, 78, 221, 0.1);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.service-item h2 {
    color: var(--vivid-purple);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.service-item p {
    color: var(--light-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
    display: inline-block;
}

.service-features li {
    color: var(--text-white);
    font-size: 0.9rem;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.service-features li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--vivid-purple);
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* --- CONTACT PAGE SPECIFIC --- */

.contact-hero {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--dark-gray);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid #222;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    border-color: var(--vivid-purple);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(157, 78, 221, 0.1);
}

/* Specific styling for the complaint card */
.contact-card.formal:hover {
    border-color: #ff4d4d; /* Subtle red hint for formal issues */
    box-shadow: 0 10px 25px rgba(255, 77, 77, 0.1);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-card h2 {
    color: var(--vivid-purple);
    margin-bottom: 15px;
}

.contact-card.formal h2 {
    color: var(--text-white); /* Keep the formal side a bit more neutral */
}

.contact-link {
    margin-top: 20px;
    color: var(--vivid-purple);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 10px 20px;
    border: 1px solid var(--vivid-purple);
    border-radius: 10px;
    transition: 0.3s;
}

.contact-link:hover {
    background: var(--vivid-purple);
    color: var(--text-white);
}

.response-notice {
    text-align: center;
    color: var(--light-gray);
    font-size: 0.9rem;
    max-width: 600px;
    margin: 40px auto 0;
    padding: 20px;
    border-top: 1px solid #222;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}