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

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
        Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Canvas background */
#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    filter: blur(0.5px);
}

header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #e94560;
}

.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow:
        0 0 20px rgba(233, 69, 96, 0.5),
        0 0 40px rgba(233, 69, 96, 0.3),
        0 0 60px rgba(233, 69, 96, 0.2);
    animation: glow 2s ease-in-out infinite alternate;
    text-align: center;
}

@keyframes glow {
    from {
        text-shadow:
            0 0 20px rgba(233, 69, 96, 0.5),
            0 0 40px rgba(233, 69, 96, 0.3),
            0 0 60px rgba(233, 69, 96, 0.2);
    }
    to {
        text-shadow:
            0 0 30px rgba(233, 69, 96, 0.7),
            0 0 60px rgba(233, 69, 96, 0.5),
            0 0 90px rgba(233, 69, 96, 0.3);
    }
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #e94560;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #c73e54;
}

section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex: 1;
    min-height: fit-content;
}

/* Ensure the home section (which contains hero) doesn't interfere with centering */
#home {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    /* Ensure proper centering of content */
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* Remove conflicting override - hero centering handled by base .hero class */
#home .hero {
    padding: 2rem;
}

.content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff;
}

footer {
    background: #1a1a2e;
    color: #fff;
    text-align: center;
    padding: 2rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(26, 26, 46, 0.5);
}

::-webkit-scrollbar-thumb {
    background: #e94560;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c73e54;
}
