/* --- Generated Color Palette --- */
:root {
    --bg-primary: #1A1A3A;
    --bg-card: #2A2A4A;
    --accent-magenta: #D9008B;
    --accent-cyan: #00C9FF;
    --text-primary: #FFFFFF;
    --text-secondary: #E892D4;
    --detail-gray: #B0B9C2;
    --gradient: linear-gradient(90deg, var(--accent-magenta), var(--accent-cyan));
}

/* --- Base & Typography --- */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    line-height: 1.2;
    font-weight: 600;
}

h1 { font-size: 3.5rem; color: var(--text-primary); }
h2.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}
h2.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

p { font-weight: 300; max-width: 650px; }
a { color: var(--accent-cyan); text-decoration: none; }

/* --- Header & Navigation --- */
.main-header {
    background-color: rgba(26, 26, 58, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(176, 185, 194, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* CHANGE: Added style for the new text logo in the nav bar */
.logo-text {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-magenta);
}

/* --- Hero Section --- */
.hero {
    /* CHANGE: Increased min-height to give the large logo space */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center; /* CHANGE: Added for better vertical centering */
    text-align: center;
    background-image: radial-gradient(circle at top right, rgba(217, 0, 139, 0.1), transparent 40%),
    radial-gradient(circle at bottom left, rgba(0, 201, 255, 0.1), transparent 40%);
    padding-top: 60px; /* CHANGE: Added padding to prevent content from hitting the sticky header */
    box-sizing: border-box;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* CHANGE: Added styles for the large hero logo */
.hero-logo {
    max-width: 350px;
    width: 80%; /* Ensures it scales down on smaller screens */
    height: auto;
    margin-bottom: 2rem;
    animation: float 6s ease-in-out infinite;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 1rem 0 2rem 0;
}
.cta-button {
    display: inline-block;
    background: var(--gradient);
    color: var(--text-primary);
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* --- CHANGE: Added Keyframes for the floating animation --- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}


/* --- Services Section --- */
.services-section {
    padding: 80px 0;
    background-color: var(--bg-card);
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background-color: var(--bg-primary);
    padding: 35px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
}
.service-card h3 {
    color: var(--text-secondary);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4rem;
}
.service-card p {
    color: var(--detail-gray);
    font-size: 0.95rem;
}

/* --- About Section --- */
.about-section {
    padding: 80px 0;
}
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}
.about-text { flex: 1; }
.about-text .section-title { text-align: left; }
.about-text .section-title::after { left: 0; transform: translateX(0); }
.about-text p { max-width: 100%; }
.about-image { flex: 0 0 40%; text-align: center; }
.about-image img { max-width: 80%; opacity: 0.5; }

/* --- Contact CTA --- */
.contact-cta {
    padding: 80px 0;
    text-align: center;
    background-color: var(--bg-card);
}
.contact-cta .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-cta h2 { font-size: 2.5rem; }
.contact-cta p { color: var(--text-secondary); margin: 1rem 0 2rem 0; }

/* --- Footer --- */
.main-footer {
    background-color: #000;
    color: var(--detail-gray);
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
}

/* --- Responsiveness --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; } /* CHANGE: slightly smaller h1 for mobile */
    h2.section-title { font-size: 2rem; }

    nav { flex-direction: column; gap: 1rem; }

    /* CHANGE: Adjusted hero for mobile */
    .hero { min-height: 80vh; }
    .hero-logo { max-width: 250px; }

    .about-content {
        flex-direction: column;
        text-align: center;
    }
    .about-text .section-title { text-align: center; }
    .about-text .section-title::after { left: 50%; transform: translateX(-50%); }
    .about-image { margin-top: 30px; }
}