/* ==========================
   BOOTSTRAP
========================== */

/*
div[class="row"] {
    outline: 1px dotted rgba(0, 0, 0, 0.25);
}

div[class^="col-"] {
    background-color: rgba(255, 0, 0, 0.2);
    outline: 1px dotted rgba(0, 0, 0, 0.5);
}

/* ==========================
   LIGHT MODE
========================== */
body {
  background-color: #fff;
  color: #222;
}

.templateux-navbar {
  background-color: #fff;
  color: #222;
}

.templateux-navbar a {
  color: #000;
}

.templateux-navbar a:hover {
  color: #555;
}

/* ==========================
   FONT DEFINITIONS
========================== */
@font-face {
  font-family: "cf";
  src: url("fonts/Inter-Regular.woff") format("woff");
}
@font-face {
  font-family: "cfl";
  src: url("fonts/Inter-Light.woff") format("woff");
}
@font-face {
  font-family: "cfm";
  src: url("fonts/Inter-Medium.woff") format("woff");
}
@font-face {
  font-family: "cfb";
  src: url("fonts/Inter-Bold.woff") format("woff");
}

/* ==========================
   BASE TYPOGRAPHY
========================== */

body {
  font-family: "cf", -apple-system, Arial, sans-serif;
  line-height: 1.5;
  color: #000F08;
}

h1, h2, h3, h4, h5, h6 {
  color: #000F08;
  font-family: "cf";
  margin-bottom: 0.5rem;
}

p {
  font-size: 15px;
  font-family: "cfl";
  line-height: 1.5;
}

::-moz-selection { background: rgb(255, 238, 0); }
::selection { background: #FDD241; }

/* ==========================
   LINK STYLES
========================== */

a {
  font-size: 15px;
  color: #000F08;
  font-family: "cfm";
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover, a:focus {
  color: #C4C4C4;
  text-decoration: none;
}

.bold-link {
  font-family: "cfm";
  text-decoration: none;
  display: inline-block;
}

/* CTA-specific links */
.cta-strike-hover {
  position: relative;
  display: inline-block;
  cursor: pointer;
  font-family: "cfm";
  text-decoration: none;
}

.cta-strike-hover::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 0px;
  width: 0;
  background: currentColor;
  transition: width 0.3s ease;
  transform: translateY(-50%);
}

.cta-strike-hover:hover::after {
  width: 100%;
}
.cta {
  text-align: left;}
.cta:hover {
  color: #C4C4C4;
}
@media (max-width: 768px) { .cta {text-align: left;} }

/* ==========================
   NAV BAR
========================== */

/*scrollbar*/
.page-scroll-indicator {
  position: fixed;
  padding-top: 15px;
  width: 100%;
  height: 1px;
}
@media (max-width: 768px) { .page-scroll-indicator { padding-top: 0;}}

.progress {
  position: fixed;
  width: 0%;
  height: 1px;
  background: #C5C5C5;
}

/* menu header */
.templateux-navbar {
  position: fixed;
  background-color: white;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0;
  padding-bottom: 15px;
  padding-top: 20px;
  z-index: 99999;
}
@media (max-width: 768px) {
  .templateux-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    padding-top: 10px;
    padding-bottom: 0px;
  }
}
.templateux-navbar .container-fluid {
  max-width: 100%;
}
.templateux-navbar .toggle-menu {
  z-index: 9999;
  position: relative;
  top: -13px;
  display: none;
}
@media (max-width: 768px) {
  .templateux-navbar .toggle-menu {
    display: block;
  }
}
.templateux-navbar .toggle-menu:active,
.templateux-navbar .toggle-menu:focus {
  outline: none;
}
.templateux-navbar .site-logo {
  position: relative;
  top: -5px;
  z-index: 9999;
}
.templateux-navbar .site-logo a {
  font-size: 24px;
  color: #000F08;
}
@media (max-width: 768px) {
  .templateux-navbar .site-logo a {
    font-size: 30px;
    color: #000F08;
  }
}

