/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* text now white for contrast */
    background-color: #552f92; /* unified background */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    background-color: #552f92;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.75;
}

/* Hero Section */
.hero-section {
    background: #552f92; /* single theme color */
    color: white;
    padding: 140px 0 100px;
    text-align: center;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Call to Action Button */
.cta-button {
    background-color: #ffffff;
    color: #552f92;
    padding: 14px 36px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #f1f1f1;
    transform: translateY(-2px);
}

.api-response {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    min-height: 50px;
    display: none;
}

/* Content Section */
.content-section {
    padding: 100px 0;
    background-color: #ffffff;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    margin-top: -40px;
}

.content-section h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #552f92;
}

.content-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    color: #444;
}

/* Footer */
footer {
    background-color: #552f92;
    color: #ffffff;
    text-align: center;
    padding: 40px 0;
    font-size: 0.95rem;
}

/* Contact Form Styles */
#contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background-color: #f9f8fd;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #552f92;
    outline: none;
}

#contact .cta-button {
    display: block;
    margin: 30px auto 0;
}

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

.hero-section {
    animation: fadeIn 1s ease-out;
}
