/*
 * Main stylesheet for the Data Analytics Consulting site.
 *
 * Color palette:
 * - Deep navy (#0d1b2a) for the background and header
 * - Teal and green accents (#1b4965, #5fa8d3, #70c1b3)
 * - Silver/gray tones for text and subtle backgrounds (#f2f2f2, #e1e5ea)
 * - Black (#000000) for high contrast
 */

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #f2f2f2;
    background-color: #0d1b2a;
    overflow-x: hidden;
}

.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid #1b4965;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #70c1b3;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: #5fa8d3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a:focus {
    color: #70c1b3;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(120deg, #0d1b2a 0%, #1b4965 100%);
    border-radius: 4px;
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: #70c1b3;
}

.hero p {
    font-size: 1.2rem;
    color: #e1e5ea;
    max-width: 650px;
    margin: 0 auto;
}

/* Section styling */
.section {
    padding: 60px 0;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #5fa8d3;
    border-bottom: 1px solid #1b4965;
    display: inline-block;
    padding-bottom: 5px;
}

.section p {
    font-size: 1rem;
    color: #e1e5ea;
    margin-bottom: 20px;
}

/* Services section */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: #1b4965;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #70c1b3;
}

.service-card p {
    font-size: 0.95rem;
    color: #e1e5ea;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Case studies section */
.case-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.case {
    background-color: #1b4965;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #70c1b3;
}

.case p {
    font-size: 0.95rem;
    color: #e1e5ea;
}

.case:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Contact form styling */
.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact label {
    font-weight: 500;
    color: #70c1b3;
}

.contact input,
.contact textarea {
    padding: 10px;
    border: 1px solid #1b4965;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #0d1b2a;
    color: #f2f2f2;
}

.contact input::placeholder,
.contact textarea::placeholder {
    color: #8aaec8;
}

.contact button {
    padding: 12px;
    background-color: #5fa8d3;
    color: #0d1b2a;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact button:hover {
    background-color: #70c1b3;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 20px 0;
    border-top: 2px solid #1b4965;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #8aaec8;
}