html, body {
  overflow-x: hidden !important;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96)), url('../img/white_swirl_bg.png') !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
}

.title-bar {
  padding: 1em;
  background-color: #1b1d20;
  border-bottom: solid 1px #37393c;
  color: white
}

.title-bar-left {
  flex-grow: 1;
  width: 25%;
}

.title-bar-right {
  flex-grow: 1;
  width: 25%;
}

.title-bar-center {
  flex-grow: 1;
  width: 50%;
}

.nav-bar-main {
  padding-bottom: 1em;
  background-color: #151619;
  color: white
}

.indent {
  text-indent: 1em;
}

.mnu {
  text-align: left;
  text-indent: 1em;
}

.mnu-txt {
  text-indent: .5em;
  padding-bottom: 6em;
}

.mnu-pad {
  padding-left: .5em;
  padding-right: .5em;
}

.title-txt {
  text-indent: 2em;
  margin-bottom: 5em;
}

table tr td {
  vertical-align: top;
}

.off-canvas-left {
  border-right: solid 1px #37393c;
}

.off-canvas-content {
  padding-top: 1em;
  margin: 1em;
  background-image: url('../img/white_swirl_bg.png') !important;
  background-size: 115% 115% !important; /* Oversized to prevent empty edge gaps during movement */
  background-position: 50% 50% !important;
  background-repeat: no-repeat !important;
  animation: wavyMove 25s ease-in-out infinite !important;
}

@keyframes wavyMove {
  0% {
    background-position: 50% 50% !important;
  }
  25% {
    background-position: 45% 55% !important;
  }
  50% {
    background-position: 55% 45% !important;
  }
  75% {
    background-position: 48% 52% !important;
  }
  100% {
    background-position: 50% 50% !important;
  }
}

.bottom-spacer {
  padding-bottom: 0.5em;
}

.off-canvas {
  background-color: #1b1d20;
  color: white;
}

.mnu-header {
  padding:.5em;
}

