/* BeyondSecure - Professional Security Consulting Styles */

:root {
    --primary: #1a365d;
    --primary-light: #2c5282;
    --accent: #38b2ac;
    --background: #f7fafc;
    --surface: #ffffff;
    --text: #1a202c;
    --text-light: #718096;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

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

/* Navigation */
header {
    background: var(--surface);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--primary);
}

.logo strong {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Buttons */
.btn-primary {
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    background: #319795;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: all 0.2s;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn-secondary {
    border-color: white;
    color: white;
}

.hero-cta .btn-secondary:hover {
    background: white;
    color: var(--primary);
}

/* Trust Section */
.trust-section {
    padding: 3rem 0;
    background: var(--surface);
}

.trust-section h2 {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
}

.trust-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.trust-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Services */
.services-section {
    padding: 5rem 0;
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.service-link:hover {
    text-decoration: underline;
}

/* About */
.about-section {
    padding: 5rem 0;
    background: var(--surface);
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.about-role {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-highlights {
    list-style: none;
    margin-top: 1.5rem;
}

.about-highlights li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.about-credentials {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 8px;
}

.about-credentials h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.about-credentials ul {
    list-style: none;
}

.about-credentials li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-credentials li:last-child {
    border-bottom: none;
}

/* Contact */
.contact-section {
    padding: 5rem 0;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-section > .container > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto 2rem;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(56, 178, 172, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background: #c6f6d5;
    color: #22543d;
}

.form-status.error {
    display: block;
    background: #fed7d7;
    color: #822727;
}

.contact-alt {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.contact-alt a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.contact-alt a:hover {
    text-decoration: underline;
}

/* Legacy contact options (if used elsewhere) */
.contact-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 1.5rem;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

footer p:last-child {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 0 1rem;
    }
}