/* Variables */
:root {
    --primary-blue: #232f3e; /* AWS Squid Ink */
    --accent-orange: #ff9900; /* AWS Orange */
    --light-bg: #f8f9fa;
    --text-dark: #2d3436;
    --text-muted: #636e72;
    --border-color: #dfe6e9;
    --font-main: 'Inter', sans-serif;
}

/* Global Reset */
* { box-sizing: border-box; }

body {
    font-family: var(--font-main);
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 40px 20px;
}

.container {
    max-width: 850px;
    margin: 0 auto;
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    margin: 0;
    font-size: 2.2rem;
    color: var(--primary-blue);
    letter-spacing: -1px;
}

.subtitle {
    font-weight: 600;
    color: var(--text-muted);
    margin: 5px 0 15px 0;
}

.contact-links {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-links a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

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

.separator {
    margin: 0 10px;
    color: #ccc;
}

/* Headings */
h2 {
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--primary-blue);
    border-bottom: 2px solid var(--accent-orange);
    padding-bottom: 5px;
    margin-top: 35px;
    margin-bottom: 15px;
}

/* General Entry Styling */
.entry {
    margin-bottom: 20px;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-blue);
}

.date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.institution {
    font-style: italic;
    color: var(--text-muted);
    margin-top: 2px;
}

.cert-details {
    margin: 5px 0 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 20px;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skill-category p {
    margin: 5px 0 0 0;
    font-size: 0.9rem;
}

/* Project Card */
.project-card {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-blue);
}

.project-card ul {
    margin-top: 10px;
    padding-left: 20px;
    font-size: 0.9rem;
}

/* Footer */
footer {
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.counter-box {
    background: var(--primary-blue);
    color: white;
    display: inline-block;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Print Formatting */
@media print {
    body { background: white; padding: 0; }
    .container { box-shadow: none; border: none; width: 100%; max-width: 100%; }
}

/* Responsive Styling */
@media (max-width: 600px) {
    .container { padding: 25px; }
    .entry-header { flex-direction: column; }
    .date { margin-top: 5px; }
}