/* Import fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600&family=Poppins:wght@500;700&display=swap');

/********** Template CSS **********/
:root {
  --primary: #a96fd8;
  --secondary: #a7c7e7;
  --light: #ffffff; /* white background */
  --dark: #272727; /* almost black for text */
  --highlight: #ffc1e3; /* pastel pink */
}

body {
  font-family: 'Nunito', Arial, sans-serif;
  color: var(--dark);
  background: var(--light);
  padding-top: 90px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
  font-family: 'Poppins', Arial, sans-serif;
}

.navbar-brand img {
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(179, 157, 219, 0.1);
  background: rgba(179, 157, 219, 0.08);
  padding: 4px 10px;
  /* optional for glass: */
  /* backdrop-filter: blur(8px); */
}

.navbar.fixed-top.navbar-always-show {
  display: flex !important;
}

/* Glassmorphism Navbar */
.navbar.glass-navbar {
  background: rgba(255, 255, 255, 0.27) !important;
  box-shadow: 0 8px 32px 0 rgba(179, 157, 219, 0.16);
  backdrop-filter: blur(19px) saturate(145%);
  -webkit-backdrop-filter: blur(19px) saturate(145%);
  border-radius: 0 0 24px 24px;
  border-bottom: 1.5px solid rgba(179, 157, 219, 0.12);
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

.navbar.glass-navbar .navbar-brand.glass-logo {
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 2px 14px 0 rgba(179, 157, 219, 0.15);
  border-radius: 18px;
  padding: 5px 30px 5px 30px;
  margin: 0 30px;
  font-family: 'Montserrat', cursive, sans-serif;
  font-weight: 900;
  font-size: 2.4rem;
  color: var(--primary);
  letter-spacing: 5px;
  border: 1.3px solid rgba(179, 157, 219, 0.11);
  transition: background 0.2s;
  /* Optional subtle glass border effect */
  text-shadow: 0 2px 10px rgba(179, 157, 219, 0.1);
}
.navbar.glass-navbar .navbar-brand.glass-logo:hover {
  background: rgba(255, 255, 255, 0.6);
}

.navbar.glass-navbar .nav-link {
  color: var(--dark);
  font-weight: 600;
  transition: 0.2s;
}
.navbar.glass-navbar .nav-link.active,
.navbar.glass-navbar .nav-link:hover {
  color: var(--primary) !important;
  background: rgba(179, 157, 219, 0.13);
  border-radius: 9px;
}

/* mobile nav bar */

/* Make navbar toggler icon visible on glass navbars */
.navbar.glass-navbar .navbar-toggler {
  border: none;
  background: rgba(
    179,
    157,
    219,
    0.18
  ); /* subtle glass background for round effect */
  border-radius: 8px;
  box-shadow: 0 1px 8px 0 rgba(179, 157, 219, 0.14);
  padding: 7px 12px;
  margin-right: 8px;
}

.navbar.glass-navbar .navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(110,70,180,0.95)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  /* This makes the burger icon dark purple glassy color */
  filter: drop-shadow(0 1px 3px rgba(179, 157, 219, 0.08));
  border-radius: 3px;
}

.navbar.glass-navbar .navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 2px #b39ddb50;
}

.section {
  box-shadow: 0 8px 32px 0 rgba(179, 157, 219, 0.12);
  border-radius: 24px;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

.my-6 {
  margin-top: 6rem;
  margin-bottom: 6rem;
}

.py-6 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button (Minimalist Pastel Style) ***/
.btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 14px;
  transition: 0.3s cubic-bezier(0.4, 2, 0.5, 0.9);
  padding: 0.8rem 2.2rem;
  box-shadow: 0 4px 16px 0 rgba(179, 157, 219, 0.09);
  border: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(179, 157, 219, 0.15);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--secondary);
  color: var(--dark);
  box-shadow: 0 6px 24px 0 rgba(167, 199, 231, 0.18);
  transform: translateY(-2px) scale(1.04);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--dark);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--primary);
  color: #fff;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  border-radius: 10px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-square {
  width: 38px;
  height: 38px;
}
.btn-sm-square {
  width: 32px;
  height: 32px;
}
.btn-lg-square {
  width: 48px;
  height: 48px;
}

/*** Navbar ***/
.navbar.fixed-top {
  display: none;
  transition: 0.5s;
}

