@charset "UTF-8";
body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  color: #0f172a;
  padding-top: 70px;
}

.header .tagline {
  color: #0073ff;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

h1,
h2,
h3,
.display-1,
.display-2,
.navbar-brand,
.section-title {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
}

h4,
h5,
h6,
.section-subtitle,
.card-title {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
}

p,
li,
.lead,
.small {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
}

.header {
  position: relative;
  background: #000f2a url("../images/intro-bg2.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  color: #ffffff;
}

.header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 15, 42, 0.78);
}

.header .text-container {
  z-index: 10;
}

.header h5 {
  letter-spacing: 0.18em;
}

.header #typing-text {
  color: #ffffff;
}

.header .roles {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header .social {
  bottom: 50px;
}
.header .social i {
  color: #ffffff;
}

.about-img {
  width: 270px;
  border: 4px solid #0073ff;
}

.project {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
}
.project .preview-image {
  display: block;
  width: 100%;
  height: auto;
}
.project .preview-overlay {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 4px 10px;
  font-size: 0.85rem;
  border-radius: 5px;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.project:hover {
  transform: scale(1.05);
  transition: all 0.5s ease-in-out;
  opacity: 0.9;
}
.project:hover .preview-overlay {
  opacity: 1;
}

.preview-image {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
}

.services {
  position: relative;
  background: #000f2a url("../images/bg.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  color: #ffffff;
}

.services::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 15, 42, 0.82);
}

.services .container {
  position: relative;
  z-index: 10;
}

.services ul {
  text-align: left;
  display: inline-block;
  margin: 0 auto;
  padding-left: 1rem;
}

#karelVideo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

.neon-pop {
  color: #0073ff;
  font-weight: 700;
  text-shadow: 0 0 5px rgba(0, 115, 255, 0.7), 0 0 10px rgba(0, 115, 255, 0.7), 0 0 20px rgba(0, 115, 255, 0.7);
  animation: neon-pop 2s ease-in-out infinite;
  display: inline-block;
}

@keyframes neon-pop {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
    text-shadow: 0 0 5px rgba(0, 115, 255, 0.7), 0 0 10px rgba(0, 115, 255, 0.7), 0 0 20px rgba(0, 115, 255, 0.7);
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
    text-shadow: 0 0 10px rgba(0, 115, 255, 0.9), 0 0 20px rgba(0, 115, 255, 0.9), 0 0 40px rgba(0, 115, 255, 0.9);
  }
}
.navbar {
  z-index: 1030;
  padding: 0.5rem 1rem;
  background-color: #000f2a !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: none;
}
.navbar .container {
  display: flex;
  align-items: center;
}
.navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.navbar .navbar-brand img {
  height: 72px;
  width: auto;
  display: block;
}
.navbar .navbar-toggler {
  margin-left: auto;
  position: static !important;
}

.navbar.scrolled {
  background-color: #000f2a !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.navbar-brand img {
  height: 64px !important;
}
@media (min-width: 768px) {
  .navbar-brand img {
    height: 72px !important;
  }
}
@media (min-width: 1200px) {
  .navbar-brand img {
    height: 80px !important;
  }
}

@media (max-width: 767px) {
  .header .social i {
    font-size: 30px;
  }
  .header .roles {
    font-size: 18px !important;
  }
  .about-content {
    flex-direction: column;
  }
  .stats .stat {
    border-right: 0 !important;
    margin-bottom: 40px;
    border-bottom: var(--bs-dark) solid 1px;
    padding-bottom: 20px;
  }
}
/* Make nav items fit + keep them visible */
.navbar-nav {
  margin-left: auto;
  margin-right: 0;
}

/* Tighter spacing so Scholarship item doesn’t go off-screen */
.navbar-nav .nav-link {
  padding-left: 0.45rem !important;
  padding-right: 0.45rem !important;
  font-size: 0.9rem !important;
}

.navbar-nav .nav-item {
  margin: 0 0.15rem !important;
}

/* Free up space by hiding long brand text on medium screens */
@media (max-width: 1350px) {
  .navbar-brand-text {
    display: none !important;
  }
}
a.highlight-link {
  color: #0073ff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

a.highlight-link:hover {
  color: #005fcc;
  text-decoration-color: #005fcc;
}

.bigger-about-img {
  max-width: 380px !important;
  /* increase image size */
  width: 100%;
  height: auto;
}
