/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #FFFFFF; /* White from maediadesign.com */
}

/* Variables for brand consistency */
:root {
    --primary-purple: #6B4E9C; /* Exact purple from maediadesign.com */
    --white: #FFFFFF;
    --gray: #E5E5E5;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: var(--primary-purple);
    color: var(--white);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(107, 78, 156, 0.9);
}

.logo {
    font-size: 24px;
    font-weight: 700;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--gray);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-purple), #4A3471);
    color: var(--white);
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--white);
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    background-color: var(--gray);
}

/* Services Section */
.services {
    padding: 80px 40px;
    background-color: var(--white);
    text-align: center;
}

.services h2 {
    font-size: 36px;
    color: var(--primary-purple);
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 30px;
    background-color: var(--gray);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card h3 {
    color: var(--primary-purple);
    margin-bottom: 15px;
}

/* About Section */
.about {
    padding: 80px 40px;
    background-color: var(--primary-purple);
    color: var(--white);
    text-align: center;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

/* Contact Section */
.contact {
    padding: 80px 40px;
    background-color: var(--white);
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    color: var(--primary-purple);
    margin-bottom: 40px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 2px solid var(--primary-purple);
    border-radius: 5px;
    font-size: 16px;
}

.contact-form textarea {
    height: 150px;
    resize: none;
}

.contact-form button {
    background-color: var(--primary-purple);
    color: var(--white);
}

/* Footer */
footer {
    padding: 20px;
    text-align: center;
    background-color: var(--primary-purple);
    color: var(--white);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--primary-purple);
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }
}