.navbar .navbar-nav .nav-link {
  padding: 20px 15px;
  color: var(--dark);
  font-size: 18px;
  font-weight: 600;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    padding: 10px 0;
  }
}

/*** Header ***/
#home {
  margin-bottom: 6rem;
  background: url(../img/bg-header.png) left top no-repeat;
}

.typed-cursor {
  font-size: 30px;
  color: var(--dark);
}

.btn-play {
  position: relative;
  display: block;
  box-sizing: content-box;
  width: 16px;
  height: 26px;
  border-radius: 100%;
  border: none;
  outline: none !important;
  padding: 18px 20px 20px 28px;
  background: var(--primary);
}

.btn-play:before {
  content: '';
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 100%;
  animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
  content: '';
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 60px;
  height: 60px;
  background: #ffffff;
  border-radius: 100%;
  transition: all 200ms;
}

.btn-play span {
  display: block;
  position: relative;
  z-index: 3;
  width: 0;
  height: 0;
  left: -1px;
  border-left: 16px solid var(--primary);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
    opacity: 0;
  }
}

.modal-video .modal-dialog {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0 auto;
}

.modal-video .modal-body {
  position: relative;
  padding: 0px;
}

.modal-video .close {
  position: absolute;
  width: 30px;
  height: 30px;
  right: 0px;
  top: -30px;
  z-index: 999;
  font-size: 30px;
  font-weight: normal;
  color: #ffffff;
  background: #000000;
  opacity: 1;
}

/*** About ***/
#about .years .display-1 {
  font-size: 10rem;
  line-height: 9rem;
}

#about .years h5 {
  letter-spacing: 30px;
  margin-right: -30px;
}

/* Glass effect */

/* Glassmorphism effect */
.about-glass-floating {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  box-shadow: 0 4px 18px 0 rgba(179, 157, 219, 0.08);
  /* Glass effect: */
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  /* Animation */
  animation: floatme 4s ease-in-out infinite;
  transition: box-shadow 0.3s;
}

.about-header {
  background: linear-gradient(90deg, #d6c7f5 0%, #bdd2f6 100%);
  text-align: center;
  padding: 3rem 1rem 2rem 1rem;
  border-radius: 0 0 40px 40px;
  margin-bottom: 2rem;
}
.about-profile {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 6px #fff, 0 2px 16px 0 #e5e0fb;
  margin-bottom: 1rem;
}
.about-header h2 {
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #9d7bd7;
  letter-spacing: 2px;
}
.subtitle {
  font-size: 1.15rem;
  color: #888;
  margin-bottom: 0.5rem;
}
.highlight {
  color: #9d7bd7;
  font-weight: 700;
  background: rgba(220, 202, 255, 0.2);
  border-radius: 6px;
  padding: 0 5px;
}
.about-sections.container {
  max-width: 740px;
  margin: 0 auto 2rem auto;
  padding: 0 1rem;
}
.about-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  box-shadow: 0 2px 12px 0 rgba(128, 96, 208, 0.07);
  margin-bottom: 2rem;
  padding: 2rem 1.7rem 1.2rem 1.7rem;
  transition: box-shadow 0.35s, transform 0.18s;
  position: relative;
}
.about-card:hover {
  box-shadow: 0 0 18px 3px #b39ddb, 0 2px 24px 0 #f3e8ff;
  transform: translateY(-4px) scale(1.02);
  border: 1.5px solid #b39ddb;
}
.section-icon {
  color: #bb7df7;
  margin-right: 8px;
}
.timeline {
  list-style: none;
  padding: 0 0 0 0.2rem;
  margin: 0;
}
.timeline li {
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 1.5em;
}
.timeline li:before {
  content: '•';
  color: #bb7df7;
  position: absolute;
  left: 0;
  font-size: 1.2em;
  top: 0.13em;
}
.about-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5em 0.7em;
}
@media (max-width: 700px) {
  .about-sections.container {
    max-width: 100%;
    padding: 0 0.4rem;
  }
  .about-header {
    padding: 2rem 0.2rem 1.5rem 0.2rem;
    border-radius: 0 0 24px 24px;
  }
  .about-card {
    padding: 1.2rem 0.7rem 0.8rem 0.7rem;
    margin-bottom: 1.1rem;
  }
  .about-facts {
    grid-template-columns: 1fr;
  }
}
.about-cta {
  text-align: center;
  border: 2px solid #e5d5fc;
}
.about-cta .btn-primary {
  margin-top: 0.7rem;
  background: #bb7df7;
  border: none;
  font-weight: 700;
  border-radius: 12px;
  transition: box-shadow 0.2s;
  box-shadow: 0 2px 16px 0 #e6d6ff;
}
.about-cta .btn-primary:hover {
  background: #a280c4;
  box-shadow: 0 2px 16px 0 #bb7df7;
}

