/* ========================================
   Base Boilerplate CSS
   Author: Brad
   Version: 1.0
   ======================================== */

/* ----- CSS Reset / Normalize ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Figtree", sans-serif;
background-color: var(--bg-color);
  /* background: linear-gradient(180deg,var(--bg-color) 0%, rgb(0, 0, 0) 50%); */
/* background-attachment: fixed; */

  /* background-size: cover; */
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
}

#main {
    height: 100vh;
    width: 100%;  
    background-image: url("../img/bg2.webp");
      background-repeat: repeat-x;
}

.card {
    box-shadow: 0 4px 12px 2px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--primary);
}

h2.accordion-header {
  margin-left: 0;
}

.card-div {
    padding: 4px;
    padding-top: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: var(--card-bg);
    /* background-color: rgba(0,0,0,0.90); */
    border: 1px solid var(--primary);
    box-shadow: 0 4px 12px 2px rgba(0, 0, 0, 0.4);
    margin-bottom: 3rem;
    border-radius: 0.375rem;
}

.card-div h1,h2,h3,h4,h5,h6 {
    margin-left: 0.5rem;
}

h6.card-title  {
    color: gold;
    font-size: 12px;
}

.card-img-top {
    max-height: 200px;
}

.job-desc h5 {
    padding-top: 1rem;
    margin-left: 0;
    color: var(--link-color);
}

.job-desc h6 {
    margin-left: 0;
    text-transform: uppercase;
    font-size: small;
}

.metamorphous-regular {
  font-family: "Metamorphous", serif;
  font-weight: 400;
  font-style: normal;
}

.figtree {
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.nav-link {
    color: var(--link-color);
}

.nav-link.active {
    color: var(--link-color) !important;
}

.nav-link:visited {
    color: var(--link-color) !important;
}

.navbar-brand {
    color: var(--primary);
}

.navbar {
    background-color: var(--nav-color);
    border-bottom: 1px var(--dark) solid;
}

.accordion-button:not(.collapsed) {
  color: #fff;
  background-color: var(--accordion-bg);
}

button.accordion-button {
  background-color: var(--accordion-inactive-bg);
}

/* ----- Root Variables ----- */
:root {
  --primary: #b4b1b8;
  --secondary: #6c757d;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #17a2b8;
  --light: #f8f9fa;
  --dark: #343a40;

  --accordion-bg: #101b39;
  --accordion-inactive-bg: #070c1a;

    --bg-color: #000;
    --nav-color: #101b39;
    --card-bg: #201e21;

  --text-color: #f8f9fa;
  --link-color: #98b9f2;
    --surface: #6f6d72;

    --sub-surface: #b4b1b8;

  --radius: 6px;
  --shadow: 0 2px 6px rgba(0,0,0,0.1);
  --max-width: 1200px;
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 0.5em;
  font-weight: 600;
  font-family: "Metamorphous", serif;
}

p {
  margin-bottom: 1em;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #0056b3;
  text-decoration: underline;
}

ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}

/* ----- Layout Utilities ----- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grid {
  display: grid;
  gap: 1rem;
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 0.6em 1.2em;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background 0.3s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: #0056b3;
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}
.btn-secondary:hover {
  background: #545b62;
}

/* ----- Forms ----- */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.5em;
  border-radius: var(--radius);
  border: 1px solid #ccc;
  width: 100%;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0,123,255,0.2);
}

/* ----- Responsive Helpers ----- */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .flex {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ----- Misc Helpers ----- */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.shadow { box-shadow: var(--shadow); }
.rounded { border-radius: var(--radius); }
