/* Theme variables */
:root {
  --max-width: 900px;
  --accent: #0ea5a4;
  --muted: #6b7280;
  --bg: #f8fafc;
  --card: #ffffff;
  --radius: 10px;
}

/* Universal selector for box-sizing and base font */
* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #222;
    margin: 0;
    padding: 0;
}

/* Base styles */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  margin: 0;
  background: var(--bg);
  color: #111827;
  line-height: 1.6;
}

/* Container for main content (optional, add class="container" to your main if desired) */
.container {
  max-width: var(--max-width);
  margin: 10px auto;
  padding: 0 0px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

/* Header styles */
header.site-header {
  background: var(--card);
  padding: 18px 16px;
  border-radius: var(--radius);
  margin: 0 auto 20px;
  max-width: var(--max-width);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

/* Navigation links */
nav a {
  margin-right: 12px;
  text-decoration: none;
  color: var(--muted);
}

nav {
  align-items: center;
  text-align: center;
  margin-bottom: 12px;
}

nav a.active {
  color: #4e8ecf;
  border-radius: 4px;
  padding: 4px 12px;
  text-decoration: none;
}

/* Section/card styles */
section {
  display: block;
  width: 100%;
  overflow: wrap;
  height: auto;
  background: var(--card);
  padding: 22px 16px;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  max-width: var(--max-width);
  margin: 16px auto;
  align-items: start;
  padding: 12 16px;
}

/* Paragraphs */
p {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

/* Blockquote */
blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 12px;
  color: #0f172a;
  margin: 18px 0;
  background: #f1f8f8;
  padding: 12px;
  border-radius: 6px;
}

/* Footer */
footer {
  text-align: center;
  color: var(--muted);
  margin-top: 24px;
  font-size: 0.9rem;
}

/* Tags */
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.tag {
  background: #eef9f8;
  color: var(--accent);
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 0.85rem;
}

/* Miscellaneous */
button {
  size: 16px;
    border-style: 2px round;
    border-radius: var(--radius);
    background: #1a3a5d;
    border-width: 0px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--bg);
    cursor: pointer;
    padding: 10px 16px;
    font-size: 1rem;
    margin-top: 12px;
    margin-bottom: 12px;;
}

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

/* Element selectors */
body {
    background-color: #f7f9fb;
    line-height: 1.6;
    padding: 20px 0;
}

h3 {
    /*color: #1a3a5d;*/
    /*color: #7386b8;*/
    color: #1a3a5d;
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: 16px;
    font-size: 1.2rem;
} 

h1, h2 {
    /*color: #1a3a5d;*/
    color: #dde3f3;
    font-weight: 700;
    margin-bottom: 16px;
} 

ul {
    list-style-type: square;
    margin-left: 24px;
    margin-bottom: 16px;
}

ol {
  list-style-type: decimal;
  margin-left: 24px;
  margin-bottom: 16px;
}

/* ID selector */
#main-header {
    background: linear-gradient(90deg, #1a3a5d 60%, #4e8ecf 100%);
    color: #fff;
    padding: 36px 0 24px 0;
    text-align: center;
    border-bottom: 4px solid #4e8ecf;
}

/* Descendant selector */
.section ul li {
    font-style: italic;
    color: #3a5d7c;
    margin-bottom: 8px;
}

/* Pseudo-class selector */
a:hover {
    color: #4e8ecf;
}

/* Example for list-style properties */
.skills-list {
    list-style-type: disc;
    list-style-position: inside;
    padding-left: 0;
}

/* Additional styling for a professional look */
.resume-title {
    font-size: 2.2rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.subtitle {
    color: #dfeaf5;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Base table styling */
table {
  width: 100%;
  border-collapse: collapse; /* remove double borders */
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-radius: 8px;
  overflow: hidden; /* round corners */
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* Table caption */
caption {
  caption-side: top; /* could be 'bottom' */
  font-weight: 600;
  font-size: 1.2rem;
  padding: 12px;
  text-align: left;
  color: #1a3a5d;
}

/* Header row */
thead {
  background: #f4f6f9;
}

thead th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  color: #374151;
  border-bottom: 2px solid #e5e7eb;
}

/* Table body rows */
tbody tr {
  border-bottom: 1px solid #e5e7eb;
  transition: background 0.2s ease;
}

tbody tr:hover {
  background: #f9fafb;
}

/* Table data cells */
td {
  padding: 12px 16px;
  color: #4b5563;
  vertical-align: middle;
}

/* First column emphasis */
tbody td:first-child {
  font-weight: 500;
  color: #1f2937;
}

/* Striped rows (optional) */
tbody tr:nth-child(even) {
  background: #fafbfc;
}

/* Footer row (if used) */
tfoot td {
  padding: 12px 16px;
  font-weight: 600;
  background: #f4f6f9;
  border-top: 2px solid #e5e7eb;
  color: #374151;
}

.contact-info {
    text-align: center;
    padding: 0 16px;
    align-items: center;
    margin-top: 40px;
}

.video-wrapper {
  width: 100%;
  max-width: 750px;   /* video won't grow beyond 750px wide */
  aspect-ratio: 750 / 600; /* keeps the 750x600 ratio (5:4) */
  margin: 0 auto;     /* optional: center it on the page */
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Contact form styles */
#contact-form {
  padding: 24px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  max-width: 600px;
  margin: 24px auto;
}

#contact-form label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1a3a5d;
  margin-bottom: 1px;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea,
#contact-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#contact-form input:focus,
#contact-form textarea:focus,
#contact-form select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 165, 164, 0.2);
}

/* Horizontal radio buttons for contact method */
#contact-form .radio-group {
  display: flex;           /* arrange items in a row */
  gap: 24px;               /* space between each radio+label pair */
  align-items: center;     /* vertically align radio and text */
  margin-top: 12px;
}

#contact-form .radio-group label {
  display: flex;           /* keep radio button and text together */
  align-items: center;     /* vertical alignment */
  gap: 12px;                /* space between radio input and label text */
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a3a5d;
}

#contact-form .radio-group input[type="radio"] {
  margin: 12px;               
  accent-color: var(--accent); /* match theme accent color */
}


/* Submit button override for spacing */
#contact-form button {
  align-self: flex-start;
  background: #1a3a5d;
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease;
}

#contact-form button:hover {
  background: #4e8ecf;
}