.about-header-glow {
  text-align: center;
  background: linear-gradient(90deg, #dfd1f7 0%, #b7caf6 100%);
  padding: 2rem 1rem 2rem 1rem;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 2px 14px 0 #b493ed3c;
  margin-bottom: 1.5rem;
  animation: headerGlow 3s infinite alternate;
}
.glow-title {
  font-size: 2.5rem;
  color: #ad7df9;
  font-weight: bold;
  text-shadow: 0 0 10px #c9a9fc80;
}
.subtitle .highlight {
  color: #a076f7;
  font-weight: bold;
}
.about-sections.container {
  max-width: 840px;
  margin: 0 auto;
}
.about-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 #b8c6e66c;
  margin-bottom: 1.7rem;
  padding: 1.7rem 1.5rem 1.1rem 1.5rem;
  transition: box-shadow 0.3s;
}
.about-card:hover {
  box-shadow: 0 4px 30px 0 #a992edb2;
}
.highlight {
  color: #bb75e8;
  font-weight: bold;
  background: #f6e3ff;
  padding: 0 4px;
  border-radius: 4px;
  animation: glowText 1.7s infinite alternate;
}
@keyframes glowText {
  from {
    text-shadow: 0 0 5px #f3b2f2, 0 0 10px #ab8cff40;
  }
  to {
    text-shadow: 0 0 18px #bca0f6a2;
  }
}
.about-card .btn-primary {
  background: #bb75e8;
  border: none;
  font-weight: 600;
  color: #fff;
  margin-top: 8px;
  transition: background 0.2s;
}
.about-card .btn-primary:hover {
  background: #a076f7;
}

@keyframes floatme {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-16px);
  }
  100% {
    transform: translateY(0px);
  }
}

/*** Skills ***/
#skill .progress {
  height: 5px;
  border-radius: 5px;
}

#skill .progress .progress-bar {
  width: 0px;
  border-radius: 5px;
  transition: 3s;
}

#skill .nav-pills .nav-link {
  color: var(--dark);
}

#skill .nav-pills .nav-link.active {
  color: #ffffff;
}

#skill .tab-content hr {
  width: 30px;
}

/*** Progress Bar ***/

.progress-bar.bg-primary {
  background: var(--primary) !important;
}
.progress-bar.bg-warning {
  background: var(--highlight) !important;
}
.progress-bar.bg-danger {
  background: var(--secondary) !important;
}
.progress-bar.bg-info {
  background: var(--primary) !important;
}
.progress-bar.bg-dark {
  background: var(--dark) !important;
}

/*** Service ***/
.service-item .bg-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(../img/bg-icon.png) center center no-repeat;
  background-size: cover;
}

#service {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

.service-card-box {
  background: #f8f6fc;
  border-radius: 20px;
  box-shadow: 0 2px 20px 0 rgba(179, 157, 219, 0.11);
  transition: box-shadow 0.28s, transform 0.28s, background 0.28s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 250px;
  cursor: pointer;
  border: 1.5px solid #ede7f6;
  margin-bottom: 6px;
}
.service-card-box:hover {
  box-shadow: 0 8px 32px 0 rgba(179, 157, 219, 0.18);
  background: #ede7f6;
  transform: translateY(-8px) scale(1.03);
  border: 1.5px solid #b39ddb;
}
.service-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ede7f6;
  margin-bottom: 12px;
  transition: background 0.25s;
}
.service-card-box:hover .service-icon {
  background: #b39ddb;
}
.service-icon i {
  color: #b39ddb;
  font-size: 2rem;
  transition: color 0.25s;
}
.service-card-box:hover .service-icon i {
  color: #fff;
}
.service-card-box h4 {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.service-price {
  font-size: 1rem;
  color: #7c6baa;
  margin-bottom: 6px;
}
.service-price span {
  color: #8e24aa;
  font-weight: 700;
}
.service-card-box p {
  font-size: 1rem;
  color: #33334d;
  margin: 0;
}

@media (max-width: 991px) {
  .service-card-box {
    min-height: 210px;
  }
}

/*** Project Portfolio ***/
#portfolio-flters li {
  display: inline-block;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  transition: 0.5s;
  border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
  color: var(--primary);
  border-color: var(--primary);
}

