/* =========================================
   MONOCHROME EDITORIAL THEME
   Inspired by clean, bold, black & white design
   ========================================= */

/* --- Hide native scrollbar --- */
html {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE / Edge */
}
html::-webkit-scrollbar {
  display: none; /* Chrome / Safari / Opera */
}

/* --- Base & Background --- */
body {
  background: #f5f5f5 !important;
  color: #111 !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #111 !important;
}

p {
  color: #333 !important;
}

a {
  color: #111 !important;
}

a:hover {
  color: #555 !important;
  text-decoration: none !important;
}

strong {
  color: #111 !important;
}

/* --- Navbar --- */
.ftco_navbar,
.ftco_navbar.navbar-dark,
.ftco_navbar.bg-dark {
  background: #f5f5f5 !important;
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: none !important;
  padding: 0.6rem 0 !important;
}

.ftco_navbar .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.ftco_navbar .navbar-brand {
  color: #111 !important;
  font-weight: 900 !important;
  font-size: 1.4rem !important;
  letter-spacing: -0.5px !important;
  text-transform: uppercase !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  font-family: 'Poppins', sans-serif !important;
  font-style: italic !important;
}

/* Kill the base template's span:before underline + all active/scrolled color overrides */
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link span:before,
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link span:after {
  display: none !important;
  content: none !important;
}

.ftco-navbar-light .navbar-nav > .nav-item .nav-link.active,
.ftco-navbar-light .navbar-nav > .nav-item.active > a,
.ftco-navbar-light.scrolled .nav-item.active > a,
.ftco-navbar-light.scrolled .nav-link,
.ftco-navbar-light.scrolled .nav-link.active,
.ftco-navbar-light.scrolled .nav-item > .nav-link {
  color: #111 !important;
  background: none !important;
  opacity: 1 !important;
}

body.dark-mode .ftco-navbar-light .navbar-nav > .nav-item .nav-link.active,
body.dark-mode .ftco-navbar-light .navbar-nav > .nav-item.active > a,
body.dark-mode .ftco-navbar-light.scrolled .nav-item.active > a,
body.dark-mode .ftco-navbar-light.scrolled .nav-link,
body.dark-mode .ftco-navbar-light.scrolled .nav-link.active,
body.dark-mode .ftco-navbar-light.scrolled .nav-item > .nav-link {
  color: #d8d8d8 !important;
}

/* Bracket-style nav links */
.ftco_navbar .nav-brackets .nav-link,
.ftco_navbar .navbar-dark .nav-brackets .nav-link {
  color: #111 !important;
  font-weight: 400 !important;
  font-size: 0.7rem !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  font-family: 'Courier New', 'Courier', monospace !important;
  padding: 0.5rem 0.7rem !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Brackets via pseudo-elements on the <a> itself */
.ftco_navbar .nav-brackets .nav-link::before {
  content: '[' !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) translateX(-6px) !important;
  opacity: 0 !important;
  font-weight: 300 !important;
  font-size: 0.85rem !important;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  color: #111 !important;
  font-family: 'Courier New', monospace !important;
}

.ftco_navbar .nav-brackets .nav-link::after {
  content: ']' !important;
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) translateX(6px) !important;
  opacity: 0 !important;
  font-weight: 300 !important;
  font-size: 0.85rem !important;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  color: #111 !important;
  font-family: 'Courier New', monospace !important;
  background: none !important;
  width: auto !important;
  height: auto !important;
  visibility: visible !important;
}

.ftco_navbar .nav-brackets .nav-link:hover::before {
  opacity: 0.6 !important;
  transform: translateY(-50%) translateX(2px) !important;
}

.ftco_navbar .nav-brackets .nav-link:hover::after {
  opacity: 0.6 !important;
  transform: translateY(-50%) translateX(-2px) !important;
}

.ftco_navbar .nav-brackets .nav-link span {
  display: inline-block !important;
  transition: letter-spacing 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  padding-bottom: 0 !important;
}

.ftco_navbar .nav-brackets .nav-link:hover span {
  letter-spacing: 3px !important;
}

/* Right group: language + dark mode + contact button */
.navbar-right-group {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
}