.templateux-navbar .templateux-menu {
  position: relative;
}
.templateux-navbar .templateux-menu ul {
  margin-bottom: 0;
}
.templateux-navbar .templateux-menu ul li {
  display: inline-block;
}
.templateux-navbar .templateux-menu ul li a {
  line-height: 1.7;
  margin-right: 120px;
  font-size: 15px;
  color: #000F08;
  position: relative;
  padding-bottom: 5px;
  display: block;
}

/* ✅ Strike-through effect with different placement for desktop and mobile */
.templateux-navbar .templateux-menu ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

/* 💻 Desktop: slightly above the text */
@media (min-width: 769px) {
  .templateux-navbar .templateux-menu ul li a::after {
    top: 45%;
    transform: translateY(-50%);
  }
}

/* 📱 Mobile: slightly below the text */
@media (max-width: 768px) {
  .templateux-navbar .templateux-menu ul li a::after {
    bottom: 15px;
  }
}

.templateux-navbar .templateux-menu ul li a:hover::after,
.templateux-navbar .templateux-menu ul li.active > a::after {
  width: 100%;
}

.templateux-navbar .templateux-menu ul li:last-child a {
  margin-right: 0;
}

@media (max-width: 768px) {
  .templateux-navbar .templateux-menu {
    position: fixed;
    width: 100%;
    background-color: #fff;
    top: 0;
    left: 0;
    margin: 0;
    text-align: right;
    height: 100vh;
    min-height: 400px;
    padding-right: 10vw;
    display: none;
    padding-top: 60vh;
    overflow-y: scroll;
  }
  .templateux-navbar .templateux-menu ul {
    margin-left: 40px;
  }
  .templateux-navbar .templateux-menu ul li {
    display: block;
    margin-bottom: 10px;
  }
  .templateux-navbar .templateux-menu ul li a {
    padding: 10px 0 2px 0;
    margin-right: 0px;
    font-size: 18px;
    display: inline-block;
  }
}
.templateux-navbar .templateux-menu ul li p {
  color: #000F08;
  padding: 10px 0 2px 0;
  font-size: 18px;
  display: inline-block;
}
@media (max-width: 768px) {
  .templateux-navbar .templateux-menu ul {
    margin-left: 0px;
  }
}
.templateux-navbar.navbar-light .site-logo a {
  color: #fff;
}
.templateux-navbar.navbar-light .hamburger .hamburger-inner,
.templateux-navbar.navbar-light .hamburger .hamburger-inner::before,
.templateux-navbar.navbar-light .hamburger .hamburger-inner::after {
  background-color: #fff;
}
.templateux-navbar.navbar-light .templateux-menu ul li a {
  color: #fff;
}
.menu-open .templateux-navbar {
  position: fixed;
  left: 0;
  top: 0;
}
@media (max-width: 768px) {
  .menu-open .site-logo a {
    color: #000F08 !important;
  }
}
.menu-open .navbar-light .hamburger .hamburger-inner,
.menu-open .navbar-light .hamburger .hamburger-inner::before,
.menu-open .navbar-light .hamburger .hamburger-inner::after {
  background-color: #000F08;
}
.menu-open .templateux-menu li {
  opacity: 0;
  visibility: hidden;
  margin-left: -10px;
  position: relative;
  -webkit-transition: 0.3s all ease-in-out;
  -o-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}
.menu-open .templateux-menu li.staggard {
  opacity: 1;
  visibility: visible;
  margin-left: 0px;
}
@media (max-width: 768px) {
  .menu-open .templateux-menu li a {
    color: #000F08 !important;
  }
}

/* If body has .relative-navbar — switch to relative ONLY on desktop */
@media (min-width: 768px) {
  .relative-navbar .templateux-navbar {
    position: relative !important;
  }
}

/* ==========================
   HERO SECTION
========================== */
.templateux-herosection { padding-top: 10em; padding-bottom: 6em}
@media (max-width: 768px) { .templateux-herosection { padding-top: 4em; padding-bottom: 2em} }
@media (max-width: 768px) { .templateux-herosection  h4 {font-size: 18px; } }

