html {
  scroll-behavior: smooth;
}
/* Holiday border */
#christmas-border {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 18px;
  pointer-events: none;
  background: repeating-linear-gradient(45deg,#ff2e2e 0 20px,#fff 20px 40px,#1aa03e 40px 60px,#fff 60px 80px);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.4);
  z-index: 5; /* below nav (10) above background */
  animation: borderGlow 6s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  #christmas-border { animation: none; }
}
@keyframes borderGlow {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.25); }
  100% { filter: brightness(1); }
}

/* Realistic small snow mound at bottom */
#snow-pile {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50px; /* taller, more realistic mounds */
  pointer-events: none;
  z-index: 6; /* above border */
  /* Layer 1: base soft snow fill */
  background:
    linear-gradient(to bottom, #ffffff 0%, #fdfdfd 45%, #f5f9fc 100%);
  /* Irregular top edge via clip-path (fallback if unsupported) */
  clip-path: polygon(0 62%, 4% 56%, 8% 60%, 12% 52%, 16% 58%, 20% 54%, 24% 59%, 28% 51%, 32% 60%, 36% 56%, 40% 63%, 44% 54%, 48% 61%, 52% 55%, 56% 64%, 60% 54%, 64% 62%, 68% 53%, 72% 61%, 76% 56%, 80% 64%, 84% 55%, 88% 62%, 92% 57%, 96% 65%, 100% 56%, 100% 100%, 0 100%);
  box-shadow: 0 -8px 18px rgba(0,0,0,0.28);
  border-top: 1px solid rgba(255,255,255,0.55);
}
#snow-pile::before,
#snow-pile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* Layer 2: clustered lumps using radial gradients */
#snow-pile::before {
  background:
    radial-gradient(70px 26px at 6% 9px,  rgba(255,255,255,0.95) 60%, rgba(255,255,255,0) 61%),
    radial-gradient(92px 30px at 18% 11px, rgba(255,255,255,0.98) 60%, rgba(255,255,255,0) 61%),
    radial-gradient(80px 28px at 30% 9px,  rgba(255,255,255,0.96) 60%, rgba(255,255,255,0) 61%),
    radial-gradient(110px 34px at 46% 13px, rgba(255,255,255,0.98) 60%, rgba(255,255,255,0) 61%),
    radial-gradient(85px 28px at 62% 10px, rgba(255,255,255,0.96) 60%, rgba(255,255,255,0) 61%),
    radial-gradient(105px 32px at 78% 12px, rgba(255,255,255,0.98) 60%, rgba(255,255,255,0) 61%),
    radial-gradient(75px 26px at 92% 10px, rgba(255,255,255,0.94) 60%, rgba(255,255,255,0) 61%);
  mix-blend-mode: lighten;
  opacity: 0.9;
}
/* Layer 3: subtle crystalline shimmer & noise */
#snow-pile::after {
  background:
    linear-gradient(to top, rgba(180,200,220,0.18), rgba(255,255,255,0) 60%), /* cool shadow near ridge */
    repeating-linear-gradient(60deg, rgba(255,255,255,0.28) 0 3px, rgba(255,255,255,0) 3px 7px);
  opacity: 0.35;
  mix-blend-mode: screen;
  animation: snowSparkle 10s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  #snow-pile::after { animation: none; }
}
@keyframes snowSparkle {
  0% { filter: brightness(1); }
  40% { filter: brightness(1.15); }
  70% { filter: brightness(1); }
  100% { filter: brightness(1.15); }
}

* {
  padding: 0;
  margin: 0;
  outline: none;
  border: none;
  box-sizing: border-box;
}

#loading-overlay {
  max-height: 100vh;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: lighten;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(20px);
}
/* Chat Container */
.chat-container {
  position: fixed;
  bottom: 60px;
  right: 20px;
  width: 300px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  font-family: Arial, sans-serif;
  z-index: 999;
}

/* Chat Box */
.chat-box {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 10px;
  padding-right: 10px;
}