/* Contact Me button — underline style */
.nav-contact-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: #111 !important;
  font-family: 'Courier New', 'Courier', monospace !important;
  font-weight: 400 !important;
  font-size: 0.7rem !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border: none !important;
  border-bottom: 1.5px solid #111 !important;
  padding: 4px 0 3px !important;
  transition: letter-spacing 0.3s ease !important;
  white-space: nowrap !important;
}

.nav-contact-btn:hover {
  text-decoration: none !important;
  color: #111 !important;
  letter-spacing: 3px !important;
}

.nav-contact-btn .arrow {
  font-size: 0.85rem !important;
  line-height: 1 !important;
  transition: transform 0.3s ease !important;
  display: inline-block !important;
}

.nav-contact-btn:hover .arrow {
  transform: translate(2px, -2px) !important;
}

.ftco_navbar .navbar-toggler {
  border-color: #111 !important;
  color: #111 !important;
}

/* --- Language Buttons --- */
.language-buttons {
  display: inline-flex !important;
  align-items: center !important;
  border: 1.5px solid #111 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  margin-left: 10px !important;
  background: transparent !important;
}

.language-buttons a {
  color: #111 !important;
  text-decoration: none !important;
  padding: 4px 13px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  transition: background 0.2s ease, color 0.2s ease !important;
  line-height: 1.6 !important;
}

.language-buttons a + a {
  border-left: 1.5px solid #111 !important;
}

.language-buttons a.active {
  background: #111 !important;
  color: #f5f5f5 !important;
}

.language-buttons a:hover:not(.active) {
  background: rgba(0, 0, 0, 0.07) !important;
  color: #111 !important;
}

/* --- Hero Section --- */
.hero-wrap {
  background: #f5f5f5 !important;
}

.hero-wrap .overlay {
  background: #ddd !important;
  opacity: 0.2 !important;
}

.slider-text .subheading {
  color: #555 !important;
  letter-spacing: 5px !important;
}

.slider-text h1 {
  color: #111 !important;
  font-size: 72px !important;
  font-weight: 900 !important;
  letter-spacing: -2px !important;
  line-height: 1 !important;
}

@media (max-width: 767.98px) {
  .slider-text h1 {
    font-size: 44px !important;
    letter-spacing: -1px !important;
  }
}

.slider-text h2 {
  color: #333 !important;
  font-weight: 700 !important;
}

.slider-text h2 span {
  color: #111 !important;
  text-decoration-color: #111 !important;
}

.slider-text p {
  color: #444 !important;
}

/* --- Scroll Down Arrow --- */
.scrollDown span {
  border-color: #111 !important;
}

/* --- Sections --- */
.ftco-section {
  background: #f5f5f5 !important;
}

.ftco-about.img {
  background: #fff !important;
}

#resume-section {
  background: #f5f5f5 !important;
}

.contact-section {
  background: #f5f5f5 !important;
}

/* --- About Section --- */
.ftco-about .img-about .img {
  filter: grayscale(60%) !important;
}

/* --- Resume Nav --- */
#navi li a {
  color: #333 !important;
}

#navi li a.current {
  color: #111 !important;
}

#navi li a.current:after {
  background: #111 !important;
}

/* --- Resume Pages --- */
.page .heading {
  color: #111 !important;
  border-bottom: 2px solid #111 !important;
  padding-bottom: 8px !important;
}

.resume-wrap {
  border-bottom-color: rgba(0, 0, 0, 0.1) !important;
}

.resume-wrap .icon {
  background: #111 !important;
}

.resume-wrap .icon span {
  color: #f5f5f5 !important;
}

.resume-wrap h2 {
  color: #111 !important;
}

.resume-wrap .position {
  color: #444 !important;
}

.resume-wrap .date {
  color: #111 !important;
}

.resume-wrap p,
.resume-wrap li {
  color: #333 !important;
}

/* --- Skills --- */
.page.three img {
  filter: grayscale(80%) !important;
  transition: filter 0.3s ease !important;
}

.page.three img:hover {
  filter: grayscale(0%) !important;
}

.page.three span {
  color: #333 !important;
}