.portfolio-img {
  position: relative;
}

.portfolio-btn {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(98, 68, 197, 0.9);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 30px;
  padding-bottom: 100px !important;
  opacity: 0;
  transition: 0.5s;
}

.portfolio-item:hover .portfolio-btn {
  opacity: 1;
  padding-bottom: 30px !important;
}

/* Testimonial */
#testimonial {
  background: linear-gradient(120deg, #b39ddb 0%, #a7c7e7 100%);
  border-radius: 32px;
  position: relative;
  z-index: 1;
  padding: 0;
  box-shadow: 0 8px 32px 0 rgba(179, 157, 219, 0.14);
}

/* Glass effect sa card */
.testimonial-item {
  background: rgba(255, 255, 255, 0.48);
  border-radius: 32px;
  box-shadow: 0 8px 32px 0 rgba(179, 157, 219, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 48px 32px 40px 32px;
  margin: 0 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  transition: box-shadow 0.2s;
}

.testimonial-text {
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  line-height: 1.6;
  letter-spacing: 0.5px;
}

.testimonial-item img {
  display: block;
  margin: 0 auto 18px auto;
  border-radius: 50%;
  border: 4px solid #b39ddb;
  width: 90px;
  height: 90px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(179, 157, 219, 0.12);
}

.testimonial-carousel .owl-dot {
  background: rgba(179, 157, 219, 0.2);
  border: none;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  margin: 0 6px;
  box-shadow: 0 2px 8px rgba(179, 157, 219, 0.11);
  transition: background 0.3s;
}

.testimonial-carousel .owl-dot.active,
.testimonial-carousel .owl-dot:hover {
  background-color: rgba(255, 255, 255, 0.6);
  padding: 1rem;
  border-radius: 8px;
}

/*** Team ***/
.team-item img {
  transition: 0.5s;
}

.team-item:hover img {
  opacity: 0.7;
}

.team-item .team-text {
  position: absolute;
  left: 0;
  right: 60px;
  bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transition: 0.5s;
}

.team-item:hover .team-text {
  right: 30px;
  opacity: 1;
}

.team-item .team-text div {
  transition: 0.5s;
}

.team-item:hover .team-text div {
  margin-left: 30px;
}

/*** Testimonial ***/
.testimonial-left,
.testimonial-right {
  position: relative;
}

.testimonial-left img,
.testimonial-right img {
  position: absolute;
  padding: 5px;
  border: 1px solid var(--secondary);
  border-radius: 70px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
  width: 70px;
  height: 70px;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
  width: 50px;
  height: 50px;
  bottom: 10%;
  right: 10%;
}

.testimonial-carousel .owl-item img {
  width: 120px;
  height: 120px;
}

.testimonial-carousel .testimonial-icon {
  position: absolute;
  width: 40px;
  height: 40px;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--secondary);
  border-radius: 60px;
}

.testimonial-carousel .owl-dots {
  height: 40px;
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 30px;
  height: 30px;
  background: #ffffff;
  border: none;
  border-radius: 30px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot::after {
  position: absolute;
  content: '';
  width: 16px;
  height: 16px;
  top: 5px;
  left: 5px;
  border-radius: 16px;
  background: var(--secondary);
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active::after {
  background: var(--primary);
}

#weatherResult,
#timeResult {
  font-weight: bold;
  font-size: 1.2rem;
}

#location-widget h3 {
  font-weight: bold;
  color: #5e469c;
}

.fade-in {
  animation: fadeIn 1s ease-in-out both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#locationResult {
  background: linear-gradient(to bottom right, #e6d6f2, #f3e8ff);
  color: #333;
}
#locationResult {
  background: linear-gradient(105deg, #f8f6fc 70%, #ece9f7 100%);
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(167, 199, 231, 0.11);
  padding: 24px 14px;
}

@media (max-width: 767px) {
  #locationResult iframe {
    height: 180px;
  }
}

.custom-widget-bg {
  background: linear-gradient(120deg, #ede7f6 60%, #f3e6ff 100%);
  border-radius: 28px;
  box-shadow: 0 2px 32px rgba(103, 78, 167, 0.09);
}

.custom-widget-card {
  background: #f8f6fc;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(100, 80, 180, 0.06);
}

#locationResult iframe {
  width: 100%;
  max-width: 1100px;
  height: 420px;
  background: #fff;
  border-radius: 18px;
}