@media (max-width: 767.98px) {
  .hero-featured-wrapper {
    display: flex;
    flex-direction: column;
    /*height: 95vh;*/
    margin-top: 2em;
  }

  .hero-featured-wrapper > .templateux-herosection {
    flex: 0 0 35%;
  }

  .hero-featured-wrapper > .templateux-section {
    flex: 1 0 75%; /* flexible height */
  }
}
/* ==========================
   INITIAL SECTION
========================== */
/*secondary header*/
.templateux-initialsection { padding-top: 10em; padding-bottom: 4em}
@media (max-width: 768px) { .templateux-initialsection { padding-top: 6em; padding-bottom: 0em} }
.templateux-initialsection  h3 {font-family: "cf";}
@media (max-width: 768px) { .templateux-initialsection  h3 {font-size: 20px; } }
.templateux-initialsection  h4 {font-family: "cf";font-family: "cfl"; text-align: left; font-size: 14px;}

/* ==========================
   NORMAL SECTIONS
========================== */
.templateux-section { padding-top: 4em; padding-bottom: 4em}
@media (max-width: 768px) { .templateux-section { padding-top: 1em; padding-bottom: 1em} }

.templateux-section2 { padding-top: 2em; padding-bottom: 4em}
@media (max-width: 768px) { .templateux-section2 { padding-top: 1em; padding-bottom: 1em} }

