﻿/* ===============================================
	   Property of: DevMark Innovations
	   Developed BY: DevMark Innovations
	   DevMark Family of Companies

/* ========== Base Styles ========== */
html, body {
  box-sizing: border-box;
  scroll-behavior: smooth;
  height: 100%;
  min-height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.57;
  background: #434242;
  color: #aaa;
  overflow-x: hidden;
}
*, *::before, *::after {
  box-sizing: inherit;
  outline: none;
  transition: all 0.2s cubic-bezier(.4,0,.2,1);
}

/* ========== Layout ========== */
.layout {
  display: flex;
  flex-direction: row;
  height: 100vh;
  width: 100vw;
  min-height: 100vh;
  overflow: hidden;
}
.content-scroller {
  position: relative;
  margin-left: 250px;
  width: calc(100vw - 250px);
  height: 100vh;
  overflow-x: auto;
  overflow-y: hidden;
  background: #434242;
  scroll-behavior: smooth;
  display: flex;
  scroll-snap-type: x mandatory;
}
.content-scroller::-webkit-scrollbar { height: 0; width: 0; background: transparent; }
.content-scroller::-webkit-scrollbar-thumb { background: none; }
.content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  min-width: 100vw;
  height: 100vh;
  box-sizing: border-box;
}
.main-content {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 0;
  overflow-y: auto;
  background: #434242;
  padding: 0;
}

/* ========== Typography & Links ========== */
h1, h2, h3, h4, h5 {
  font-family: 'Oswald', sans-serif;
  color: inherit; /* let theme handle heading colors */
}

h1 {
  font-weight: 500;
  padding: 2rem 1rem 1rem 1rem;
  margin: 0 1.5rem .5rem 1.5rem;  /* top  right bottom left */
  font-size: clamp(.9rem, 3vw, 1.2rem);
  position: relative;
  text-transform: uppercase;
}

h2 {
  display: flex;
  justify-content: center;
  align-items: center;       
  font-weight: 400;
  text-transform: uppercase;
  font-size: 17px;
  line-height: 1.2;
  text-align: center;
  margin: 10px 0px 20px 0px;  /* top  right bottom left */
}
h2 span {
  font-weight: 500;
}

h3 {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 17px;
  margin: 35px 0px 0px 0px;  /* top  right bottom left */
  padding: 0px 0 0px 0;
}

h4 {
  font-weight: 400;
  text-transform: none;  /* Remove uppercase */
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 0 0;  /* top  right bottom left */
  padding: 0px 0 0px 0;
}

h5 {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 15px;
  margin: 0 0 0 0;
  padding: 0px 0 0px 0;  /* top  right bottom left */  
}

h6 {
  background: #485e7d; 
  color: #fff;
  font-family: 'Vijaya', cursive, sans-serif;
  font-weight: bold; 
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  font-size: 16px;
  line-height: 1.65;
  margin: 30px auto;
  padding: 10px 18px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;   /* Spread quote left, author right */
  gap: 18px;                        /* Space between quote and author */
}

.quote-author {
  font-style: normal; /* So signature isn't italic */
  font-size: 15px;
  opacity: 0.85;
  margin-left: 5px;  /* Optional: gives a little space from the quote */
  white-space: nowrap; /* Prevents "- Jaxson" from breaking into two lines */
}



/* --------- List Items ---------- */
li {
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: inherit;
  margin: 0 0 0.75em 1.2em;
  padding-left: 0.2em;
  letter-spacing: 0.01em;
}
li li {
  font-size: 16px;
  margin-left: 1.5em;
  list-style-type: circle;
}

/* === LINKS === */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #ee6817;
}

/* === Selection === */
::selection {
  color: #434242;
  background: #ee6817;
}

/* === Buttons and Nav === */
.button, .menu-link, .nav-arrows button {
  user-select: none;
  cursor: pointer;
}

