/* Variables */
:root {
    --bg-light: #ffffff;
    --bg-grid: #f2f2f2;
    --primary: #8a4fff;
    /* Purple */
    --primary-light: #a67aff;
    --primary-gradient: linear-gradient(135deg, #9b51e0 0%, #7c3aed 100%);
    --text-main: #1a1a2e;
    --text-muted: #666;
    --border-color: #e0e0e0;
    --container: 1100px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    /* Grid Background Effect */
    background-image: linear-gradient(var(--bg-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.section {
    padding: 120px 0;
    position: relative;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate {
    opacity: 0;
    animation-fill-mode: forwards;
    animation-duration: 0.8s;
    animation-timing-function: ease-out;
}

.animate.visible {
    animation-name: fadeInUp;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-gradient);
    color: white;
    font-family: var(--font-heading);
    font-weight: 500;
    border-radius: 50px;
    /* Pill shape */
    box-shadow: 0 10px 20px rgba(138, 79, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(138, 79, 255, 0.4);
}

/* Header */
header {
    background: transparent;
    /* Clean look usually starts transparency or just simple white */
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #444;
}

.nav-link:hover {
    color: var(--primary);
}

.header-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Purple Wave Background */
.hero-wave {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 70%;
    background: var(--primary-gradient);
    /* Complex Border Radius to mimic wave */
    border-top-left-radius: 100% 60%;
    border-top-right-radius: 0;
    border-bottom-left-radius: 40% 100%;
    opacity: 0.9;
    z-index: 0;
}

.hero-wave::before {
    content: '';
    position: absolute;
    top: 50px;
    left: -50px;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: inherit;
    z-index: -1;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.hero p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 450px;
}

/* Services */
.services-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.services-header span {
    color: var(--primary-light);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.service-card {
    text-align: center;
}

/* Abstract Shape Icons */
.service-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    position: relative;
}

.service-shape-main {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 10px;
    z-index: 2;
}

.service-shape-bg {
    width: 60px;
    height: 60px;
    background: #e0ccff;
    /* Light Lilac */
    border-radius: 50%;
    /* Can be changed to square for variety */
    position: absolute;
    bottom: 0;
    right: 10px;
    z-index: 1;
}

.shape-square {
    border-radius: 4px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Contact (Split Layout) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-left h2 {
    font-size: 3rem;
    margin-bottom: 40px;
}

.contact-details p {
    margin-bottom: 15px;
    color: #444;
    font-size: 1.1rem;
}

.contact-details strong {
    display: block;
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* Minimalist Form */
.contact-form {
    padding-top: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 40px;
    position: relative;
}

.form-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #aaa;
    background: transparent;
    padding: 10px 0;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-input::placeholder {
    color: #999;
}

/* Footer */
footer {
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid #eee;
    background: white;
}

.footer-copy {
    color: #888;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-wave {
        width: 100%;
        height: 40%;
        bottom: 0;
        border-radius: 50% 50% 0 0 / 30% 30% 0 0;
    }

    .services-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}