/* --- Project Cards --- */
.services-1 {
  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.10) !important;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
}

.services-1 .icon i {
  color: #111 !important;
}

.services-1 .desc h3 {
  color: #111 !important;
}

.services-1 .desc h3:after {
  background: #111 !important;
}

.services-1 .desc h3 a {
  color: #111 !important;
}

.services-1 .desc p {
  color: #333 !important;
}

.services-1 .desc p strong {
  color: #444 !important;
}

.services-1:hover {
  background: #111 !important;
  border-color: #111 !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
}

.services-1:hover .icon i {
  color: #f5f5f5 !important;
}

.services-1:hover h3,
.services-1:hover h3 a {
  color: #f5f5f5 !important;
}

.services-1:hover h3:after {
  background: #f5f5f5 !important;
}

.services-1:hover .desc p {
  color: #ccc !important;
}

.services-1:hover .desc p strong {
  color: #bbb !important;
}

/* --- Heading Sections --- */
.heading-section h2 {
  color: #111 !important;
  font-weight: 900 !important;
}

.heading-section .subheading {
  color: #555 !important;
}

/* --- Contact Section --- */
.contact-section .box {
  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.10) !important;
  box-shadow: none !important;
}

.contact-section .box .icon {
  background: #111 !important;
}

.contact-section .box .icon span {
  color: #fff !important;
}

.contact-section .box h3 {
  color: #111 !important;
}

.contact-section .contact-info p,
.contact-section .contact-info p a {
  color: #111 !important;
}

.contact-info-box {
  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.10) !important;
  border-radius: 4px !important;
}

.contact-info-box h3 {
  color: #111 !important;
}

.contact-info-box p {
  color: #333 !important;
}

/* --- Buttons --- */
.btn.btn-primary {
  background: #111 !important;
  border: 1px solid #111 !important;
  color: #f5f5f5 !important;
  border-radius: 0 !important;
  letter-spacing: 2px !important;
}

.btn.btn-primary:hover {
  background: #333 !important;
  border-color: #333 !important;
  color: #fff !important;
}

/* --- Footer --- */
.ftco-footer {
  background: #111 !important;
}

.ftco-footer p,
.ftco-footer a {
  color: rgba(255,255,255,0.65) !important;
}

.ftco-footer a:hover {
  color: #fff !important;
}

/* --- Progress Bars --- */
.progress-bar {
  background: #111 !important;
}

.progress-bar:after {
  background: #111 !important;
}

.progress-bar span {
  color: #111 !important;
}

.progress {
  background: #ddd !important;
}

/* --- Bg overrides --- */
.bg-dark {
  background: #f5f5f5 !important;
}

.bg-primary {
  background: #111 !important;
}

/* --- Shadow overrides (reduce on light bg) --- */
.shadow {
  box-shadow: 0 2px 16px rgba(0,0,0,0.08) !important;
}

/* --- ftco-animate visibility fix --- */
.ftco-animate.ftco-animated {
  color: inherit !important;
}

/* --- Project Cards (page-4) --- */
.proj-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.proj-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  text-decoration: none !important;
  cursor: pointer;
  transition: padding-left 0.3s ease, background 0.3s ease;
}

.proj-card:first-child {
  padding-top: 20px;
}

.proj-card:hover {
  padding-left: 12px;
  background: rgba(0,0,0,0.02);
}

.proj-idx {
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: rgba(0,0,0,0.06);
  min-width: 56px;
  user-select: none;
  transition: color 0.3s ease;
}

.proj-card:hover .proj-idx {
  color: rgba(0,0,0,0.15);
}

.proj-body {
  flex: 1;
  min-width: 0;
}

.proj-name {
  font-family: 'Poppins', sans-serif;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #111 !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.3 !important;
  transition: color 0.2s ease;
}

.proj-card:hover .proj-name {
  color: #000 !important;
}

.proj-desc {
  font-size: 13px !important;
  color: #666 !important;
  line-height: 1.7 !important;
  margin: 0 0 12px 0 !important;
}

