.customWhiteText {
  color: white;
}

/* Begin Self Typing Developer */

.selfTypingText {
  font-size: 12pt;
  letter-spacing: unset;
}

/* End Self Typing Developer */

.m-b-15 {
  padding-top: 45px;
}

.removeSpaceForMobileText {
  margin-bottom: 20px !important;
}

/* Add text "Double tap 'Download Resume' to view */
@media only screen and (min-width: 550px) {
  .mobileDownloadResumeText {
    display: none;
  }
}

/* Formatting for my LinkedIn and GitHub profiles */
.linkedInAndGitHub {
  color: white;
}

/* Simple class for Verdana font */
.verdanaFont {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* Class just for removing the default uppercase */
.removeUppercase {
  text-transform: none;
}

.customPaddingTopSubheading {
  padding-top: 25px;
}

/* Need a custom color for the additional links to GitHub and LinkedIn to go with the footer color */
.footerLinkColor {
  color: azure;
}

/* Padding for the Featured Projects section (slides-navigation arrows) on mobile display */
@media (max-width: 500px) {
  .paddingForMobileDisplay1 {
    padding-bottom: 120px;
  }
  .paddingForMobileDisplay2 {
    padding-bottom: 70px;
  }

  .m-b-15 {
    padding-top: 0px;
  }
}

#customDownPad {
  padding-bottom: 95px;
}

.disabledUppercase {
  text-transform: none;
}

.digitalPortfolioBanner {
  text-transform: none;
  text-align: right;
}


.module-header h1.h1, .module-slides h1.h1 {
  letter-spacing: 20px;
  font-size: 32px;
  margin-right: -20px;
  margin-top: 20px;
}

/* Minimal Footer Styles */
.footer {
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo img {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-logo img:hover {
  opacity: 1;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.social-icon:hover::before {
  left: 100%;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-icon i {
  font-size: 18px;
  z-index: 1;
  position: relative;
}

.footer-copyright {
  background: transparent !important;
}
.footer-copyright p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 0;
  font-weight: 300;
  background: transparent !important;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }
  
  .footer-social {
    order: -1;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 25px 0;
    margin-top: 40px;
  }
  
  .social-icon {
    width: 35px;
    height: 35px;
  }
  
  .social-icon i {
    font-size: 16px;
  }
}

/* Hide the mobile menu toggle (hamburger) on screens 768px or less. 
   This disables the mobile nav menu button for mobile users. */
@media (max-width: 768px) {
  .nav-toggle {
    display: none !important;
  }
}

:root {
  --cot-midnight: #040b1e;
  --cot-navy: #0b1f3d;
  --cot-royal: #1e3a8a;
  --cot-indigo: #3730a3;
  --cot-plum: #4c1d95;
  --cot-teal: #2dd4bf;
  --cot-emerald: #38bdf8;
  --cot-amber: #fbbf24;
  --cot-rose: #818cf8;
  --cot-cream: #f8fafc;
  --cot-slate: rgba(203, 213, 225, 0.85);
  --cot-ice: rgba(148, 163, 184, 0.28);
}

/* Chain-of-Thought Model Slide Styles */
.cot-slide {
  position: relative;
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: flex-start;
}

/* Featured Project Section (Standalone) */
.module-featured-project {
  position: relative;
  min-height: 100vh;
  overflow: visible;
  padding: 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.module-featured-project img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.cot-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(140deg,
    rgba(4, 11, 30, 0.96) 0%,
    rgba(11, 31, 61, 0.92) 48%,
    rgba(30, 58, 138, 0.86) 78%,
    rgba(45, 212, 191, 0.22) 100%);
  z-index: 1;
}

.cot-container {
  position: relative;
  z-index: 2;
  padding: 40px 0;
  width: 100%;
}

/* Specific styling for cot-container in carousel slides */
.module-slides .cot-container {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Specific styling for cot-container in standalone section */
.module-featured-project .cot-container {
  min-height: auto;
  padding: 60px 0;
  overflow: visible;
}

/* Custom scrollbar for webkit browsers */
.cot-container::-webkit-scrollbar {
  width: 8px;
}

.cot-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.cot-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.cot-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Header Section */
.cot-header {
  text-align: center;
  margin-bottom: 30px;
}


.cot-badge {
  display: inline-block;
  background: linear-gradient(160deg, rgba(8, 18, 36, 0.9), rgba(15, 32, 52, 0.88));

  color: var(--cot-cream);
  padding: 8px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: none !important;
  letter-spacing: 1.5px;
  box-shadow: 0 12px 30px rgba(30, 64, 122, 0.35), 0 12px 30px rgba(45, 212, 191, 0.2);
  border: 1px solid;
    border-color: rgba(129, 140, 248, 0.38);
    box-shadow: 0 20px 48px rgba(76, 81, 191, 0.22);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.92), rgba(129, 140, 248, 0.9));
}

.cot-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--cot-cream);
  margin-bottom: 18px;
  text-shadow: 0 10px 35px rgba(4, 11, 30, 0.6), 0 0 22px rgba(45, 212, 191, 0.18);
}

