/* Core Styling & Variables */
:root {
    --primary: #0f172a;    /* Deep Navy */
    --secondary: #2563eb;  /* Professional Blue */
    --text: #334155;       /* Slate Text */
    --light: #f8fafc;      /* Crisp Off-White */
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3 {
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    color: var(--secondary);
    text-decoration: none;
}

/* Layout Elements */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation Header */
header {
    background-color: var(--white);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.05em;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

nav a:hover, nav a.active {
    color: var(--secondary);
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background-color: var(--light);
    border-bottom: 1px solid #e2e8f0;
}

.hero h1 {
    font-size: 2.75rem;
    max-width: 800px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: #475569;
}

/* Main Content Wrapper */
main {
    padding: 4rem 0;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Interactive Components & Cards */
.card {
    background: var(--white);
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    transition: border-color 0.2s ease;
}

.card:hover {
    border-color: #cbd5e1;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.btn:hover {
    opacity: 0.9;
}

/* Contact Details Blocks */
.contact-methods {
    margin-top: 2rem;
}

.contact-method-item {
    margin-bottom: 1.5rem;
}

.contact-method-item span {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.contact-method-item a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.contact-method-item a:hover {
    color: var(--secondary);
}

/* Minimalist Form Elements */
form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
}

input, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

/* Professional Footer */
footer {
    background-color: var(--light);
    border-top: 1px solid #e2e8f0;
    padding: 2.5rem 0;
    margin-top: auto;
    font-size: 0.87rem;
    color: #64748b;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Mobile Breakpoints */
@media (max-width: 768px) {
    .nav-container, .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .hero h1 {
        font-size: 2rem;
    }
    main {
        padding: 2.5rem 0;
    }
}