/* ========== Dividers ========== */
.full-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #9baed4, #2255A5);
  border: none;
  margin: 30px 0 0px 0; /* top  right bottom left */

}
.title-divider {
  width: 70px;
  height: 5px;
  background: linear-gradient(90deg, #9baed4, #2255A5);
  border-radius: 2px;
  margin: 10px 0 30px 0; /* top  right bottom left */
  opacity: 0;
  width: 0;
  animation: dividerFadeGrow 0.55s 0.72s cubic-bezier(.55,0,.1,1) forwards;
}
@keyframes dividerFadeGrow {
  to {
    opacity: 1;
    width: 70px;
  }
}

/* =================== Navigation Arrows =================== */
.nav-arrows {
  position: fixed;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.33s cubic-bezier(.45,0,.55,1);
  z-index: 1000;
}

.nav-arrows.show {
  opacity: 1;
  pointer-events: auto;
}

.nav-arrows button {
  min-width: 40px;    /* Arrow background */
  min-height: 40px;  /* Arrow background */
  padding: 10px 14px; /* Arrow background */
  background: linear-gradient(145deg, #1b2230 70%, #2255a5 100%);
  color: #e5e5e5;
  border: 2px solid #93b1ed;
  font-size: 14px;  /* Arrow background size */
  font-family: 'Oswald', sans-serif;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 12px 1.5px #2255a5, 0 1px 6px rgba(60,80,110,0.14);
  transition: 
    background 0.22s, 
    color 0.18s, 
    border 0.16s, 
    box-shadow 0.19s, 
    transform 0.12s;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-arrows button:hover,
.nav-arrows button:focus-visible {
  background: #2255A5;          /* Blue background */
  color: #fff;                  /* White arrow */
  border-color: #2255A5;        /* Blue border */
  box-shadow: 0 0 0 2px #2255A5, 0 2px 14px #2255A5;
  transform: scale(1.08);
  outline: none;
}

.nav-arrows button:active {
  background: #173057;
  color: #1b2230;
  transform: scale(0.97);
}

@media (max-width: 650px) {
  .nav-arrows {
    bottom: 16px;
    gap: 2rem;
  }
  .nav-arrows button {
    font-size: 14px;
    min-width: 40px;
    min-height: 40px;
    padding: 11px 13px;
  }
}

/* ===================== Accessibility ======================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Accessible focus style */
a:focus-visible, .button:focus-visible {
  outline: 2px solid #ee6817;
  outline-offset: 2px;
}

/* ========================== Utility Margins ======================= */
.mb-50 { margin-bottom: 50px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-30 { margin-bottom: 30px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-10 { margin-bottom: 10px !important; }
.mt-50 { margin-top: 50px !important; }
.mt-40 { margin-top: 40px !important; }
.mt-30 { margin-top: 30px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-10 { margin-top: 10px !important; }
.mr-30 { margin-right: 30px !important; }
.no-border-bottom { border-bottom: none !important; }

/* =================== Universal Button Base =================== */
.button {
  display: inline-block;
  min-width: 180px;
  max-width: 280px;
  padding: 5px 5px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 10px;
  border: 2px solid #93b1ed;
  background: #26242c;
  color: #e5e5e5;
  box-shadow: 0 0 14px 2.5px #2255a5, 0 2px 8px rgba(60,80,110,0.13);
  text-align: center;
  transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.18s;
  cursor: pointer;
  margin: 0;
  outline: none;
}
.button:hover,
.button:focus-visible {
  border-color: #2255A5;
  background: #1b2230;
  color: #fff;
  letter-spacing: 0.03em;
  box-shadow: 0 0 22px 3px #2255A5, 0 2px 10px rgba(60,80,110,0.19);
}

/* ===== Sidebar Container for Buttons ===== */
.sidebar-resume {
  text-align: center;
  margin: 10px 0 0 0;
  padding: 0 18px;
}
.sidebar-resume .sidebar-btn {
  width: 88%;
  max-width: 240px;
  display: block;
  margin: 0 auto 18px auto;
}

/* ===== Contact Button Row Layout ===== */
.contact-btn-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 32px auto 0 auto;
  width: 340px;
  max-width: 96vw;
}
.contact-btn-row .contact-btn {
  flex: 1 1 0;
  max-width: 230px;
}

/* ===== Replay Video Button Placement (About Section) ===== */
.replay-btn-wrap {
  /* Remove absolute/fixed positioning */
  position: static;      /* Default block flow */
  left: auto; right: auto; bottom: auto;
  width: 100%;
  text-align: center;
  z-index: auto;
  display: none; /* Show only when needed by JS */
  pointer-events: none;
  margin-top: 28px;      /* Add spacing above the button */
  margin-bottom: 0;
  clear: both;           /* Just in case any floats above */
}
.replay-btn-wrap .replay-btn {
  pointer-events: auto;
  /* Inherits .button styles */
  min-width: 200px;
  padding: 14px 32px;
  font-size: 12px;
  margin: 0 auto;
  width: auto;
}

/* ===== Responsive ===== */
@media (max-width: 800px) {
  .button, .sidebar-btn, .contact-btn, .replay-btn {
    min-width: 120px;
    width: 100%;
    max-width: 320px;
    margin-bottom: 10px;
  }
  .replay-btn-wrap {
    margin-top: 20px;
    margin-bottom: 0;
  }
}
@media (max-width: 600px) {
  .replay-btn-wrap {
    margin-top: 32px;
  }
}

/* ===== Thank You Message Centered ===== */
.contact-end {
  text-align: center;
  margin-top: 32px;
}
.thankyou-msg {
  margin: 0 auto;
  text-align: center;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.01em;
}

/* About card name */
.blue .about-header-card h3.about-name { 
  color: #cfe3ff;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-align: center;
}

/* Links */
.blue a, .blue .about-contact a { 
  color: #b4c0cc;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.18s, font-weight 0.18s;
}
.blue a.linkedin-link { 
  color: #93b1ed;
  font-weight: 400;
}
.blue a:hover,
.blue a:focus,
.blue .about-contact a:hover,
.blue .about-contact a:focus { 
  color: #ee6817;
  font-weight: 500;
  text-decoration: underline;
}
.button,
.contact-btn,
.sidebar-btn {
  display: inline-block;
  min-width: 140px;
  padding: 14px 22px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 10px;
  border: 2px solid #93b1ed; /* Light blue border */
  background: #26242c;        /* Charcoal background */
  color: #e5e5e5;
  box-shadow: 0 0 12px 1.5px #2255a5, 0 1px 6px rgba(60,80,110,0.14); /* Subtle blue glow */
  text-align: center;
  transition: 
    background 0.18s, 
    color 0.18s, 
    border 0.18s, 
    box-shadow 0.18s;
  cursor: pointer;
  margin: 0;
  outline: none;
}

.button:hover, .button:focus-visible,
.contact-btn:hover, .contact-btn:focus-visible,
.sidebar-btn:hover, .sidebar-btn:focus-visible {
  border-color: #2255A5;
  background: #1b2230;
  color: #fff;
  letter-spacing: 0.03em;
  box-shadow: 0 0 22px 3px #2255A5, 0 2px 10px rgba(60,80,110,0.19);
  outline: none;
}

.contact-btn-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 32px auto 0 auto;
  width: 100%;
  max-width: 380px; 
}

.contact-btn-row .button,
.contact-btn-row .contact-btn {
  color: #e5e5e5 !important; 
  background: #26242c;
  border: 2px solid #93b1ed;
  box-shadow: 0 0 14px 2.5px #2255a5, 0 2px 8px rgba(60,80,110,0.13);
  font-family: 'Oswald', sans-serif;
  min-width: 190px;
  max-width: 270px;
  flex: 1 1 0;
  text-align: center;
  margin: 0;
  outline: none;
}

/* Fix centering for small screens */
@media (max-width: 600px) {
  .contact-btn-row {
    flex-direction: column;
    gap: 14px;
    max-width: 95vw;
    width: 100%;
  }
  .contact-btn-row .button,
  .contact-btn-row .contact-btn {
    width: 100%;
    min-width: 110px;
    max-width: 99vw;
  }
}

/* For sidebar buttons (optional, for width match) */
.sidebar-resume .sidebar-btn {
  width: 88%;
  max-width: 240px;
  display: block;
  margin: 0 auto 18px auto;
}

@media (max-width: 500px) {
  .contact-btn-row {
    flex-direction: column;
    gap: 14px;
    margin-top: 18px;
  }
  .button, .contact-btn, .sidebar-btn {
    min-width: 120px;
    width: 100%;
    box-sizing: border-box;
  }
}

/* ===================== Profile Image ===================== */
img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-backface-visibility: hidden;
}
.profile-img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  margin: 0 auto;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.09);
  transition: transform 0.16s, box-shadow 0.14s;
}
.profile-img:hover, 
.about-img-link:focus .profile-img {
  transform: scale(1.03) rotate(-2deg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.17);
}
.about-img-link {
  display: inline-block;
  text-decoration: none;
}

/* ========== Sidebar Logo ========== */
.logo {
  display: flex;
  justify-content: center;
  align-items: center; 
  text-align: center;
  width: 100%;   
  margin: 0;
  padding: 0px 0 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  background: rgba(70,80,140,0.11);
  box-shadow: 0 2px 18px 0 #4a5c9952;
}
.logo img {
  max-width: 100%;
  width: 100%;  
  height: auto;
  opacity: 0;
  transform: translateY(-24px) scale(0.97);
  animation: logoFadeIn 0.6s 0.13s cubic-bezier(.44,.08,.52,1.06) forwards;
}
@keyframes logoFadeIn {
  to { opacity: 1; transform: none; }
}
.logo span {
  display: none;
}

/* ===================== Video ===================== */
#media-container {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}
#video-image-toggle {
  position: relative;
  max-width: 600px;
  margin: 0 auto 5px auto;
  text-align: center;
}
#video-image-toggle img,
#video-image-toggle video {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(0,0,0,0.11);
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.13s;
}
#video-image-toggle img:hover {
  transform: scale(1.02) rotate(-2deg);
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}
#intro-video {
  display: none;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.09);
}
.video-controls-float {
  position: absolute;
  right: 18px;
  bottom: 25px;  /*video controls raised from bottom */
  z-index: 10;
  display: flex;
  gap: 0px;
  align-items: center;
  background: rgba(28,28,28,0.34);  /* Subtle semi-transparent background */
  box-shadow: none;
  border-radius: 8px;        /* Small rounding for button grouping */
  padding: 2px 6px;
  opacity: 0.92;             /* Make the whole group slightly transparent */
  transition: opacity 0.2s;
}
.video-controls-float button {
  background: transparent; 
  color: #fff;
  border: none;
  padding: 7px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.13);
  transition: background 0.13s, transform 0.1s;
  outline: none;
}
.video-controls-float button:focus-visible {
  background: #ee6817;
  outline: 2px solid #fff;
}
.video-controls-float button:hover {
  background: rgba(255,255,255,0.22);
  color: #222;
  transform: scale(1.06);
}
@media (max-width: 480px) {
  .video-controls-float {
    right: 4px;
    bottom: 4px;
    padding: 4px;
  }
}
#video-caption {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-weight: bold;
  font-size: 15px;
  color: #2255A5;
  display: block;
  margin: 18px auto 10px auto;
  letter-spacing: 0.03em;
  text-align: center;
}

