/* Base Styles */
:root {
    --primary-color: #1a202c; /* Deep Slate */
    --accent-color: #d69e2e; /* Professional Gold */
    --text-light: #f7fafc;
    --text-dark: #2d3748;
    --bg-light: #f1f5f9; /* Light grey background */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures footer stays at the bottom */
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-light);
}

.nav-cta {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 6rem 5%;
    text-align: center;
    border-bottom: 4px solid var(--accent-color);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #cbd5e0;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    cursor: pointer;
}

/* Services Section */
.services {
    padding: 5rem 5%;
    text-align: center;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--accent-color);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    padding: 3rem 5% 5rem;
    text-align: center;
    flex-grow: 1; /* Pushes the footer to the bottom */
}

.contact-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-section > p {
    color: #4a5568;
    margin-bottom: 3rem;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-form {
    background: white; /* Keeps the form crisp against the light grey background */
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--accent-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    resize: vertical; /* Prevents user from breaking the form width */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.direct-email {
    text-align: center;
    margin-top: 2rem;
    color: #4a5568;
}

.direct-email a {
    color: var(--accent-color);
    font-weight: bold;
    text-decoration: none;
}

.direct-email a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--primary-color);
    color: #a0aec0;
    font-size: 0.9rem;
    width: 100%;
}/* Client Portal Styles */
.portal-body {
    background-color: var(--primary-color); /* Keeps the dark, professional theme */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.portal-container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.portal-card {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 100%;
    text-align: center;
    border-top: 6px solid var(--accent-color);
}

.portal-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.portal-header p {
    color: #4a5568;
    margin-bottom: 2.5rem;
}

.portal-btn {
    width: 100%;
    display: block;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    padding: 1.2rem;
}

.portal-footer-text {
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.portal-footer-text a {
    color: var(--accent-color);
    font-weight: bold;
    text-decoration: none;
}

.security-badge {
    background: #edf2f7;
    padding: 0.75rem;
    border-radius: 4px;
    color: #2d3748;
    font-size: 0.85rem;
    font-weight: 600;
}