.proj-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.proj-tech span {
  font-family: 'Poppins', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid rgba(0,0,0,0.12);
  color: #888;
  border-radius: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.proj-card:hover .proj-tech span {
  border-color: rgba(0,0,0,0.25);
  color: #555;
}

.proj-arrow {
  font-size: 22px;
  color: #bbb;
  flex-shrink: 0;
  margin-top: 4px;
  transition: color 0.2s ease, transform 0.3s ease;
}

.proj-card:hover .proj-arrow {
  color: #111;
  transform: translate(3px, -3px);
}

.proj-card--private {
  cursor: default;
  opacity: 0.7;
}

.proj-card--private:hover {
  padding-left: 0;
  background: none;
}

.proj-private-badge {
  font-family: 'Poppins', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #999;
  flex-shrink: 0;
  margin-top: 8px;
}

@media (max-width: 575.98px) {
  .proj-idx {
    font-size: 28px;
    min-width: 36px;
  }
  .proj-name {
    font-size: 15px !important;
  }
  .proj-card {
    gap: 14px;
  }
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */

/* --- Tablet and below (991px) --- */
@media (max-width: 991.98px) {
  /* Navbar mobile menu */
  .navbar-right-group {
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    margin-left: 0 !important;
    padding: 10px 0 !important;
  }

  .ftco_navbar .nav-brackets .nav-link {
    padding: 8px 0 !important;
    font-size: 0.75rem !important;
  }

  /* Hide bracket pseudo-elements in collapsed mobile menu */
  .ftco_navbar .nav-brackets .nav-link::before,
  .ftco_navbar .nav-brackets .nav-link::after {
    display: none !important;
  }

  /* Hide empty navi column — #navi is fixed to bottom on mobile */
  #resume-section > .container > .row > .col-md-3 {
    display: none !important;
  }

  .nav-contact-btn {
    font-size: 0.65rem !important;
    padding: 4px 0 3px !important;
  }

  /* Resume nav: fixed bottom tab bar */
  #navi {
    position: fixed !important;
    bottom: -70px !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    z-index: 999 !important;
    background: #fff !important;
    border-top: 1px solid rgba(0,0,0,0.1) !important;
    border-bottom: none !important;
    margin-bottom: 0 !important;
    transition: bottom 0.3s ease !important;
  }

  #navi.nav-visible {
    bottom: 0 !important;
  }

  #navi ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  #navi ul li {
    flex: 1 1 25% !important;
  }

  #navi ul li a {
    display: block !important;
    text-align: center !important;
    padding: 7px 4px !important;
    font-family: 'Courier New', 'Courier', monospace !important;
    font-size: 0.65rem !important;
    font-weight: 400 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    color: #888 !important;
    transition: color 0.2s ease !important;
  }

  /* Kill the desktop left-dash pseudo-elements entirely */
  #navi ul li a::before,
  #navi ul li a::after {
    display: none !important;
    content: '' !important;
  }

  /* Active tab */
  #navi ul li a.current {
    color: #111 !important;
    margin-left: 0 !important;
  }

  #navi ul li a.current::before {
    content: '[' !important;
    display: inline !important;
    font-family: 'Courier New', monospace !important;
    font-weight: 300 !important;
    color: #111 !important;
    background: none !important;
    margin-right: 1px !important;
  }

  #navi ul li a.current::after {
    content: ']' !important;
    display: inline !important;
    font-family: 'Courier New', monospace !important;
    font-weight: 300 !important;
    color: #111 !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
    position: static !important;
    margin-left: 1px !important;
  }

  /* Pad resume section so content isn't hidden behind the fixed bar */
  #resume-section {
    padding-bottom: 45px !important;
  }
}