.cot-subtitle {
  font-size: 18px;
  color: rgba(226, 232, 240, 0.82);
  margin-bottom: 0;
  font-weight: 300;
}

/* Thinking Process Section */
.cot-thinking-process {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 30px 0;
  gap: 15px;
}

.thought-bubble {
  background: rgba(8, 20, 40, 0.82);
  border-radius: 20px;
  padding: 20px;
  min-width: 180px;
  position: relative;
  box-shadow: 0 18px 45px rgba(4, 11, 30, 0.55);
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
  border: 1px solid var(--cot-ice);
}

.thought-bubble::before {
  /* content: ''; */
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid rgba(8, 20, 40, 0.82);
}

.thought-bubble:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 22px 55px rgba(4, 11, 30, 0.65);
}

.gpt-agent {
  background: linear-gradient(155deg, rgba(8, 26, 46, 0.92), rgba(56, 189, 248, 0.18));
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 48px rgba(37, 99, 235, 0.22);
}

.gpt-agent::before {
  border-top-color: rgba(8, 26, 46, 0.92);
}

.manager-agent {
  background: linear-gradient(155deg, rgba(11, 24, 52, 0.92), rgba(99, 102, 241, 0.18));
  border-color: rgba(129, 140, 248, 0.38);
  box-shadow: 0 20px 48px rgba(76, 81, 191, 0.22);
}

.manager-agent::before {
  border-top-color: rgba(11, 24, 52, 0.92);
}

.final-output {
  background: linear-gradient(155deg, rgba(15, 32, 52, 0.9), rgba(251, 191, 36, 0.16));
  border-color: rgba(251, 191, 36, 0.32);
  box-shadow: 0 22px 52px rgba(15, 32, 52, 0.35);
}

.final-output::before {
  border-top-color: rgba(15, 32, 52, 0.9);
}

.bubble-content {
  text-align: center;
}

.agent-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 15px;
  color: white;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 12px 28px rgba(4, 11, 30, 0.32);
}

.gpt-badge {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.92), rgba(37, 99, 235, 0.92));
}

.manager-badge {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.92), rgba(129, 140, 248, 0.9));
}

.final-badge {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.9), rgba(249, 115, 22, 0.78));
  color: #241708;
}

.bubble-content p {
  color: rgba(236, 241, 255, 0.88);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 16px;
}

.code-snippet {
  background: #1e1e1e;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 10px;
}

.code-snippet code {
  color: var(--cot-teal);
  font-family: 'Courier New', monospace;
  font-size: 12px;
  font-weight: 500;
}