footer {
  background-color: #1b1d20;
  margin-top: auto;
  border-top: solid 1px #37393c;
  color: white;
  padding: 2em;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

footer a:link {
  color: white;
}

footer a:visited {
  color: white;
}

footer a:hover {
  color: hotpink;
}

footer a:active {
  color: white;
}

.button {
  margin: 0;
}

.button-group {
  margin-bottom: 0;
}

.isactive {
  background-color: #126195;
}

hr {
  width: 100%;
  max-width: 100%;
}

.button {
  border-radius: 5px;
  background-color: #37393b;
}

.button.large {
  font-size: 1.25rem;
  display: block;
  width: 100%;
  padding-bottom: 15px;
}

.button:hover,
.button:focus {
  background-color: #5f6061;
  color: #fefefe;
}

/* Modern Home Page & Profile Layout */
.hero-container {
  padding: 3rem 2rem;
  background: linear-gradient(145deg, rgba(31, 34, 41, 0.95), rgba(23, 25, 30, 0.97)), url('../img/hero_tech_bg.png');
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  border: 1px solid #37393c;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 2.5rem;
}

.profile-name {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.profile-tagline {
  font-size: 1.35rem;
  font-weight: 600;
  color: #38bdf8;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.lead-bio {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #f1f5f9; /* Brighter white/grey for better readability */
  margin-bottom: 2rem;
}

.highlight-grid {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.feature-card {
  background: #1f2229;
  border: 1px solid #37393c;
  border-top: 4px solid #126195;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  background: #242831;
  border-color: #4b505c;
  border-top-color: #38bdf8;
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(56, 189, 248, 0.15);
}

.feature-icon {
  font-size: 2.25rem;
  color: #38bdf8;
  margin-bottom: 1rem;
  display: inline-block;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.cta-primary {
  background: #126195;
  color: #ffffff;
  border: 1px solid #1e7cb8;
  box-shadow: 0 4px 14px rgba(18, 97, 149, 0.3);
}

.cta-primary:hover {
  background: #1e7cb8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 124, 184, 0.4);
}

.cta-secondary {
  background: #2c2f36;
  color: #cbd5e1;
  border: 1px solid #3c404a;
}

.cta-secondary:hover {
  background: #373a42;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Jira Work History Dashboard & Stepper */
.jira-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
}

@media (max-width: 640px) {
  .jira-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.jira-stat-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.75rem;
  text-align: center;
  transition: all 0.2s ease;
}

.jira-stat-box:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.jira-stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.jira-stat-num.completed {
  color: #10b981;
}

.jira-stat-num.active {
  color: #38bdf8;
}

.jira-stat-num.backlog {
  color: #fbbf24;
}

.jira-stat-label {
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-top: 0.25rem;
  display: block;
}

.initiatives-section {
  margin: 1.5rem 0;
  background: rgba(255, 255, 255, 0.01);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.initiative-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.initiative-item:last-child {
  border-bottom: none;
}

.initiative-name {
  font-size: 0.85rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.initiative-name i {
  color: #38bdf8;
}

.initiative-badge {
  background: rgba(56, 189, 248, 0.08);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.15);
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
}

.yearly-stepper {
  margin-top: 1.5rem;
  border-left: 2px solid #37393c;
  padding-left: 1.25rem;
  margin-left: 0.5rem;
}

.stepper-item {
  position: relative;
  margin-bottom: 1.25rem;
}

.stepper-item:last-child {
  margin-bottom: 0;
}

.stepper-item::before {
  content: '';
  position: absolute;
  left: -1.65rem;
  top: 0.25rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #126195;
  border: 2px solid #1f2229;
  transition: background-color 0.2s ease;
}

.stepper-item:hover::before {
  background: #38bdf8;
}

.stepper-year {
  font-size: 0.95rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 0.15rem;
}

.stepper-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.45;
}

/* Timeline Cards override to match home card theme */
.timeline__content {
  background: #1f2229 !important;
  border: 1px solid #37393c !important;
  border-top: 4px solid #126195 !important;
  border-radius: 12px !important;
  padding: 1.75rem 1.5rem !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  color: #cbd5e1 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.timeline__item:hover .timeline__content {
  border-color: #4b505c !important;
  border-top-color: #38bdf8 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(56, 189, 248, 0.15) !important;
}

.timeline__content h4, .timeline__content h5 {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.timeline__content h6 {
  color: #38bdf8 !important;
  font-weight: 600 !important;
}

.timeline__content hr {
  border-color: #37393c !important;
  margin: 1rem 0 !important;
}

.timeline__content ul {
  margin-left: 1.25rem !important;
  color: #cbd5e1 !important;
}

.timeline__content ul li {
  margin-bottom: 0.5rem !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
}

/* Center and normalize all logos in timeline events */
.timeline__content img {
  display: block !important;
  margin: 0 auto 1.25rem auto !important;
  max-height: 80px !important;
  width: auto !important;
}

/* Modern Form Controls styling */
#frm_contact label {
  color: #cbd5e1 !important;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

#frm_contact input[type="text"],
#frm_contact textarea {
  background: #17191e !important;
  border: 1px solid #3c404a !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  padding: 0.75rem 1rem !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.25s ease !important;
}

#frm_contact input[type="text"]:focus,
#frm_contact textarea:focus {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  background: #1e2127 !important;
}

#frm_contact input[type="radio"] {
  margin-right: 0.5rem;
}

#frm_contact input[type="radio"] + label {
  margin-right: 1.5rem !important;
  display: inline-block !important;
  color: #cbd5e1 !important;
  font-weight: 500 !important;
  cursor: pointer;
}

.contact-info-box {
  background: #1f2229;
  border: 1px solid #37393c;
  border-top: 4px solid #126195;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.contact-info-title {
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-item i {
  color: #38bdf8;
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.contact-detail-text h6 {
  margin: 0;
  font-weight: 700;
  color: #ffffff;
}

.contact-detail-text p {
  margin: 0.25rem 0 0 0;
  color: #cbd5e1;
  font-size: 0.95rem;
}

/* Sidebar navigation buttons */
.off-canvas .button.mnu {
  background-color: #1b1d20 !important;
  transition: background-color 0.08s ease-in-out, border-color 0.08s ease-in-out, transform 0.08s ease-in-out !important;
  margin-bottom: 0.6rem !important;
  padding: 0.8rem 1.25rem !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  text-indent: 0 !important;
}

.off-canvas .button.mnu.hide {
  display: none !important;
}

.off-canvas .button.mnu:hover,
.off-canvas .button.mnu:focus {
  background-color: #2c2f36 !important;
  border-color: #38bdf8 !important;
}

.off-canvas .button.mnu:active {
  background-color: #1e2127 !important;
  transform: scale(0.98) !important;
}

.off-canvas .button.mnu.isactive {
  background-color: #126195 !important;
  border-color: #1e7cb8 !important;
}

.off-canvas .button.mnu.isactive:hover {
  background-color: #1a7cb8 !important;
}

.off-canvas .mnu-txt {
  padding-bottom: 0 !important;
  text-indent: 0 !important;
}