@media (max-width: 991px) {
  .custom-widget-bg {
    padding: 18px 6px !important;
  }
  #locationResult iframe {
    height: 220px;
    max-width: 98vw;
  }
}
/* Play button: center of image with animated pulse, never overlapping lower buttons */
.btn-play-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  background: var(--primary);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 32px 0 rgba(179, 157, 219, 0.2);
  cursor: pointer;
  transition: background 0.18s;
  outline: none;
  padding: 0;
}

.btn-play-center:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 100%;
  background: var(--primary);
  opacity: 0.18;
  animation: pulse-border 1.6s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-play-center span {
  position: relative;
  z-index: 2;
  display: block;
  width: 0;
  height: 0;
  border-left: 20px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

@keyframes pulse-border {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.24;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.7);
    opacity: 0;
  }
}

/* Portfolio link button: lower-right, always visible, never overlapped */
.portfolio-btn-bottom {
  position: absolute;
  bottom: 22px;
  right: 22px;
  z-index: 6;
  opacity: 1;
}

/* Smaller animated play button (center) */
.btn-play-center-sm {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  background: var(--primary);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 22px 0 rgba(179, 157, 219, 0.16);
  cursor: pointer;
  transition: background 0.18s;
  outline: none;
  padding: 0;
}
.btn-play-center-sm:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 100%;
  background: var(--primary);
  opacity: 0.18;
  animation: pulse-border 1.6s infinite cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-play-center-sm span {
  position: relative;
  z-index: 2;
  display: block;
  width: 0;
  height: 0;
  border-left: 13px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

.project-glass-desc {
  background: rgba(255, 255, 255, 0.58);
  border-radius: 18px;
  box-shadow: 0 6px 26px 0 rgba(179, 157, 219, 0.1);
  padding: 16px 22px 10px 22px;
  backdrop-filter: blur(14px) saturate(175%);
  -webkit-backdrop-filter: blur(14px) saturate(175%);
  margin: auto;
  max-width: 94%;
  font-size: 15px;
  color: #333;
  border: 1.5px solid rgba(179, 157, 219, 0.09);
  min-height: 80px;
  /* Optional float/slide animation */
}
.project-glass-desc ul {
  padding-left: 1.1em;
  margin-bottom: 4px;
}
.project-glass-desc li {
  margin-bottom: 3px;
  font-size: 15px;
  color: #444;
}
.glass-tag {
  display: inline-block;
  background: rgba(169, 111, 216, 0.13);
  color: var(--primary);
  border-radius: 7px;
  padding: 2px 9px 2px 9px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 5px;
}

/* Beating purple heart — slower, realistic lub-dub, thicker look */
.heart-beat {
  display: inline-block;
  line-height: 1;
  font-size: 1.2em; /* medyo mas malaki = mas "tabâ" */
  font-weight: 900; /* dagdag kapal kung font supports it */
  color: #a96fd8;
  text-shadow: 0 0 0.6px #a96fd8,
    /* micro-outline para mas makapal ang tingin */ 0 2px 10px
      rgba(169, 111, 216, 0.18);
  transform-origin: center;
  animation: heartBeatReal 1.85s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  will-change: transform, color, text-shadow;
}

@keyframes heartBeatReal {
  /* baseline */
  0% {
    transform: scale(1);
    color: #a96fd8;
    text-shadow: 0 2px 10px rgba(169, 111, 216, 0.18);
  }
  /* 1st beat (lub) */
  10% {
    transform: scale(1.18);
    color: #c9a7ff;
    text-shadow: 0 6px 20px rgba(169, 111, 216, 0.3);
  }
  20% {
    transform: scale(1);
    color: #a96fd8;
    text-shadow: 0 3px 14px rgba(169, 111, 216, 0.22);
  }
  /* 2nd beat (dub) */
  30% {
    transform: scale(1.12);
    color: #b983ff;
    text-shadow: 0 5px 18px rgba(169, 111, 216, 0.26);
  }
  40% {
    transform: scale(1);
    color: #a96fd8;
    text-shadow: 0 2px 10px rgba(169, 111, 216, 0.18);
  }
  /* rest period */
  100% {
    transform: scale(1);
    color: #a96fd8;
    text-shadow: 0 2px 10px rgba(169, 111, 216, 0.18);
  }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .heart-beat {
    animation: none;
  }
}
/* ===============================
   FOOTER (Full-width, glass/purple)
   =============================== */

/* Base wrapper */
.site-footer {
  border-top: 1px solid rgba(179, 157, 219, 0.22);
  box-shadow: 0 -8px 32px rgba(179, 157, 219, 0.1);
  padding: 26px 0 30px;
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}

/* Brand mark (Dang text) */
.site-footer .brand-mark {
  display: inline-block;
  font-weight: 900;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  font-size: 1.2rem;
}

/* Links in the center nav */
.footer-nav {
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem 1.1rem;
}
.footer-nav li {
  list-style: none;
}
.footer-nav a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Social icons (right column) */
.footer-social a {
  color: var(--primary);
  margin-left: 10px;
  font-size: 1.1rem;
  transition: opacity 0.18s ease, color 0.18s ease;
}
.footer-social a:hover,
.footer-social a:focus {
  color: #7a4fd1;
  opacity: 0.9;
}

.xsmall {
  font-size: 0.85rem;
}

/* Variants
   - Use .site-footer--pastel by default
   - Switch to .site-footer--dark for stronger contrast
*/
.site-footer--pastel {
  color: var(--dark);
  background: radial-gradient(
      1000px 220px at 50% -20%,
      rgba(169, 111, 216, 0.18),
      transparent 60%
    ),
    linear-gradient(180deg, #f5effc 0%, #efe6fb 60%, #e6defa 100%);
}
.site-footer--dark {
  color: #fff;
  background: radial-gradient(
      1200px 260px at 50% -22%,
      rgba(255, 255, 255, 0.12),
      transparent 70%
    ),
    linear-gradient(180deg, #7f5bbf 0%, #6c47b0 100%);
  border-top-color: rgba(255, 255, 255, 0.18);
}
.site-footer--dark .footer-nav a {
  color: #f7f2ff;
}
.site-footer--dark .footer-nav a:hover,
.site-footer--dark .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.site-footer--dark .footer-social a {
  color: #f0e6ff;
}
.site-footer--dark .text-muted {
  color: #e9defc !important;
}

/* Quote + tagline tones */
.footer-quote {
  color: var(--dark);
  opacity: 0.85;
}
.site-footer--dark .footer-quote {
  color: #f7f2ff;
  opacity: 0.9;
}

.footer-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  opacity: 0.9;
  margin-top: 2px;
}
.site-footer--dark .footer-tagline {
  color: #f7f2ff;
  opacity: 0.95;
}

/* Beating heart (slow, lub-dub, thicker) */
.heart-beat {
  display: inline-block;
  line-height: 1;
  font-size: 1.2em;
  font-weight: 900;
  color: #a96fd8;
  text-shadow: 0 0 0.6px #a96fd8, 0 2px 10px rgba(169, 111, 216, 0.18);
  transform-origin: center;
  animation: heartBeatReal 1.85s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
@keyframes heartBeatReal {
  0%,
  100% {
    transform: scale(1);
    color: #a96fd8;
    text-shadow: 0 2px 10px rgba(169, 111, 216, 0.18);
  }
  10% {
    transform: scale(1.18);
    color: #c9a7ff;
    text-shadow: 0 6px 20px rgba(169, 111, 216, 0.3);
  }
  20% {
    transform: scale(1);
    color: #a96fd8;
    text-shadow: 0 3px 14px rgba(169, 111, 216, 0.22);
  }
  30% {
    transform: scale(1.12);
    color: #b983ff;
    text-shadow: 0 5px 18px rgba(169, 111, 216, 0.26);
  }
  40% {
    transform: scale(1);
    color: #a96fd8;
    text-shadow: 0 2px 10px rgba(169, 111, 216, 0.18);
  }
}
@media (prefers-reduced-motion: reduce) {
  .heart-beat {
    animation: none;
  }
}

/* Responsive polish */
@media (max-width: 991.98px) {
  .site-footer .brand-mark {
    margin-bottom: 0.25rem;
  }
  .footer-social {
    margin-top: 0.25rem;
  }
}
@media (max-width: 575.98px) {
  .site-footer {
    padding: 22px 0 26px;
  }
  .footer-nav {
    gap: 0.7rem 0.9rem;
  }
}

/* ---------- Readable prose (legal/docs/blog) ---------- */
.prose {
  max-width: 68ch; /* sweet spot: ~60–75 CPL */
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  hyphens: auto;
}

.prose h1,
.prose h2,
.prose h3 {
  line-height: 1.25;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
  font-weight: 700;
}
.prose h1 {
  font-size: 2rem;
}
.prose h2 {
  font-size: 1.5rem;
}
.prose h3 {
  font-size: 1.25rem;
}

.prose p {
  margin: 0 0 1em 0;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
  margin: 0.8em 0 1.2em;
}
.prose li {
  margin: 0.25em 0;
}

.prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose a:hover {
  opacity: 0.9;
}

.prose blockquote {
  margin: 1.4em 0;
  padding: 0.8em 1em;
  border-left: 3px solid var(--primary);
  background: rgba(169, 111, 216, 0.06);
  border-radius: 0.5rem;
  font-style: italic;
}

.prose .small,
.prose .text-muted {
  color: #6c757d;
}

/* optional width presets */
.prose--narrow {
  max-width: 62ch;
}
.prose--wide {
  max-width: 75ch;
}

/* mobile polish */
@media (max-width: 575.98px) {
  .prose {
    font-size: 1rem;
    line-height: 1.7;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }
}
/* Top padding for pages with fixed navbar */
.page-pad {
  padding-top: 96px;
} /* desktop */
@media (max-width: 991.98px) {
  .page-pad {
    padding-top: 84px;
  }
} /* tablets/phones */
.cs-hero-wrap {
  background: #faf8ff;
}
.cs-hero {
  transition: transform 0.2s ease;
  cursor: zoom-in;
}
.cs-hero:hover {
  transform: scale(1.02);
}
.cs-thumbs {
  overflow-x: auto;
  padding-bottom: 4px;
}
.cs-thumb {
  display: block;
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.06);
  width: 140px;
  height: 90px;
  object-fit: cover;
  background: #f3f1f8;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.cs-thumb:hover {
  transform: translateY(-1px);
}
.cs-thumb.active {
  border-color: var(--primary);
}
.cs-copy p {
  margin-bottom: 0.7rem;
}
.cs-copy ul {
  padding-left: 1.1rem;
}
.cs-copy li {
  margin-bottom: 0.35rem;
}
/* Case-study header aligns with gallery + copy */
.cs-head {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.cs-head .h4 {
  line-height: 1.15;
}

@media (min-width: 992px) {
  /* tighter spacing so title sits closer to the columns */
  .cs-head {
    padding-bottom: 0.35rem;
    margin-bottom: 0.25rem;
  }
}
/* Ensure modals are always above the glass navbar or any sticky UI */
.navbar {
  z-index: 1030;
} /* Bootstrap default-ish; keep lower than modal */
.modal-backdrop {
  z-index: 1050;
} /* behind modal, above navbar */
.modal {
  z-index: 1060;
} /* above everything */
/* Hero wrapper + zoom button */
.cs-hero-wrap {
  position: relative;
  background: #faf8ff;
}
.cs-hero {
  cursor: zoom-in;
}

.cs-zoom-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.cs-zoom-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* If Font Awesome is loaded, show a magnifier icon */
.cs-zoom-btn i {
  font-size: 16px;
  line-height: 1;
}

/* Fullscreen lightbox */
.cs-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.cs-lightbox.show {
  opacity: 1;
}
.cs-lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
/* === Fade-in reveal (append to css/style.css) === */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
/* Optional: prefer-reduced-motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-visible {
    transition: none;
  }
}
/* Lightweight skill “pills” for homepage summary */
.skill-pill {
  display: inline-block;
  padding: 0.38rem 0.7rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  background: #fff;
  font-size: 0.9rem;
  line-height: 1;
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-visible {
    transition: none;
  }
}
/* === Minimalist Hero Tweaks === */

/* Tone down the small line (remove purple, smaller) */
#home h3.text-primary {
  color: #64748b !important; /* slate-500 */
  font-weight: 600;
  font-size: clamp(0.95rem, 1.2vw, 1.125rem);
  margin-bottom: 0.75rem;
  letter-spacing: 0;
}

/* H1: strong but not shouting */
#home .display-3 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Typed text: smaller, neutral color */
#home .typed-text-output {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  font-weight: 500;
  color: #111827; /* slate-900 */
}
#home .typed-cursor {
  color: #9ca3af;
} /* subtle cursor */

