/* public_html/sdk-expert/style.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8; /* Slightly lighter background */
}

/* Header */
header {
    background-color: #f5f9ff;
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold; /* Added for emphasis */
    transition: color 0.3s ease; /* Smooth hover effect */
}

nav a:hover {
    color: #004080;
}

h1, h2 {
    color: #004080;
}

section {
    padding: 40px 20px; /* Increased padding */
    border-bottom: 1px solid #eee;
    background-color: #fff; /* White background for sections */
    margin-bottom: 20px; /* Space between sections */
}

section:last-of-type {
    border-bottom: none; /* No border for the last section */
}

ul {
    padding-left: 20px;
}

footer {
    text-align: center;
    font-size: 0.9em;
    color: #555;
    padding: 20px;
    border-top: 1px solid #ccc;
    background-color: #f5f9ff; /* Consistent with header */
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center; /* Center nav items on small screens */
    }
    header .container {
        flex-direction: column;
    }
    header h1 {
        margin-bottom: 15px; /* Space below title */
    }
}

/* --- LEAD CAPTURE FORM STYLES --- */
.lead-capture-form {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
    max-width: 500px; /* Limit width */
    margin-left: auto;
    margin-right: auto;
}

.lead-capture-form h3 {
    color: #004080;
    margin-top: 0;
    font-size: 24px;
}

.lead-capture-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.lead-capture-form input[type="text"],
.lead-capture-form input[type="email"],
.lead-capture-form input[type="tel"],
.lead-capture-form textarea {
    width: calc(100% - 22px); /* Account for padding and border */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.lead-capture-form button {
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.lead-capture-form button:hover {
    background-color: #0056b3;
}

.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    display: none; /* Hidden by default */
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* --- FEEDBACK SECTION STYLES --- */
.feedback-section {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px dashed #eee;
}

.feedback-section p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #555;
}

.feedback-buttons button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.feedback-buttons button:hover {
    background-color: #0056b3;
}

.feedback-buttons button.selected {
    background-color: #28a745; /* Green for selected helpful */
}

.feedback-status {
    margin-top: 15px;
    font-size: 0.9em;
    color: #666;
}