/* --- Mobile (767px) --- */
@media (max-width: 767.98px) {
  /* About section: full width stacking */
  .ftco-about .col-md-6 {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .ftco-about .img-about {
    margin-bottom: 20px !important;
  }

  /* Reduce section padding */
  .ftco-section {
    padding: 40px 0 !important;
  }

  /* Resume text adjustments */
  .resume-wrap h2 {
    font-size: 16px !important;
  }

  .resume-wrap .text {
    padding-left: 12px !important;
  }

  .resume-wrap .icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
  }

  .resume-wrap .icon span {
    font-size: 16px !important;
  }

  /* Resume button: stack button and hint text vertically */
  .counter-wrap .text p {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .counter-wrap .text .resume-hint {
    font-size: 14px !important;
  }

  /* About text column: reduce excessive py-5 padding on mobile */
  .ftco-about .col-md-6.py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  /* Contact section cards */
  .contact-info .col-md-6 {
    margin-bottom: 16px !important;
  }

  .contact-section .box {
    padding: 20px !important;
  }

  .contact-info-box {
    padding: 30px 20px !important;
  }

  /* Skills icons smaller on mobile */
  .page.three .ftco-animate {
    gap: 12px !important;
  }

  .page.three .ftco-animate > div {
    min-width: 60px !important;
  }

  .page.three img {
    width: 60px !important;
    height: 60px !important;
  }

  /* Page headings */
  .page .heading {
    font-size: 22px !important;
    margin-bottom: 20px !important;
  }

  /* Hero adjustments */
  .slider-text h2 {
    font-size: 18px !important;
  }

  .slider-text .subheading {
    font-size: 13px !important;
    letter-spacing: 3px !important;
  }

  /* Footer */
  .ftco-footer {
    padding: 20px 0 !important;
  }

  .ftco-footer p {
    font-size: 12px !important;
  }
}

/* --- Small mobile (480px) --- */
@media (max-width: 480px) {
  .slider-text h1 {
    font-size: 36px !important;
    letter-spacing: -1px !important;
  }

  .slider-text h2 {
    font-size: 15px !important;
  }

  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Project cards tighter */
  .proj-card {
    padding: 20px 0 !important;
    gap: 10px !important;
  }

  #navi ul li a {
    font-size: 0.6rem !important;
    padding: 6px 2px !important;
    letter-spacing: 1px !important;
  }

  .proj-idx {
    font-size: 24px !important;
    min-width: 30px !important;
  }

  .proj-name {
    font-size: 14px !important;
  }

  .proj-desc {
    font-size: 12px !important;
  }

  .proj-tech span {
    font-size: 8px !important;
    padding: 2px 7px !important;
  }

  /* Resume entries */
  .resume-wrap {
    padding: 15px 0 !important;
  }

  .resume-wrap h2 {
    font-size: 14px !important;
  }

  .resume-wrap .position {
    font-size: 12px !important;
  }

  .resume-wrap p,
  .resume-wrap li {
    font-size: 12px !important;
  }

  /* About section */
  .ftco-about .heading-section h2 {
    font-size: 24px !important;
  }

  .ftco-about p {
    font-size: 13px !important;
  }

  /* Contact */
  .contact-info-box h3 {
    font-size: 20px !important;
  }

  .heading-section h2 {
    font-size: 22px !important;
  }

  /* Navbar brand */
  .ftco_navbar .navbar-brand {
    font-size: 1.1rem !important;
  }
}

/* --- Dark Mode Toggle Button --- */
.dark-mode-toggle {
  background: none;
  border: 1.5px solid #111;
  border-radius: 20px;
  padding: 2px 10px;
  cursor: pointer;
  font-size: 15px;
  color: #111;
  transition: all 0.2s ease;
  line-height: 1.6;
  margin-left: 6px;
}

.dark-mode-toggle:hover {
  background: #111;
  color: #f5f5f5;
}

/* =========================================
   DARK MODE
   ========================================= */

body.dark-mode {
  background: #111 !important;
  color: #e0e0e0 !important;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
  color: #f0f0f0 !important;
}

body.dark-mode p {
  color: #bbb !important;
}

body.dark-mode a {
  color: #d8d8d8 !important;
}

body.dark-mode a:hover {
  color: #fff !important;
}

body.dark-mode strong {
  color: #e0e0e0 !important;
}

