@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --navbar-height: 60px;
}

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

/* Blinking cursor effect */
@keyframes blink {
    50% {
        border-color: transparent;
    }
}

  /* Desktop-only custom cursor styling */
  @media (min-width: 769px) {
    #cursor-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 40px;
        height: 40px;
        pointer-events: none;
        z-index: 2147483647; /* max z-index to render above iframe */
        transform: translate(-50%, -50%);
        animation: glowPulse 1.5s infinite ease-in-out;
        filter: drop-shadow(0 0 2px #FFD700) drop-shadow(0 0 4px #FFD700) drop-shadow(0 0 6px #ffa200);
      }
      
      #cursor {
        width: 22px;
        height: 22px;
        margin: auto;
        background: #FFD700;
        clip-path: polygon(
          50% 0%,
          93% 25%,
          93% 75%,
          50% 100%,
          7% 75%,
          7% 25%
        );
        transform: rotate(10deg);
      }
      
      body, html {
        cursor: none !important;
        overflow-x: hidden; /* still allow vertical scroll */
      } 
      
      @keyframes glowPulse {
        0% { filter: drop-shadow(0 0 2px #FFD700) drop-shadow(0 0 4px #FFD700); }
        50% { filter: drop-shadow(0 0 6px #FFD700) drop-shadow(0 0 8px #FFD700); }
        100% { filter: drop-shadow(0 0 2px #FFD700) drop-shadow(0 0 4px #FFD700); }
      }
  }

html {
  scroll-behavior: smooth;
}

.Main-Content {
  position: relative;
  z-index: 1;
}

li, a, button {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #333;
  text-decoration: none;
}

.dark-overlay {
  display: none;
  z-index: -1;
}

@media (prefers-color-scheme: dark) {
  .dark-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
    pointer-events: none;
  }

  .NavBar,
  .header,
  .blog-card,
  .Footer,
  .Copyright {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
  }
}

.blog-container {
  position: relative;
  padding: 20px;
  margin: calc(var(--navbar-height) + 40px) auto 60px auto;
  max-width: 80%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(10px);
  border-radius: 20px;
}


.blog-title {
  font-size: 2.5rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
  margin-right: 5%;
  text-align: left;
}

.blog-image {
  display: block;
  margin: 0 auto 25px auto;
  width: 50%;
  height: auto;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.blog-content {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.8;
  color: #ddd;
}

.blog-content span {
  font-weight: 800 !important;
  display: block;
  margin: 20px 0;
  color: #ffffff !important;
}

.blog-content span1 {
  font-weight: 600 !important;
  display: block;
  margin: 20px 0;
  color: #ffffff !important;
}

.blog-content span2 {
  font-weight: 400 !important;
  display: block;
  margin: 20px 0;
  color: #ffffff !important;
}

.blog-content p1 {
  font-weight: 300 !important;
  display: block;
  margin-left: 15%;
  margin-right: 5%;
  color: #ffffff !important;
  justify-content: center;
}

.underline {
  width: 70%; /* control the length of the line */
  height: 2px; /* thickness of the line */
  background: linear-gradient(to left, #fff, rgba(255,255,255,0)); /* purple to yellow gradient */
  margin: 40px auto 40px auto; /* center the line and give bottom margin */
  border-radius: 10px;
}

.Footer {
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  text-align: center;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  background-color: black;
  background-image:
    radial-gradient(circle at 20% 30%, #5b2d85, transparent 30%),
    radial-gradient(circle at 90% 60%, #ffa200, transparent 35%),
    radial-gradient(circle at 40% 100%, #5b2d85, transparent 25%),
    radial-gradient(circle at 80% 0%, #ffa200, transparent 30%);
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: screen;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: transparent;
  z-index: -1;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px),
    radial-gradient(rgba(255, 255, 255, 0.05) 3px, transparent 3px),
    radial-gradient(rgba(255, 255, 255, 0.15) 4px, transparent 4px);
  background-size: 100px 100px, 150px 150px, 200px 200px;
  background-position: 0 0, 50px 50px, 100px 100px;
  animation: hexagonMove 100s linear infinite;
}

@keyframes hexagonMove {
  0% {
    background-position: 0 0, 50px 50px, 100px 100px;
  }
  50% {
    background-position: 400px 400px, 600px 600px, 1000px 1000px;
  }
  100% {
    background-position: 0 0, 50px 50px, 100px 100px;
  }
}

.NavBar {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: background-color 0.3s ease;
}

.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}

.navbar-logo {
  height: 40px;
  filter: brightness(0) invert(1);
}

.mobile-menu-icon {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.desktop-nav {
  display: flex;
  justify-content: flex-end;
  margin-top: 0;
}

.desktop-nav .NaveLinks {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.desktop-nav .NaveLinks li a {
  color: white;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.desktop-nav .NaveLinks li a:hover {
  color: #ffa200;
}

.mobile-menu-wrapper {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mobile-menu-wrapper.active {
  display: flex;
  transform: translateX(0%);
}

.mobile-menu-wrapper .NaveLinks {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-menu-wrapper .NaveLinks li a {
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.close-menu {
  margin-top: 40px;
  font-size: 2rem;
  color: #ffa200;
  cursor: pointer;
  transition: transform 0.3s;
}

.close-menu:hover {
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-icon {
    display: block;
  }
}

@media (min-width: 769px) {
  .mobile-menu-wrapper,
  .close-menu,
  .mobile-menu-icon {
    display: none !important;
  }

  .top-row {
    width: 100%;
  }

  .desktop-nav {
    display: flex !important;
  }

  .desktop-nav .NaveLinks {
    display: flex !important;
    flex-direction: row !important;
  }
}

.Footer-logo {
  height: auto;
  padding-top: 2%;
  width: 30%;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.Footer p {
  color: #fff;
  padding: 0 20%;
  margin-bottom: 20px;
  text-align: center;
  font-size: medium;
}

.Footer ul {
  display: flex;
  justify-content: center;
  padding: 10px;
  list-style: none;
  gap: 20px;
}

.Footer li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.Footer li a:hover {
  color: #FFD580;
}

.Copyright {
  text-align: center;
  align-items: center;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
}

.Copyright p {
  font-size: x-small;
  color: #fff;
}

.blog-cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  width: 300px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease-in-out;
  transform: scale(1); /* This is crucial */
}

.blog-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.blog-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-card h2 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-card p {
  color: #dddddd;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.blog-card a {
  color: #ffa200;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card a:hover {
  color: #ffd580;
}