/* ================== Sidebar ================== */
.menu {
  display: flex;
  flex-direction: column;
  flex: 0 0 280px;
  width: 280px;
  position: fixed;
  z-index: 100; /* base desktop z-index */
  color: #f8f8f8;
  background: linear-gradient(160deg, #474c54 0%, #38393b 100%);
  left: 0;
  top: 0;
  bottom: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-radius: 0 0 14px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.13);
  overflow-y: auto;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.2s;
  animation: logoFadeIn 0.7s 0.25s forwards cubic-bezier(.4,0,.2,1);
}
@keyframes logoFadeIn {
  to { opacity: 1; transform: scale(1); }
}

.menu nav {
  width: 100%;
  margin: 10px 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.menu nav a {
  display: block;
  padding: 9px 0;
  text-align: left;
  margin: 0 24px;
  border-bottom: 1px solid rgba(235,235,235,0.08);
  font-family: 'Tahoma', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #aaa;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  background: none;
  transition: color 0.2s;
  opacity: 0;
  transform: translateY(-16px);
  animation: navFadeIn 0.48s forwards cubic-bezier(.43,.06,.47,.98);
}
@media (max-width: 900px) {
  .menu {
    transform: translateX(-105%);
    opacity: 0;
    pointer-events: none;
    z-index: 999;  /* sidebar base, just in case */
  }
  .menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    z-index: 9999; /* sidebar at top when open */
    box-shadow: 2px 0 16px rgba(0,0,0,0.18);
  }
  .menu-link {
    display: block;
    position: fixed;
    left: 18px;
    top: 18px;
    width: 48px;
    height: 48px;
    z-index: 10001; /* always above sidebar */
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
  }
  .menu-link span,
  .menu-link:before,
  .menu-link:after {
    display: block;
    width: 32px;
    height: 5px;
    background: #2255A5;
    margin: 0px 0px 0px 0px;
    border-radius: 3px;
    content: "";
    transition: all 0.2s cubic-bezier(.4,0,.2,1);
  }

  /* Overlay for mobile menu */
  .menu-overlay {
    display: none;
    position: fixed;
    z-index: 9998; /* under the sidebar, over the content */
    left: 0; right: 0; top: 0; bottom: 0;
    background: rgba(44,44,44,0.5);
    transition: opacity 0.25s;
    opacity: 0;
    pointer-events: none;
  }
  .menu.open ~ .menu-overlay {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 900px) {
  .content-scroller {
    margin-left: 0 !important;
    width: 100vw !important;
  }
}

/* Stagger each link for cascade effect */
.menu nav a:nth-child(1) { animation-delay: 0.22s; }
.menu nav a:nth-child(2) { animation-delay: 0.30s; }
.menu nav a:nth-child(3) { animation-delay: 0.38s; }
.menu nav a:nth-child(4) { animation-delay: 0.46s; }
.menu nav a:nth-child(5) { animation-delay: 0.54s; }
.menu nav a:nth-child(6) { animation-delay: 0.62s; }
.menu nav a:nth-child(7) { animation-delay: 0.70s; }
@keyframes navFadeIn {
  to { opacity: 1; transform: none; }
}
.menu nav a::after {
  content: '';
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #9baed4 40%, #2255A5 100%);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.menu nav a:hover::after,
.menu nav a:focus-visible::after {
  transform: scaleX(1);
}
.menu nav a:hover,
.menu nav a:focus-visible {
  color: #2255A5;
  text-decoration: none;
  outline: none;
}
.menu nav a span {
  display: block;
  padding: 8px 10px 8px 0;
}
.menu nav a span.active {
  color: #93b1ed;
  font-weight: 700;
  position: relative;
}
.menu nav a span.active::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 10px;
  height: 24px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #9baed4 0%, #2255A5 100%);
  box-shadow: 0 0 8px 2px #2255A5;
}
.menu nav a span:nth-child(2) {
  color: #fff;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  padding-top: 3px;
}

/* Hamburger always hidden on desktop */
.menu-link {
  display: none;
}
@media (min-width: 901px) {
  .menu-link {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .menu {
    transform: translateX(-105%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: 999 !important;
  }
  .menu.open {
    transform: translateX(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 9999 !important;
  }
  .menu-link {
    display: block !important;
    position: fixed;
    left: 18px;
    top: 18px;
    width: 48px;
    height: 48px;
    z-index: 10001;
  }
}

/* ================== Social Media ================== */
.menu .about-contact {
  display: flex;
  flex-direction: column;
  align-items: center;       /* Center everything horizontally */
  justify-content: center;   /* Just in case multiple rows */
  padding: 18px 0 8px 0;
}

.menu .about-contact li {
  display: flex;
  justify-content: center;   /* Center the content in the li */
  width: 100%;
  margin-bottom: 8px;
}

.menu .about-contact a.linkedin-link {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 16px;
  margin-top: 4px;
  color: #0077b5;           /* LinkedIn Blue */
  text-align: center;
  transition: color 0.2s;
}

.menu .about-contact a.linkedin-link i {
  font-size: 16px;
  margin-right: 8px;
  color: #0077b5;
}

/* LinkedIn hover effect */
.menu .about-contact a.linkedin-link:hover,
.menu .about-contact a.linkedin-link:focus {
  color: #005983;
  text-decoration: underline;
}

.menu .about-contact a.linkedin-link:hover i,
.menu .about-contact a.linkedin-link:focus i {
  color: #005983;
}


/* ========== Copyright ========== */
.copyright {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 20px;
  padding-bottom: 14px; 
  text-align: center;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  color: #b8b8b8;
  opacity: 0.48;
  letter-spacing: 1px;
  line-height: 1.3;
  z-index: 99;
}

/* ========== 404 Page Utility ========== */
.no-page, .no-page-text {
  margin: 0 auto;
  max-width: 600px;
  text-align: center;
  padding-top: 5vh;
  color: #fa9232;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  letter-spacing: 1.1px;
}

/* ================== Page Containers ================== */
.about-container,
.leadership-container,
.philanthropy-container,
.creativework-container,
.education-container,
.references-container,
.contact-container {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0;
  position: relative;
  transition: background 0.3s linear;
  align-items: stretch;
  justify-content: flex-start;
  box-shadow: none;
  padding: 0;
}
.contact-container {
  scroll-snap-align: start;
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 320px;
  flex: 0 0 100vw !important;
  height: 100vh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0;
  position: relative;
  transition: background 0.3s linear;
  align-items: stretch;
  justify-content: flex-start;
  box-shadow: none;
  padding: 0;
}

/* ======= Page Inner ======= */
.about-inner,
.leadership-inner,
.philanthropy-inner,
.creativework-inner,
.education-inner,
.references-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 40px 30px 0 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 40px 0 0 0;
  box-sizing: border-box;
}

.calendar-iframe-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 36px 0 32px 0;
}
.calendar-iframe-wrap iframe {
  width: 1200px;
  max-width: 100vw;
  min-width: 320px;
  height: 750px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 18px rgba(0,0,0,0.10);
  background: #fff;
  display: block;
}

.about-list, .leadership-list, .philanthropy-list,
.creativework-list, .education-list, .references-list, .contact-list {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.about-details, .leadership-details, .philanthropy-details,
.creativework-details, .education-details, .references-details, .contact-details {
  width: 100%;
  margin: 5px 0px 0px 0px;  /* top  right bottom left */
  padding: 0;
  box-sizing: border-box;
}
.about-details:last-child,
.leadership-details:last-child,
.philanthropy-details:last-child,
.creativework-details:last-child,
.education-details:last-child,
.references-details:last-child,
.contact-details:last-child {
  margin-bottom: 0;
}

/* Space above the contact card */
.about-header-card {
  margin-top: 60px;
}
.about-list {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.about-details {
  width: 100%;
  margin: 10px 0px 10px 0px;  /* top  right bottom left */
  padding: 0;
  box-sizing: border-box;
}
.about-details:last-child { margin-bottom: 0; }
.about-details h4,
.about-details h5 {
  margin: 0px 0px 0px 0px;  /* top  right bottom left */
  font-weight: 500;
  color: #1B2838;
}
.about-details span {
  display: block;
  font-size: 14px;
  color: #3c4657;
  margin-bottom: 0px 0px 0px 0px;  /* top  right bottom left */
}
.about-details p {
  margin: 0px 0px 0px 0px;  /* top  right bottom left */
  color: #3c4657;
  font-size: 1.09em;
  line-height: 1.55;
  font-weight: 300;
  padding: 0;
  letter-spacing: 0.01em;
}

.menu .about-header-card {
    background: #898b8f;
    padding: 16px 18px;
    border-radius: 14px;
    margin-bottom: 22px;
    box-shadow: 0 1px 7px rgba(0,0,0,0.09);
}
.menu .about-contact li {
    list-style: none;
    padding-bottom: 8px;
    color: #222;
}
.menu .about-contact li a {
    color: #2a4fa5;
    font-weight: 500;
    font-size: 1em;
}

/* ========== Page Details  ========== */
[class$="-details"] {
  width: 100%;
  margin: 10px 0px 10px 0px;  /* top  right bottom left */
  padding: 0;
  box-sizing: border-box;
}
[class$="-details"]:last-child { margin-bottom: 0; }
[class$="-details"] h4, [class$="-details"] h5 {
  margin: 0px 0px 0px 0px;  /* top  right bottom left */
  font-weight: 500;
  color: inherit;
}
[class$="-details"] span {
  display: block;
  font-size: 14px;
  color: inherit;
  margin-bottom: 0px 0px 0px 0px;  /* top  right bottom left */
}
[class$="-details"] p {
  margin: 0px 0 0px 0;
  font-size: 1.09em;
  line-height: 1.55;
  font-weight: 300;
  padding: 0;
  letter-spacing: 0.01em;
  color: inherit;
}

/* ========== About ========== */
.about-header-card {
  background: rgba(34, 34, 34, 0.10);
  border-radius: 12px;
  box-shadow: 0 2px 18px rgba(0,0,0,0.10);
  max-width: 235px;
  width: 100%;
  margin: 10px auto 0 auto;
  padding: 20px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-header-card h3.about-name {
  text-align: center;
  margin-bottom: 14px;
  font-size: 1.32rem;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  color: inherit;
}
.about-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: center;
}
.about-contact li {
  margin-bottom: 13px;
  font-size: 1em;
}
.about-contact li:last-child {
  margin-bottom: 0;
}
.about-contact a {
  transition: color 0.18s;
  text-decoration: none;
  word-break: break-all;
  color: inherit;
}
.about-contact a:hover,
.about-contact a:focus {
  color: #2255A5;
}


/* ==================== Theme Backgrounds ==================== */
.grey, .grey-bg { background: #898b8f !important; }
.blue, .blue-bg { background: #485e7d !important; }

/* ========== THEME COLOR OVERRIDES ========== */
/* --- GREY THEME --- */
.grey, .grey-bg {
  background: #898b8f !important;
  color: #22303a;
}

/* Headers */
.grey h1, .grey-bg h1 {
  color: #2c3441;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  background: #e4e5e7;
  border-radius: 1em;
  padding: 0.25em 1em 0.18em 1em;
  box-shadow: 0 2px 8px rgba(60,80,110,0.04);
  letter-spacing: 1.1px;
}

.grey h2, .grey-bg h2 {
  color: #2c3441;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  text-align: center;
  letter-spacing: 1.1px;
}

.grey h3, .grey-bg h3 {
  color: #374757;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: .8px;
}

.grey h4, .grey-bg h4 {
  color: #455466;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.grey h5, .grey-bg h5 {
  color: #5c6a79;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.grey p, .grey-bg p,
.grey [class$="-details"] p, .grey-bg [class$="-details"] p {
  color: #2d3a4a;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 15px;
  letter-spacing: 0.5px;
  opacity: 1;
  margin: 0px 0px 0px 0px;  /* top  right bottom left */
  padding: 5px 0 7px 0;  /* top  right bottom left */
  width: 100%;
  box-sizing: border-box;
  word-break: normal;
}
.grey [class$="-details"] p:last-child,
.grey-bg [class$="-details"] p:last-child {
  margin-bottom: 0;
}

/* Bulleted/numbered lists inside details */
.grey [class$="-details"] ul,
.grey-bg [class$="-details"] ul {
  margin-left: 1.2em;
  margin-bottom: 18px;
  padding-left: 0;
}
.grey [class$="-details"] ul:last-child,
.grey-bg [class$="-details"] ul:last-child {
  margin-bottom: 0;
}

/* Details Headings and Meta */
.grey [class$="-details"] h4, .grey-bg [class$="-details"] h4,
.grey [class$="-details"] h5, .grey-bg [class$="-details"] h5 {
  color: #31404c;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  margin: 0px 0px 0px 0px;  /* top  right bottom left */
}

.grey [class$="-details"] span, .grey-bg [class$="-details"] span {
  color: #586376;
  font-weight: 400;
  font-size: 0.98em;
  opacity: 0.88;
  display: block;
  margin-bottom: 0px 0px 0px 0px;  /* top  right bottom left */
}

/* About card  */
.grey .about-header-card h3.about-name { 
  color: #205f9e;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-align: center;
}

/* Links */
.grey a, .grey .about-contact a { 
  color: #22303a;
  font-family: 'Roboto', sans-serif;
  font-weight: 450;
  text-decoration: none;
  transition: color 0.18s, font-weight 0.18s;
}
.grey a.linkedin-link { 
  color: #0A66C2;
  font-weight: 400;
}
.grey a:hover,
.grey a:focus,
.grey .about-contact a:hover,
.grey .about-contact a:focus { 
  color: #ee6817;
  font-weight: 500;
  text-decoration: underline;
}

/* ==================== BLUE THEME OVERRIDES ==================== */
.blue, .blue-bg {
  background: #485e7d !important;
  color: #b4c0cc;
}

/* Headers */
.blue h1, .blue-bg h1 {
 color: #cfe3ff;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  background: #273954;
  border-radius: 1em;
  padding: 0.25em 1em 0.18em 1em;
  box-shadow: 0 2px 8px rgba(60,80,110,0.06);
  letter-spacing: 1.1px;
}

.blue h2, .blue-bg h2 {
  color: #cfe3ff;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  text-align: center;
  letter-spacing: 1px;
}

.blue h3, .blue-bg h3 {
  color: #b4c0cc;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: .8px;
}

.blue h4, .blue-bg h4 {
  color: #b4c0cc;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  letter-spacing: 0.8px;
}

.blue h5, .blue-bg h5 {
  color: #b4c0cc;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  letter-spacing: 0.6px;
}

.blue p, .blue-bg p,
.blue [class$="-details"] p, .blue-bg [class$="-details"] p {
  color: #e0e0e0;
  font-family: 'Roboto', sans-serif;
  font-weight: 350;
  line-height: 1.6;
  font-size: 15px;
  letter-spacing: 0.01em;
  opacity: 0.95;
  margin: 0px 0 0px 0;  /* top  right bottom left */
  padding: 5px 0 7px 0;  /* top  right bottom left */
  width: 100%;
  box-sizing: border-box;
  word-break: normal;
}
.blue [class$="-details"] p:last-child,
.blue-bg [class$="-details"] p:last-child {
  margin-bottom: 0;
}

/* Bulleted/numbered lists inside details */
.blue [class$="-details"] ul,
.blue-bg [class$="-details"] ul {
  margin-left: 1.2em;
  margin-bottom: 18px;
  padding-left: 0;
}
.blue [class$="-details"] ul:last-child,
.blue-bg [class$="-details"] ul:last-child {
  margin-bottom: 0;
}

/* Details Headings and Meta */
.blue [class$="-details"] h4, .blue-bg [class$="-details"] h4,
.blue [class$="-details"] h5, .blue-bg [class$="-details"] h5 {
  color: #cfe3ff;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  margin: 0px 0px 0px 0px;  /* top  right bottom left */
}

.blue [class$="-details"] span, .blue-bg [class$="-details"] span {
  color: #aaaaaa;
  font-weight: 400;
  font-size: 0.98em;
  opacity: 0.93;
  display: block;
  margin-bottom: 0px 0px 0px 0px;  /* top  right bottom left */
}

/* ================== Access Gate ================== */
#gate {
    display: flex;
    inset: 0;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: rgba(24, 31, 53, 0.98);
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
}
.gate-content {
    background: #222b43;
    border-radius: 16px;
    padding: 2rem 2.5rem;
    box-shadow: 0 4px 24px #0008;
    max-width: 420px;
    width: 100%;
    text-align: center;
    margin: 0 1rem;
    /* Smooth appearance on mobile */
    animation: fadeInGate 0.6s cubic-bezier(0.17,0.67,0.83,0.67);
}
@keyframes fadeInGate {
    from { transform: translateY(-30px) scale(0.98); opacity: 0; }
    to { transform: none; opacity: 1; }
}
.gate-content input[type=password] {
    width: 80%;
    padding: 0.6em 0.8em;
    font-size: 1em;
    border-radius: 6px;
    border: 1px solid #2a3655;
    margin-bottom: 1em;
    background: #151b2a;
    color: #e8e8e8;
}
.gate-content button {
    background: #3472f7;
    color: #fff;
    border: none;
    padding: 0.7em 2em;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
}
.gate-content button:hover {
    background: #1a49a1;
}
#code-error {
    margin-top: 1em;
    color: #e2474b;
    min-height: 2em;
    font-weight: 600;
}

/* ================== Responsive Breakpoints ================== */
/* Desktop and large screens */
@media (min-width: 901px) {
  /* All slides EXCEPT contact are fixed width */
  .about-container,
  .leadership-container,
  .philanthropy-container,
  .creativework-container,
  .education-container,
  .references-container {
    width: 1000px !important;
    max-width: 1000px !important;
    min-width: 1000px !important;
    flex: 0 0 1000px !important;
    height: 100vh;
    box-sizing: border-box;
    padding: 0;
  }
  /* Contact slide is always full width */
  .contact-container {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 320px;
    flex: 0 0 100vw !important;
    height: 100vh;
    box-sizing: border-box;
    padding: 0;
  }
  /* Inner wrappers: center and limit content for readability */
  .about-inner,
  .leadership-inner,
  .philanthropy-inner,
  .creativework-inner,
  .education-inner,
  .references-inner {
    max-width: 1000px !important;
    width: 100% !important;
    margin: 0 auto;
    padding: 40px 30px 0 80px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
  }
  .contact-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px 0 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
  }
}

/* Tablet and below: all slides full width */
@media (max-width: 900px) {
  .about-container,
  .leadership-container,
  .philanthropy-container,
  .creativework-container,
  .education-container,
  .references-container,
  .contact-container {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 220px !important;
    flex: 0 0 100vw !important;
    height: 100vh;
    box-sizing: border-box;
    padding: 0;
  }
  .about-inner,
  .leadership-inner,
  .philanthropy-inner,
  .creativework-inner,
  .education-inner,
  .references-inner,
  .contact-inner {
    width: 100%;
    max-width: 98vw;
    margin: 0 auto;
    padding: 18px 4vw 0 4vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
  }

  /* Sidebar/Hamburger menu for mobile */
  .menu-link {
    display: block;
    position: fixed;
    left: 18px;
    top: 18px;
    width: 48px;
    height: 48px;
    z-index: 1100;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: none;
  }
  .menu-link span {
    display: block;
    width: 32px;
    height: 5px;
    background: #7c9ebf;
    margin: 6px 0;
    border-radius: 3px;
    transition: all 0.2s cubic-bezier(.4,0,.2,1);
  }
  .menu {
    transform: translateX(-105%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.2s;
    z-index: 999;
  }
  .menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    z-index: 1099;
  }
  .content-scroller {
    margin-left: 0 !important;
    width: 100vw !important;
  }
}

/* Small mobile: reduce inner padding for breathing room */
@media (max-width: 600px) {
  .about-inner,
  .leadership-inner,
  .philanthropy-inner,
  .creativework-inner,
  .education-inner,
  .references-inner,
  .contact-inner {
    max-width: 100vw;
    padding: 10px 2vw 0 2vw;
    box-sizing: border-box;
  }
}