/* Navbar */
body.dark-mode .ftco_navbar,
body.dark-mode .ftco_navbar.navbar-dark,
body.dark-mode .ftco_navbar.bg-dark {
  background: #1a1a1a !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

body.dark-mode .ftco_navbar .navbar-brand {
  color: #f0f0f0 !important;
}

body.dark-mode .ftco_navbar .nav-brackets .nav-link,
body.dark-mode .ftco_navbar .navbar-dark .nav-brackets .nav-link {
  color: #d8d8d8 !important;
}

body.dark-mode .ftco_navbar .nav-brackets .nav-link::before,
body.dark-mode .ftco_navbar .nav-brackets .nav-link::after {
  color: #d8d8d8 !important;
}

body.dark-mode .nav-contact-btn {
  color: #f0f0f0 !important;
  border-bottom-color: #f0f0f0 !important;
}

body.dark-mode .nav-contact-btn:hover {
  color: #f0f0f0 !important;
}

body.dark-mode .ftco_navbar .navbar-toggler {
  border-color: #d8d8d8 !important;
  color: #d8d8d8 !important;
}

/* Language Buttons */
body.dark-mode .language-buttons {
  border-color: #d8d8d8 !important;
}

body.dark-mode .language-buttons a {
  color: #d8d8d8 !important;
  border: none !important;
}

body.dark-mode .language-buttons a + a {
  border-left: 1.5px solid #d8d8d8 !important;
}

body.dark-mode .language-buttons a.active {
  background: #d8d8d8 !important;
  color: #111 !important;
}

body.dark-mode .language-buttons a:hover:not(.active) {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

/* Dark mode toggle in dark mode */
body.dark-mode .dark-mode-toggle {
  border-color: #d8d8d8;
  color: #d8d8d8;
}

body.dark-mode .dark-mode-toggle:hover {
  background: #d8d8d8;
  color: #111;
}

/* Hero */
body.dark-mode .hero-wrap {
  background: #111 !important;
}

body.dark-mode .hero-wrap .overlay {
  background: #333 !important;
}

body.dark-mode .slider-text .subheading {
  color: #888 !important;
}

body.dark-mode .slider-text h1 {
  color: #f0f0f0 !important;
}

body.dark-mode .slider-text h2 {
  color: #bbb !important;
}

body.dark-mode .slider-text h2 span {
  color: #f0f0f0 !important;
  text-decoration-color: #f0f0f0 !important;
}

body.dark-mode .scrollDown span {
  border-color: #d8d8d8 !important;
}

/* Sections */
body.dark-mode .ftco-section {
  background: #111 !important;
}

body.dark-mode .ftco-about.img {
  background: #1a1a1a !important;
}

body.dark-mode #resume-section {
  background: #111 !important;
}

body.dark-mode .contact-section {
  background: #111 !important;
}

/* Resume Nav */
body.dark-mode #navi li a {
  color: #999 !important;
}

body.dark-mode #navi li a.current {
  color: #f0f0f0 !important;
}

body.dark-mode #navi li a.current:after {
  background: none !important;
}

body.dark-mode #navi {
  background: #111 !important;
  border-top-color: rgba(255,255,255,0.1) !important;
}

body.dark-mode #navi ul li a {
  color: #555 !important;
}

body.dark-mode #navi ul li a.current {
  color: #f0f0f0 !important;
}

body.dark-mode #navi ul li a.current::before,
body.dark-mode #navi ul li a.current::after {
  color: #f0f0f0 !important;
  background: none !important;
}

/* Resume Pages */
body.dark-mode .page .heading {
  color: #f0f0f0 !important;
  border-bottom: 2px solid #f0f0f0 !important;
}

body.dark-mode .resume-wrap {
  border-bottom-color: rgba(255,255,255,0.08) !important;
}

body.dark-mode .resume-wrap .icon {
  background: #e0e0e0 !important;
}

body.dark-mode .resume-wrap .icon span {
  color: #111 !important;
}

body.dark-mode .resume-wrap h2 {
  color: #f0f0f0 !important;
}

body.dark-mode .resume-wrap .position {
  color: #aaa !important;
}

body.dark-mode .resume-wrap .date {
  color: #d8d8d8 !important;
}

body.dark-mode .resume-wrap p,
body.dark-mode .resume-wrap li {
  color: #bbb !important;
}

/* Skills */
body.dark-mode .page.three img {
  filter: grayscale(80%) brightness(0.75) !important;
}