.thought-arrow {
  font-size: 24px;
  color: rgba(125, 211, 252, 0.85);
  font-weight: bold;
  text-shadow: 0 2px 12px rgba(59, 130, 246, 0.35);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Neural Network Visualization */
.cot-neural-viz {
  position: relative;
  height: 60px;
  margin: 25px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}


.neural-node {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(45deg, #4fc3f7, #29b6f6);
  position: relative;
  margin: 0 25px;
  box-shadow: 0 0 15px rgba(79, 195, 247, 0.6);
  animation: neuralPulse 3s infinite ease-in-out;
}

.neural-node.node-2 {
  animation-delay: 0.5s;
}

.neural-node.node-3 {
  animation-delay: 1s;
}

@keyframes neuralPulse {
 0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(79, 195, 247, 0.6); }
  50% { transform: scale(1.2); box-shadow: 0 0 30px rgba(79, 195, 247, 0.9); }
}

.neural-connection {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, #4fc3f7, #29b6f6);
  top: 50%;
  animation: dataFlow 2s infinite ease-in-out;
}

.neural-connection.conn-1 {
  left: 25%;
  width: 25%;
}

.neural-connection.conn-2 {
  right: 25%;
  width: 25%;
  animation-delay: 0.5s;
}

@keyframes dataFlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* Example Section */
.cot-example-section {
  text-align: center;
  margin-top: 30px;
}

.example-header h3 {
  color: var(--cot-cream);
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 600;
  background: linear-gradient(120deg, rgba(94, 234, 212, 0.85), rgba(125, 211, 252, 0.9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.example-header p {
  color: rgba(203, 213, 225, 0.78);
  font-size: 16px;
  margin-bottom: 30px;
}


.conversation-example {
  background: linear-gradient(160deg, rgba(8, 18, 36, 0.9), rgba(15, 32, 52, 0.88));
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 30px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(79, 70, 229, 0.25);
  box-shadow: 0 18px 45px rgba(4, 11, 30, 0.5);
}

.user-query-box {
  /* background: #0b90ef; */
  color: var(--cot-cream);
  padding: 15px 20px;
  border-radius: 15px;
  margin-bottom: 20px;
  font-size: 16px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 12px 32px rgba(30, 64, 122, 0.32);
}

.agent-conversation {
  display: flex;
  flex-direction: column;
  gap: 15px;
}



.agent-response {
  padding: 15px 20px;
  border-radius: 15px;
  border-left: 4px solid;
  font-size: 14px;
  line-height: 1.5;
  background: rgba(6, 14, 28, 0.75);
  box-shadow: 0 12px 32px rgba(4, 11, 30, 0.42);
}

.gpt-response {
  background: linear-gradient(160deg, rgba(8, 28, 46, 0.9), rgba(56, 189, 248, 0.14));
  border-left-color: rgba(56, 189, 248, 0.65);
}

.manager-response {
  background: linear-gradient(160deg, rgba(12, 24, 52, 0.9), rgba(99, 102, 241, 0.16));
  border-left-color: rgba(129, 140, 248, 0.6);
}

.refined-response {
  background: linear-gradient(160deg, rgba(15, 29, 52, 0.9), rgba(251, 191, 36, 0.16));
  border-left-color: rgba(251, 191, 36, 0.5);
}

.agent-label {
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--cot-slate);
  font-size: 14px;
}

.gpt-response .agent-label {
  color: rgba(125, 211, 252, 0.9);
}

.manager-response .agent-label {
  color: rgba(165, 180, 252, 0.85);
}

.refined-response .agent-label {
  color: rgba(251, 191, 36, 0.72);
}



.completion-message {
  background: linear-gradient(135deg, rgba(6, 15, 30, 0.95) 0%, rgba(49, 74, 134, 0.88) 55%, rgba(251, 191, 36, 0.55) 100%);
  border-radius: 15px;
  padding: 25px;
  margin: 30px 0;
  text-align: center;
  color: white;
  box-shadow: 0 18px 48px rgba(4, 11, 30, 0.5);
  border: 1px solid rgba(129, 140, 248, 0.25);
}

.completion-message h4 {
  margin: 0 0 15px 0;
  font-size: 22px;
  font-weight: 600;
  color: rgba(251, 191, 36, 0.85);
  text-shadow: 0 2px 12px rgba(251, 191, 36, 0.35);
}

.completion-message p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.88);
}


.agent-response p {
  margin: 0;
  color: rgba(236, 241, 255, 0.88);
  font-style: italic;
}

.iteration-arrow {
  text-align: center;
  font-size: 20px;
  color: rgba(148, 163, 255, 0.8);
  font-weight: bold;
  margin: 10px 0;
  animation: bounce 2s infinite;
  text-shadow: 0 0 12px rgba(79, 70, 229, 0.4);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Interactive Demo Button */
.cot-demo-btn {
  position: relative;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.95), rgba(79, 70, 229, 0.95));
  background-size: 180% 180%;
  border: none;
  border-radius: 50px;
  padding: 15px 40px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(30, 64, 122, 0.35), 0 12px 35px rgba(56, 189, 248, 0.25);
  animation: gradientShift 6s ease infinite;
  min-width: 320px;
  padding-left: 60px;
  padding-right: 60px;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cot-demo-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(30, 64, 122, 0.35), 0 20px 50px rgba(56, 189, 248, 0.25);
}