/* Buttons: compact + rounded, keep minimalist */
#home .btn {
  font-size: 0.95rem;
  padding: 0.7rem 1rem;
  border-radius: 0.75rem;
}
#home .btn-outline-primary {
  color: #111827;
  border-color: #e5e7eb;
}
#home .btn-outline-primary:hover {
  background: #111827;
  color: #fff;
}

/* Avoid anchor jump hiding the hero under sticky header (if any) */
#home {
  scroll-margin-top: 96px;
}

@media (max-width: 576px) {
  #home .display-3 {
    font-size: 2rem;
  }
}

/* Optional: if you want super-minimal on small screens, hide typed */
@media (max-width: 480px) {
  /* comment these two lines if you want to keep the typed effect on mobile */
  /* .typed-text-output, .typed-cursor { display:none !important; } */
}
/* === Case Study: click-to-play hero (minimalist) === */
.cs-hero {
  position: relative;
  background: #faf8ff;
  aspect-ratio: 16/9;
  display: block;
}
.cs-hero .cs-poster,
.cs-hero .cs-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #faf8ff;
}

/* overlay button */
.btn-play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0.08)
  );
  border: 0;
  cursor: pointer;
}
.btn-play-overlay .icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.72); /* neutral dark */
  color: #fff;
  font-size: 22px;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: transform 0.18s ease, background 0.18s ease;
}
.btn-play-overlay:hover .icon {
  transform: scale(1.06);
}
.cs-hero.is-playing .btn-play-overlay {
  display: none;
}