/* Chat Message */
.chat-message {
  background-color: #f1f1f1;
  padding: 10px;
  border-radius: 10px;
  margin: 5px 0;
}

/* Bot Messages */
.bot-message {
  color: #fcfcfc;
  text-align: left;
  background-color: transparent;
}

/* User Messages */
.user-message {
  background-color: #5555;
  color: #6f89d3;
  text-align: right;
}

/* Chat Input */
.chat-input-container {
  display: flex;
  align-items: center;
}

.chat-input-container input {
  width: 80%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
  color: #6f89d3;
}

.chat-input-container button {
  width: 20%;
  padding: 10px;
  margin: -10px 0px 0px 10px;
  background-color: #1e40d8;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.chat-input-container button:hover {
  background-color: #1e40af;
}

/* Main content initially hidden */
#content {
  display: none;
}

img {
  width: 100%;
  display: flex;
}

.image img {
  width: 100%;
  display: flex;
  mix-blend-mode: lighten;
}
.image {
  background-color: #fcfcfc;
  mix-blend-mode: darken;
}

a {
  text-decoration: none;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: #181818;
}
body::-webkit-scrollbar {
  display: none;
}

nav {
  position: fixed;
  width: 100%;
  z-index: 10;
  margin: auto;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background-color: transparent;
  backdrop-filter: blur(20px);
}

.nav-logo {
  max-width: 100px;
}
.nav-logo img {
  mix-blend-mode: darken;
  background-color: transparent;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.link a {
  position: relative;
  padding-bottom: 0.75rem;
  color: #fcfcfc;
  mix-blend-mode: difference;
  opacity: 80%;
}

.link a::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0;
  bottom: 0;
  left: 0;
  background-color: #1e40d8;
  transition: all 0.3s ease;
}

.link a:hover::after {
  width: 100%;
}

.btn {
  padding: 1rem 2rem;
  font-size: 1rem;
  color: #fcfcfc;
  background-color: #1e40d8;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn a {
  font-size: 1rem;
  color: #fcfcfc;
}

.btn:hover {
  background-color: #1e40af;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 5rem 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.container.visible {
  opacity: 1;
  transform: translateY(0);
}

.blur {
  position: absolute;
  box-shadow: 0 0 1000px 50px #1d4ed8;
  z-index: -100;
}
.container .socials {
  display: flex;
  gap: 3rem;
  float: right;
  align-items: center;
  justify-content: center;
  /* background-color: #4c4747; */
  height: 3rem;
  margin-right: 2rem;
}
.container .socials a {
  color: #ccc;
  border: 1px solid #ccc;
  padding: 5px 10px;
  font-size: 1.25rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.container .socials a:hover {
  color: #fff;
  background-color: #1d4ed8;
  border-color: #1e40af;
}

header {
  position: relative;
  padding-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2rem;
}

header .content h4 {
  margin-bottom: 1rem;
  color: #ccc;
  font-size: 1rem;
  font-weight: 600;
}

header .content h1 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 3rem;
  font-weight: 700;
  line-height: 4rem;
}

header .content h1 span {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #fff;
}

header .content p {
  margin-bottom: 2rem;
  color: #ccc;
}

header .image {
  margin-top: 50px;
  position: relative;
  background-color: #181818;
}
/* header .image::before {
  content: "B";
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 40rem;
  font-weight: 400;
  line-height: 20rem;
  color: #1d4ed8;
  opacity: 0.2;
  z-index: -100;
} */

header .image img {
  max-width: 600px;
  margin: auto;
  mix-blend-mode: darken;
}