.cot-demo-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(4, 11, 30, 0.45);
}

.btn-glow {
  display: none !important;
}

.cot-demo-btn .btn-text {
  color: white !important;
}

/* Add significant padding below the Drive button in hero section */
.cot-demo-btn[href="http://mbogard.com/fun/"] {
  margin-bottom: 150px;
}

/* Add padding below the See Full Interaction button */
.cot-demo-btn[onclick="showCotDemo()"] {
  margin-bottom: 80px;
}

/* Override uppercase text transform for specific slides */
/* Larger font for top line headings in slides */
.module-slides h1.h5.removeUppercase {
    font-size: 16px !important;
}

/* Always override uppercase and letter spacing for any heading with .removeUppercase in .module-slides */
.module-slides h1.removeUppercase,
.module-slides h2.removeUppercase,
.module-slides h3.removeUppercase,
.module-slides h4.removeUppercase,
.module-slides h5.removeUppercase,
.module-slides h6.removeUppercase {
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .module-slides .cot-container {
    padding: 20px 15px;
    height: 100vh;
  }
  
  .module-featured-project .cot-container {
    padding: 40px 15px;
  }
  
  .cot-title {
    font-size: 28px;
  }
  
  .cot-thinking-process {
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
  }
  
  .thought-arrow {
    transform: rotate(90deg);
    margin: 10px 0;
  }
  
  .thought-bubble {
    min-width: 200px;
    padding: 15px;
  }
  
  .conversation-example {
    padding: 15px;
    margin-bottom: 15px;
  }
  
  .neural-node {
    margin: 0 15px;
    width: 25px;
    height: 25px;
  }
  
  .cot-example-section {
    margin-top: 20px;
  }
  
  .example-header h3 {
    font-size: 20px;
  }
  
  .cot-header {
    margin-bottom: 20px;
  }
  
  .cot-neural-viz {
    height: 50px;
    margin: 15px 0;
  }
}

@media (max-width: 480px) {
  .module-slides .cot-container {
    padding: 15px 10px;
  }
  
  .module-featured-project .cot-container {
    padding: 30px 10px;
  }
  
  .cot-title {
    font-size: 22px;
  }
  
  .cot-subtitle {
    font-size: 14px;
  }
  
  .thought-bubble {
    min-width: 180px;
    padding: 15px;
  }
  
  .conversation-example {
    padding: 12px;
  }
  
  .user-query-box {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .agent-response {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .example-header h3 {
    font-size: 18px;
  }
  
  .cot-demo-btn {
    padding: 10px 25px;
    font-size: 14px;
  }
  
  .cot-thinking-process {
    gap: 15px;
    margin: 15px 0;
  }
  
  .neural-node {
    width: 20px;
    height: 20px;
    margin: 0 10px;
  }
}