/* small alignment/spacing helpers */
.cs-head h3 {
  font-weight: 700;
}
.cs-copy ul {
  padding-left: 1.1rem;
}
/* Click-to-play hero */
.cs-hero {
  position: relative;
  background: #faf8ff;
  aspect-ratio: 16/9;
  display: block;
}
.cs-hero .cs-poster,
.cs-hero .cs-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #faf8ff;
}
.btn-play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0.08)
  );
  border: 0;
  cursor: pointer;
}
.btn-play-overlay .icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.72);
  color: #fff;
  font-size: 22px;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: transform 0.18s ease;
}
.btn-play-overlay:hover .icon {
  transform: scale(1.06);
}
.cs-hero.is-playing .btn-play-overlay {
  display: none;
}
/* --- Case-study video: make it obvious it's clickable --- */
.cs-hero .cs-poster,
.btn-play-overlay {
  cursor: pointer !important; /* show the hand */
}

/* If it appears inside a Bootstrap modal, kill any zoom-in rule there too */
.modal .cs-hero .cs-poster {
  cursor: pointer !important;
}

/* Make sure the overlay sits on top, so it receives the click */
.btn-play-overlay {
  z-index: 2;
}

/* Optional: subtle “pulse” on the play button so users notice it */
.btn-play-overlay .icon {
  animation: csPulse 1.6s ease-in-out infinite;
}
@keyframes csPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