section .header {
  margin-bottom: 1rem;
  color: #fff;
  text-align: center;
  font-size: 2.25rem;
  font-weight: 600;
}
.services {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.services .card {
  background-color: #27272a;
  padding: 1rem;
  border: 1px solid transparent;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.services .card:hover {
  background-color: #323232;
  border-color: #fff;
}

.services .card span {
  display: inline-block;
  background-color: #1e40af;
  padding: 2px 9px;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  color: #fff;
  border-radius: 5px;
}
.services .card h4 {
  margin-bottom: 0.5rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
}

.services .card p {
  color: #ccc;
  margin-bottom: 1rem;
}

.services .card a {
  color: #fff;
  transition: all 0.3s ease;
}

.services .card a:hover {
  color: #1e40af;
}

.subheader {
  max-width: 600px;
  margin: auto;
  text-align: center;
  color: #ccc;
}
.mySlides {
  display: none;
}
.work-slideshow {
  height: 80vh;
  width: 100%;
}
.work-slideshow img {
  display: block;
  margin-left: auto;
  margin-right: auto;

  max-width: 500px;
}

.work {
  margin-bottom: 4rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.work .column {
  flex: 33.33%;
  max-width: 33.33%;
  padding: 0 4px;
}

.work .column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}
.work .column video {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

.pricing {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pricing .card {
  padding: 3rem 2rem;
  background-color: #27272a;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.pricing .card:hover {
  background-color: #323232;
  border-color: #fff;
  /* scale: 101%; */
}

.pricing .card .content {
  flex: 1;
  margin-bottom: 2rem;
}

.pricing .card h4 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
}
.pricing .card h3 {
  color: #fff;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 600;
  border-bottom: 2px dashed #fff;
}
.pricing .card p {
  color: #fff;
  margin-bottom: 0.75rem;
}
.pricing .card p i {
  color: #fff;
  font-size: 1.2rem;
  margin-right: 0.3rem;
}

.pricing .card button {
  width: 100%;
  color: #fff;
  background-color: transparent;
  border: 2px solid #fff;
}

.pricing .card button:hover {
  background-color: #1e40af;
  border-color: #1d4ed8;
}

/* footer {
  position: relative;
  display: grid;
  grid-template-columns: 400px repeat(2, 1fr);
  gap: 2rem;
} */
.contact-section {
  padding: 40px;
  text-align: center;
}

.contact-section h2 {
  margin-bottom: 20px;
  font-size: 2em;
}

form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

label {
  margin-top: 10px;
}

input,
textarea {
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  background-color: transparent;
  color: #fcfcfc;
}

footer .column .logo {
  max-width: 100px;
  margin-bottom: 2rem;
}

footer .column p {
  color: #fcfcfc;
  margin-bottom: 2rem;
}

footer .column .socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}
footer .column .socials a {
  color: #ccc;
  border: 1px solid #ccc;
  padding: 5px 10px;
  font-size: 1.25rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}
footer .column .socials a:hover {
  color: #fff;
  background-color: #1d4ed8;
  border-color: #1e40af;
}

footer .column h4 {
  color: #fff;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 500;
}

footer .column > a {
  color: #ccc;
  display: block;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
footer .column > a:hover {
  color: #1d4ed8;
}
footer p {
  color: #fcfcfc;
}

@media (width < 900px) {
  .nav-links {
    display: none;
  }
  header {
    grid-template-columns: repeat(1, 1fr);
  }
  header .image {
    grid-area: 1/1/2/2;
  }
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
  .work-slideshow {
    height: 50vh;
  }

  .work .column {
    flex: 50%;
    max-width: 50%;
  }

  .pricing {
    grid-template-columns: repeat(2, 1fr);
  }

  /* footer {
    grid-template-columns: 1fr 200px;
  } */
}
@media (width < 600px) {
  header .image::before {
    display: none;
  }
  .services {
    grid-template-columns: repeat(1, 1fr);
  }
  .work-slideshow {
    height: 50vh;
  }
  .work .column {
    flex: 100%;
    max-width: 100%;
  }
  .pricing {
    grid-template-columns: repeat(1, 1fr);
  }

  /* footer {
    grid-template-columns: 1fr 150px;
  } */
}
footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  footer {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  footer .column {
    margin: auto;
    padding: 1rem 0;
  }
}
/* Side Navigation Styling */
.side-nav {
  display: none;
}

/* Side Navigation - Hidden State */
.side-nav.hidden {
  opacity: 0;
  transform: translateY(100%) translateX(-50%); /* Offscreen vertically */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Side Navigation - Visible State */
.side-nav.visible {
  opacity: 1;
  transform: translateY(0) translateX(-50%); /* In position */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.nav-item {
  display: block;
  width: 50px;
  height: 50px;
  background-color: #181818;
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.nav-item:hover {
  background-color: #1d4ed8;
  color: #fff;
  transform: scale(1.2);
}

/* Tooltip Effect */
.nav-item::after {
  content: attr(data-section);
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: #fff;
  background-color: #181818;
  padding: 5px 10px;
  border-radius: 5px;
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.3s, transform 0.3s;
}

.nav-item:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(10px);
}

/* Highlight Active Section */
.nav-item.active {
  background-color: #1d4ed8;
  transform: scale(1.2);
}

/* Responsive Styling */
@media (max-width: 768px) {
  .side-nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .side-nav {
    padding: 10px;
    background-color: transparent;
    border-radius: 25px;
    backdrop-filter: blur(20px);
    position: fixed;
    bottom: 10px; /* Position near the bottom of the viewport */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
  }
  .nav-item {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    line-height: 40px;
  }
  .nav-item::after {
    left: 0;
    top: -30px;
    transform: translateX(-50%);
  }
  .chat-container {
    /* display: none; */
    margin-bottom: 55px;
  }
  .container .socials {
    margin-top: 50px;
  }
  #element {
    font-size: 32px;
    height: fit-content;
  }
  
}
/* Side Navigation - Hidden State */
/* .side-nav.hidden {
  opacity: 0;
  transform: translateY(100%) translateX(50%);
  transition: opacity 0.5s ease, transform 0.5s ease;
} */

/* Side Navigation - Visible State */
/* .side-nav.visible {
  opacity: 1;
  transform: translateY(0%) translateX(100);
  transition: opacity 0.5s ease, transform 0.5s ease;
} */
#secretKeyDisplay {
  font-size: 1.2rem;
  margin-top: 10px;
  color: #1d4ed8; /* Highlight the secret key */
  font-weight: bold;
}

/* Snow Effect */

.snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000; /* Ensure it overlays all other elements */
  pointer-events: none; /* Allow clicks and interactions with underlying content */
  overflow: hidden;
}

.snowflake {
  position: absolute;
  background-color: white;
  border-radius: 50%;
  opacity: 0.8;
  pointer-events: none;
}

@keyframes fall {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
    transform: translateY(100vh);
  }
}

@keyframes diagonal-fall {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 0.25;
    transform: translate(10vw, 100vh);
  }
}