body.dark-mode .page.three img:hover {
  filter: grayscale(0%) brightness(1) !important;
}

body.dark-mode .page.three span {
  color: #bbb !important;
}

/* Project Cards */
body.dark-mode .services-1 {
  background: #1e1e1e !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
}

body.dark-mode .services-1 .icon i {
  color: #f0f0f0 !important;
}

body.dark-mode .services-1 .desc h3 {
  color: #f0f0f0 !important;
}

body.dark-mode .services-1 .desc h3:after {
  background: #f0f0f0 !important;
}

body.dark-mode .services-1 .desc h3 a {
  color: #f0f0f0 !important;
}

body.dark-mode .services-1 .desc p {
  color: #bbb !important;
}

body.dark-mode .services-1 .desc p strong {
  color: #ccc !important;
}

body.dark-mode .services-1:hover {
  background: #e8e8e8 !important;
  border-color: #e8e8e8 !important;
}

body.dark-mode .services-1:hover .icon i {
  color: #111 !important;
}

body.dark-mode .services-1:hover h3,
body.dark-mode .services-1:hover h3 a {
  color: #111 !important;
}

body.dark-mode .services-1:hover h3:after {
  background: #111 !important;
}

body.dark-mode .services-1:hover .desc p {
  color: #333 !important;
}

body.dark-mode .services-1:hover .desc p strong {
  color: #444 !important;
}

/* Heading Sections */
body.dark-mode .heading-section h2 {
  color: #f0f0f0 !important;
}

body.dark-mode .heading-section .subheading {
  color: #888 !important;
}

/* Contact */
body.dark-mode .contact-section .box {
  background: #1e1e1e !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
}

body.dark-mode .contact-section .box .icon {
  background: #e0e0e0 !important;
}

body.dark-mode .contact-section .box .icon span {
  color: #111 !important;
}

body.dark-mode .contact-section .box h3 {
  color: #f0f0f0 !important;
}

body.dark-mode .contact-section .contact-info p,
body.dark-mode .contact-section .contact-info p a {
  color: #d8d8d8 !important;
}

body.dark-mode .contact-info-box {
  background: #1e1e1e !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
}

body.dark-mode .contact-info-box h3 {
  color: #f0f0f0 !important;
}

body.dark-mode .contact-info-box p {
  color: #bbb !important;
}

/* Buttons */
body.dark-mode .btn.btn-primary {
  background: #e0e0e0 !important;
  border: 1px solid #e0e0e0 !important;
  color: #111 !important;
}

body.dark-mode .btn.btn-primary:hover {
  background: #fff !important;
  border-color: #fff !important;
  color: #111 !important;
}

/* Project Cards Dark Mode */
body.dark-mode .proj-card {
  border-bottom-color: rgba(255,255,255,0.06);
}

body.dark-mode .proj-card:hover {
  background: rgba(255,255,255,0.03);
}

body.dark-mode .proj-idx {
  color: rgba(255,255,255,0.06);
}

body.dark-mode .proj-card:hover .proj-idx {
  color: rgba(255,255,255,0.15);
}

body.dark-mode .proj-name {
  color: #e8e8e8 !important;
}

body.dark-mode .proj-card:hover .proj-name {
  color: #fff !important;
}

body.dark-mode .proj-desc {
  color: #888 !important;
}

body.dark-mode .proj-tech span {
  border-color: rgba(255,255,255,0.1);
  color: #666;
}

body.dark-mode .proj-card:hover .proj-tech span {
  border-color: rgba(255,255,255,0.2);
  color: #999;
}

body.dark-mode .proj-arrow {
  color: #444;
}

body.dark-mode .proj-card:hover .proj-arrow {
  color: #e8e8e8;
}

body.dark-mode .proj-private-badge {
  color: #555;
}

/* Footer */
body.dark-mode .ftco-footer {
  background: #0a0a0a !important;
}

/* Shadow */
body.dark-mode .shadow {
  box-shadow: 0 2px 16px rgba(0,0,0,0.5) !important;
}

/* Bg overrides */
body.dark-mode .bg-dark {
  background: #1a1a1a !important;
}