/* Optional: tiny helper caption */
.btn-play-overlay::after {
  content: 'Click to play';
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}
/* Kill the zoom cursor everywhere inside the case-study hero */
.modal .cs-hero img,
.modal .cs-hero video,
.cs-hero .cs-poster,
.cs-hero .cs-video {
  cursor: default !important;
}

/* The click-to-play overlay shows a hand so it's obviously clickable */
.btn-play-overlay {
  cursor: pointer !important;
  z-index: 2;
}
.btn-play-overlay .icon {
  animation: csPulse 1.6s ease-in-out infinite;
}
@keyframes csPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

/* Make the video area taller on large screens via an aspect-ratio variable */
:root {
  --cs-hero-ratio: 16/9;
} /* default (mobile/medium) */
@media (min-width: 992px) {
  :root {
    --cs-hero-ratio: 4/3;
  } /* taller in modal on desktop */
}

/* Apply the ratio + allow a sensible max height */
.cs-hero {
  aspect-ratio: var(--cs-hero-ratio);
  max-height: 72vh; /* avoid overflowing viewport */
  background: #faf8ff;
}
.cs-hero .cs-poster,
.cs-hero .cs-video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* preserve video, no crop */
  background: #faf8ff;
}
/* Kill all motion on the About page only */
#about-page .reveal-up,
#about-page .reveal-visible {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
#about-page .wow {
  visibility: visible !important;
  animation: none !important;
}
