/* penn-data-decoy / style.css */
:root {
    --primary: #1e3a8a;
    --primary-hover: #172554;
    --secondary: #475569;
    --dark: #0f172a;
    --light: #f8fafc;
    --border: #e2e8f0;
    --text: #334155;
    --text-dark: #0f172a;
}

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

html {
    scroll-behavior: smooth; /* BHW Pro-Standard: Smooth scroll transition across anchor links */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
    opacity: 0; /* Hidden initially for the smooth page load animation */
    animation: pageFadeIn 0.5s ease-in-out forwards; /* Beautiful page load fade transition */
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Header & Nav - BHW Pro-Standard: Header styled dark to match your high-end black logo seamlessly. */
header {
    background-color: #0c101d; /* Elegant deep dark navy matching the logo canvas */
    border-bottom: 1px solid #1e293b;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px; /* Slightly taller to accommodate the vertical corporate logo */
}

/* Logo Styling */
.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 5px 0;
    text-decoration: none;
    transition: transform 0.3s ease-in-out; /* Smooth hover scale for logo */
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 75px; /* Perfect height to ensure readability without stretching */
    width: auto;
    object-fit: contain;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #cbd5e1; /* Elegant light-slate text for high contrast on the dark header */
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out; /* Smooth hover transition */
}

nav a:hover, nav a.active {
    color: #ffffff; /* Turns clean white on hover/active */
}

/* Hero Section */
.hero {
    background-color: var(--dark);
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 20px;
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth btn transitions */
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

/* Features/Services Section */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 50px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px 30px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease-in-out; /* Smooth spring-like hover for cards */
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
    border-color: #cbd5e1;
}

.card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.card p {
    color: var(--text);
    font-size: 15px;
}

/* About Page Specific */
.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
}

/* Insights/Blog Page Specific */
.insights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.post {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px;
    transition: border-color 0.3s ease-in-out;
}

.post:hover {
    border-color: #cbd5e1;
}

.post-meta {
    font-size: 14px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.post h2 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.post p {
    margin-bottom: 15px;
}

/* Contact Page Specific */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.01);
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth input focus */
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

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

/* Footer */
footer {
    background-color: var(--dark);
    color: #94a3b8;
    padding: 60px 0;
    border-top: 1px solid #1e293b;
    font-size: 14px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-col p {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        gap: 15px;
    }
    nav ul {
        gap: 15px;
    }
    .hero h1 {
        font-size: 32px;
    }
    .about-content {
        flex-direction: column;
    }
}