/* ==========================
  SECTION HEADER
========================== */
.section-heading {font-family: "cfl"; text-align: left; font-size: 15px; color: #767676; margin-bottom:0px; padding-bottom: 1rem;}
@media (max-width: 768px) { .section-heading {position: relative; top: 0; right: 0px; padding-bottom: 0.5rem;} }

/* ==========================
  FOOTER
========================== */
.templateux-footer {padding-top: 2em; padding-bottom: 1em;}
@media (max-width: 768px) { .templateux-footer {padding-top: 2em; padding-bottom: 1em;}}

.templateux-footer .container-fluid { max-width: 100%; }

.templateux-footer small { font-size: 16px; }

.templateux-footer p { font-family: "cfl"; color: #C4C4C4; margin-bottom: 0; }
@media (max-width: 768px) { .templateux-footer p {font-size: 14px; } }

.templateux-footer .footer-social { position: relative; }

.templateux-footer .footer-social span { position: relative; font-size: 18px; color: #C4C4C4;}

.templateux-footer .footer-social a { color: #C4C4C4; position: relative; -webkit-transition: .3s all ease; -o-transition: .3s all ease; transition: .3s all ease; font-size: 20px; }

.templateux-footer .footer-social a:hover, .templateux-footer .footer-social a:focus { color: #000F08;}

/* ==========================
  EXTRAS
========================== */

/*intro*/
.ml {
  margin-left: -50px;
}
@media (max-width: 768px){ .ml {margin-left:0px;} }

.contbottom {
  display: flex;
  align-items: flex-end;
}

.mid {padding-bottom:20vh; padding-top: 2vh}
@media (max-width: 768px) { .mid {padding-bottom:17vh} }

.bottom {padding-bottom:5vh}
@media (max-height: 768px) { .bottom {padding-bottom:5vh} }

.go-down {position: absolute; width: 40px; height: 40px;}

.go-down:before { width: 1px; height: 60px; content: ""; display: block; background: #A6A6A6; left: 50%; -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); pointer-events: none; top: 0; -webkit-transition: .3s all ease; -o-transition: .3s all ease; transition: .3s all ease; }

.go-down:hover { height: 100px; }

.go-down:hover:before { height: 100px; }

.scrolltext {position: absolute; top: 18px; right: 40px; font-size: 14px; -ms-transform: rotate(-90deg); /* IE 9 */-webkit-transform: rotate(-90deg); /* Safari 3-8 */transform: rotate(-90deg);}

.container-fluid {position:relative; padding-left: 40px; padding-right: 40px;}
@media (max-width: 768px) { .container-fluid { position:relative; padding-left: 25px; padding-right: 25px; } }

.textlink a { font-size:inherit; font-family: "cfm"; line-height: 1.5;}
.textlink2 a { font-size:inherit; font-family: "cfb";}

/* ==========================
   PROJECT SECTIONS
========================== */
.project-section { padding: 1em 0;}
@media (max-width: 768px) { .project-section { padding: 1em 0; } }

.project-section h2 {font-family: "cfm"; line-height: 1.1; padding-bottom: 2em; padding-top: 2em}
@media (max-width: 768px) { .project-section h2 {font-size: 25px; padding-bottom: 1em; padding-top: 1em} }
.project-section h3 { font-size: 18px; text-align: left; font-family: "cfm";}
.project-section h4 { text-align: left; font-size: 20px; font-family: "cfl";}
.project-section a { font-family: "cfm"}
.project-section span {color: #A6A6A6; font-family: "cf"; line-height: 2; }
.project-section .caption { display: block; font-size: 15px; color: #ccc; }

.work-detail { vertical-align: middle; }
.pp { margin-top: 4em; }
@media (max-width: 768px) { .pp { margin-top: 3em; }}
.ppp { margin-top: 8em; }
@media (max-width: 768px) { .ppp { margin-top: 3em; }}
.video { margin-bottom: inherit; }
@media (max-width: 768px) { .video { margin-bottom: 3em; }}

/*highlight*/
/* Default highlight section (light background, black text) */
.highlight-section {
  background-color: #F7F7F7;   /* always white */
  color: #000000;              /* always black text */
  position: relative;
}
/* Make sure links inside also stay visible */
.highlight-section a,
.highlight-section h1,
.highlight-section h3,
.highlight-section p {
  color: #000000 !important;
}
.highlight-section {margin-top: 3em; margin-bottom: 3em; padding-top: 3em; padding-bottom: 2em; background-color: #F7F7F7;}
@media (max-width: 768px) { .highlight-section { margin-top: 1em; }}
.highlight-section h1 { margin-bottom: 1rem; font-size: 15px; text-align: left; font-family: "cfm";}
.highlight-section p { font-size: 15px; font-family: "cfl"; line-height: 1.5;}

/*images*/
.project, .post { position: relative; float: left; width: 100%; margin-bottom:0.5em; }
.card { border: 1px; position: relative;display: inline-block;}
.card .img-top { display: none; position: absolute; top: 0; left: 0; z-index: 99;}
.card:hover .img-top { cursor: default; display: inline;}
.project figure, .post figure { border: 0px; margin: 0; position: relative; }
.project .project-hover, .project .post-hover, .post .project-hover, .post .post-hover { position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin-top: -1px; background: rgba(250, 250, 250, 0.9); visibility: hidden; opacity: 0; -webkit-transition: .3s all ease; -o-transition: .3s all ease; transition: .3s all ease; }
.project .project-hover .project-hover-inner, .project .project-hover .post-hover-inner, .project .post-hover .project-hover-inner, .project .post-hover .post-hover-inner, .post .project-hover .project-hover-inner, .post .project-hover .post-hover-inner, .post .post-hover .project-hover-inner, .post .post-hover .post-hover-inner {
  position: absolute; z-index: 99; left: 5%; bottom: 5% ; visibility: hidden; opacity: 0; -webkit-transition: .3s all ease; -o-transition: .3s all ease; transition:.3s all ease; text-align: left; }
.project .project-hover .project-hover-inner h2, .project .project-hover .post-hover-inner h2, .project .post-hover .project-hover-inner h2, .project .post-hover .post-hover-inner h2, .post .project-hover .project-hover-inner h2, .post .project-hover .post-hover-inner h2, .post .post-hover .project-hover-inner h2, .post .post-hover .post-hover-inner h2 {
  font-family: "cf"; color: #000F08; font-size: 18px; line-height: 1.2; -webkit-transition: .3s all ease; -o-transition: .3s all ease; transition: .3s all ease; opacity: 0; visibility: hidden; position: relative; bottom: -30px; }
.project .project-hover .project-hover-inner span, .project .project-hover .post-hover-inner span, .project .post-hover .project-hover-inner span, .project .post-hover .post-hover-inner span, .post .project-hover .project-hover-inner span, .post .project-hover .post-hover-inner span, .post .post-hover .project-hover-inner span, .post .post-hover .post-hover-inner span {
  font-family: "cfl"; font-size: 16px; color: #000F08; opacity: 0; visibility: hidden; position: relative; bottom: -30px; -webkit-transition: .5s all ease; -o-transition: .5s all ease; transition: .5s all ease; }
.project:hover .project-hover, .project:hover .post-hover, .project:focus .project-hover, .project:focus .post-hover, .post:hover .project-hover, .post:hover .post-hover, .post:focus .project-hover, .post:focus .post-hover { visibility: visible; opacity: 1; }

.project:hover .project-hover .project-hover-inner, .project:hover .project-hover .post-hover-inner, .project:hover .post-hover .project-hover-inner, .project:hover .post-hover .post-hover-inner, .project:focus .project-hover .project-hover-inner, .project:focus .project-hover .post-hover-inner, .project:focus .post-hover .project-hover-inner, .project:focus .post-hover .post-hover-inner, .post:hover .project-hover .project-hover-inner, .post:hover .project-hover .post-hover-inner, .post:hover .post-hover .project-hover-inner, .post:hover .post-hover .post-hover-inner, .post:focus .project-hover .project-hover-inner, .post:focus .project-hover .post-hover-inner, .post:focus .post-hover .project-hover-inner, .post:focus .post-hover .post-hover-inner { visibility: visible; opacity: 1; -webkit-animation-delay: 10s; animation-delay: 10s; }

.project:hover .project-hover .project-hover-inner h2, .project:hover .project-hover .post-hover-inner h2, .project:hover .post-hover .project-hover-inner h2, .project:hover .post-hover .post-hover-inner h2, .project:focus .project-hover .project-hover-inner h2, .project:focus .project-hover .post-hover-inner h2, .project:focus .post-hover .project-hover-inner h2, .project:focus .post-hover .post-hover-inner h2, .post:hover .project-hover .project-hover-inner h2, .post:hover .project-hover .post-hover-inner h2, .post:hover .post-hover .project-hover-inner h2, .post:hover .post-hover .post-hover-inner h2, .post:focus .project-hover .project-hover-inner h2, .post:focus .project-hover .post-hover-inner h2, .post:focus .post-hover .project-hover-inner h2, .post:focus .post-hover .post-hover-inner h2 { opacity: 1; visibility: visible; bottom: 0px; }

.project:hover .project-hover .project-hover-inner span, .project:hover .project-hover .post-hover-inner span, .project:hover .post-hover .project-hover-inner span, .project:hover .post-hover .post-hover-inner span, .project:focus .project-hover .project-hover-inner span, .project:focus .project-hover .post-hover-inner span, .project:focus .post-hover .project-hover-inner span, .project:focus .post-hover .post-hover-inner span, .post:hover .project-hover .project-hover-inner span, .post:hover .project-hover .post-hover-inner span, .post:hover .post-hover .project-hover-inner span, .post:hover .post-hover .post-hover-inner span, .post:focus .project-hover .project-hover-inner span, .post:focus .project-hover .post-hover-inner span, .post:focus .post-hover .project-hover-inner span, .post:focus .post-hover .post-hover-inner span { bottom: 0; visibility: visible; opacity: 1; }

/* Sticky title only on desktop */
.sticky-title {
  position: sticky;
  top: 100px; /* adjust if navbar height differs */
  align-self: flex-start;
}

/* Subsection spacing */
.subsection {
  margin-bottom: 4rem; /* space between subsections */
}

.subsection h3 {
  margin-bottom: 0.5rem; /* tighter heading-to-text spacing */
  font-family: "cfl";
  text-align: left; font-size: 15px; color: #767676; margin-bottom:0px; padding-bottom: 0.5rem;}
  @media (max-width: 768px) { .subsection {position: relative; top: 0; right: 0px; padding-bottom: 0.5rem;}
}

.subsection p {
  margin-bottom: 1rem;
}

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

body.dark-mode {
  background-color: #111;
  color: #e6e6e6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Headings */
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: #ffffff;
}

/* Paragraphs and lists */
body.dark-mode p,
body.dark-mode li {
  color: #e6e6e6;
}

/* Links */
body.dark-mode a {
  color: #ffffff;
  transition: color 0.3s ease;
  text-decoration: none;
}
body.dark-mode a:hover {
  color: #FDD241; /* subtle hover for normal links */
}

/* CTA Buttons */
body.dark-mode .cta-strike-hover {
  color: #ffffff !important;
  border-color: #ffcc66;
}
body.dark-mode .cta-strike-hover:hover {
  color: #FDD241 !important;
}
body.dark-mode .cta-strike-hover::after {
  background: #fff !important;
}

/* Section Headings */
body.dark-mode .section-heading {
  color: #A6A6A6;
}

/* Cards / Containers */
body.dark-mode .card {
  background-color: #1a1a1a;
  border-color: #333;
}

/* Invert images that need it */
body.dark-mode img.dontinvert {
  filter: invert(1) hue-rotate(180deg);
  transition: filter 0.3s ease;
}

/* ==========================
   NAVBAR & MOBILE MENU
========================== */

body.dark-mode .relative-navbar,
body.dark-mode .templateux-navbar {
  background-color: #111 !important;
  color: #fff !important;
}
body.dark-mode .templateux-navbar a {
  color: #ffffff !important;
}
body.dark-mode .templateux-navbar a:hover {
  color: #FDD241 !important;
}

/* Mobile menu background & links */
body.dark-mode .templateux-navbar .templateux-menu {
  background-color: #111 !important;
}
body.dark-mode .templateux-navbar .templateux-menu ul li a {
  color: #fff !important;
}
body.dark-mode .templateux-navbar .templateux-menu ul li a:hover {
  color: #FDD241 !important;
}

/* ==========================
   DARK MODE TOGGLE ICON
========================== */

#dark-mode-toggle,
#dark-mode-toggle-mobile {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

#dark-mode-toggle img,
#dark-mode-toggle-mobile img {
  width: 24px;
  height: 24px;
  display: inline-block;
}

/* Default icon (light mode active) */
body:not(.dark-mode) #dark-mode-toggle img.light-icon,
body:not(.dark-mode) #dark-mode-toggle-mobile img.light-icon {
  display: inline-block;
}
body:not(.dark-mode) #dark-mode-toggle img.dark-icon,
body:not(.dark-mode) #dark-mode-toggle-mobile img.dark-icon {
  display: none;
}

/* Dark mode icon (dark mode active) */
body.dark-mode #dark-mode-toggle img.light-icon,
body.dark-mode #dark-mode-toggle-mobile img.light-icon {
  display: none;
}
body.dark-mode #dark-mode-toggle img.dark-icon,
body.dark-mode #dark-mode-toggle-mobile img.dark-icon {
  display: inline-block;
}

/* ==========================
   HAMBURGER MENU
========================== */

body.dark-mode .hamburger-inner,
body.dark-mode .hamburger-inner::before,
body.dark-mode .hamburger-inner::after {
  background-color: #fff !important;
}
body.dark-mode .hamburger-box {
  background: transparent !important;
}

/* Footer — use your actual footer class (.templateux-footer) */
body.dark-mode .templateux-footer {
  background-color: transparent !important; /* keep consistent with page bg */
  color: #e6e6e6 !important;
}

/* Footer links (icons & anchors) */
body.dark-mode .templateux-footer .footer-social a,
body.dark-mode .templateux-footer a {
  color: #f5f5f5 !important;
  transition: color 0.2s ease, transform 0.15s ease;
}

/* Footer hover (yellow + subtle scale like the rest of site) */
body.dark-mode .templateux-footer .footer-social a:hover,
body.dark-mode .templateux-footer a:hover,
body.dark-mode .templateux-footer .footer-social a:focus,
body.dark-mode .templateux-footer a:focus {
  color: #FDD241 !important;
  -webkit-transform: scale(1.18);
  transform: scale(1.18);
}

/* make sure Font Awesome icons inherit color */
body.dark-mode .templateux-footer .footer-social a i,
body.dark-mode .templateux-footer a i {
  color: inherit !important;
}