.countdown-container {
  position: fixed;
  top: 140%;
  left: 50%;
  /* width: 100%; */
  transform: translate(-50%, -50%);
  z-index: 1001;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  color: #fcfcfc;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  text-align: center;
}

#countdown-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

#countdown {
  font-size: 1.2rem;
  display: flex;
  gap: 10px;
  justify-content: center;
}

#countdown span {
  font-weight: bold;
  font-size: 1.5rem;
}

@media (max-width: 480px) {
  countdown-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  #countdown {
    font-size: 1rem;
    display: flex;
    gap: 10px;
    justify-content: center;
  }
  #countdown span {
    font-weight: bold;
    font-size: 1.2rem;
  }
}
.newYearBanner {
  text-align: center;
  position: fixed;
  top: 140%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  background-color: rgba(255, 255, 255, 0.171);
  backdrop-filter: blur(10px);
  color: #fcfcfc;
  padding: 20px 30px;
  border-radius: 10px;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  overflow: hidden; /* Ensure the pseudo-element is contained */
}

.newYearBanner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(72, 72, 72, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-100%);
  animation: shineEffect 1.7s infinite;
  pointer-events: none; /* Ensures it doesn't interfere with interactivity */
  border-radius: inherit; /* Matches the border-radius of the banner */
}

@keyframes shineEffect {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.chat-toggle-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #1e40d8;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.chat-toggle-btn:hover {
  transform: scale(1.1);
  background-color: #1e40af;
}

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

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