/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-bg: #f9f9f9;
  --primary-text: #222;
  --accent: #4f8cff;
  --nav-bg: #fff;
  --nav-text: rgba(255,255,255);
  --nav-text-60: rgba(255,255,255,0.7);
  --footer-bg: #222;
  --footer-text: #fff;
  --card-bg: #fff;
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --light: #f9f9f9;
  --secondary: #2563eb;
  --primary: #4f8cff;
  --white: #ffffff;
  --test-color: #1dc5c8;
  --light-color: #ced6e0;
  --dark-color: #2f3542;
  --box-shadow: rgb(0 0 2 / 35%) 0px 20px 30px -10px;
  
  /* Micro-interaction colors */
  --ripple-color: rgba(79, 140, 255, 0.3);
  --ripple-color-dark: rgba(0, 209, 255, 0.3);
  --hover-lift: 0 8px 25px rgba(0, 0, 0, 0.15);
  --active-scale: 0.95;
  --feedback-success: #10b981;
  --feedback-error: #ef4444;
  --feedback-warning: #f59e0b;
}

/* ✅ Toast Notification Styles */
.toast {
  position: fixed;
  top: 6.25rem; /* 20px */
  right: 1.25rem;
  padding: 0.75rem 1.25rem;
  background-color: #28a745; /* Green for success */
  color: white;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem; /* 14px */
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: 90vw;
  word-wrap: break-word;
  line-height: 1.4;
}

/* ✅ Show animation */
.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Optional: Initial hidden transform */
.toast {
  transform: translateY(-10px);
}

/* ✅ Responsive adjustment */
@media (max-width: 480px) {
  .toast {
    right: 1rem;
    left: 1rem;
    max-width: unset;
    width: auto;
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }
}


/* Ripple effect for buttons and interactive elements */
.ripple {
  position: relative;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
}

.ripple::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--ripple-color);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  pointer-events: none;
  z-index: 1;
}

.ripple:active::before {
  width: 300px;
  height: 300px;
  transition: width 0.3s, height 0.3s;
}

/* Dark mode ripple */
body.dark .ripple::before {
  background: var(--ripple-color-dark);
}
.no-results {
  display: none;
  text-align: center;
  color: #111;         /* Black for light mode */
  font-weight: bold;
  margin-bottom: 1.5rem;
}

body.dark-theme .no-results,
body.dark .no-results {
  color: #fff;         /* White for dark mode */
}
/* Enhanced button press feedback */
.btn-press {
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-press:active {
  transform: scale(var(--active-scale));
  box-shadow: var(--hover-lift);
}

/* Card hover with lift effect */
.card-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--hover-lift);
}

/* Micro-interaction feedback states */
.feedback-success {
  animation: feedbackPulse 0.6s ease;
}

.feedback-error {
  animation: feedbackShake 0.6s ease;
}

.feedback-warning {
  animation: feedbackBounce 0.6s ease;
}

@keyframes feedbackPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes feedbackShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

@keyframes feedbackBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Enhanced focus states for accessibility */
.focus-ring:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Smooth transitions for all interactive elements */
.interactive {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive:hover {
  transform: translateY(-2px);
}

/* Mobile-optimized touch feedback */
@media (max-width: 768px) {
  .ripple:active::before {
    width: 200px;
    height: 200px;
  }
  
  .card-lift:hover {
    transform: translateY(-4px);
  }
  
  .interactive:hover {
    transform: translateY(-1px);
  }
}

/* Ripple effect animation */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: var(--ripple-color);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
  z-index: 1;
}

body.dark .ripple-effect {
  background: var(--ripple-color-dark);
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: url("images/bg.jpg") no-repeat center center fixed;
  background-size: cover;
  background-color: var(--primary-bg);
  color: var(--primary-text);
  transition: background var(--transition), color var(--transition);
  min-height: 100vh;
  transition: background 0.5s ease 0.2s;
}

.list-group {
  list-style: none; /* Removes bullets */
  padding: 0;
  margin: 0;
}

.list-group-item {
  background-color: #f9f9f9;
  margin: 8px 0;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.list-group-item:hover {
  background-color: #e0e0e0;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 50px;
  background: rgba(2, 13, 47);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.navbar #theme-toggle {
  color: #fff !important; /* Use white for better contrast */
  opacity: 1;
}

/* Left Logo Section */
.nav-left {
  display: flex;
  align-items: center;
  width: 25ch;
  position: relative;
  gap: 12px;
  color:#00d1ff
}

.logo {
  height: 36px;
  width: 36px;
  animation: pulse 2s infinite;
}
/* Remove link underline and adjust logo spacing */
/* Make the link a flex container to align items */
.logo-link {
  display: flex;          /* Aligns logo and text horizontally */
  align-items: center;   /* Centers them vertically */
  gap: 10px;            /* Adds space between logo and text */
  text-decoration: none; /* Removes underline */
  color: inherit;       /* Inherits text color (if needed) */
}

/* Ensure the logo image stays aligned */
.logo-link img.logo {
  height: 40px;         /* Adjust as needed */
  width: auto;          /* Maintains aspect ratio */
}

/* Style the text (optional) */
.site-name {
  font-size: 1.2rem;    /* Adjust size */
  font-weight: bold;    /* Optional: Bold text */
  pointer-events: none; /* Ensures clicks pass to parent <a> */
}

/* Hover effect (optional) */
.logo-link:hover {
  opacity: 0.8;
  cursor: pointer;
}
.site-name {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-right: 2px solid var(--white);
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  /* Add animation in website Name */
  animation: typing 3s steps(14) 1s infinite,
    blink 0.6s infinite step-end alternate;
}

@keyframes typing {
  0% {
    width: 0;
  }
  50% {
    width: 14ch;
  }
  70% {
    width: 14ch;
  }
  100% {
    width: 0;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* .site-name {
  font-size: 1.6rem;
  font-weight: bold;
  color: #1b1717;
  animation: fadeInLeft 0.8s ease;
}  */

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links li {
  display: flex;
  align-items: center;
}
.nav-links a {
  color: var(--nav-text-60);
  text-decoration: none;
  font-size: 1rem;
  padding: 8px 10px;
  position: relative;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-links a:hover {
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, #3f5efb, #9f5de2, #ff6ec4);
  background-clip: text;
  -webkit-background-clip: text;
  background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.nav-links a::after {
  content: '';
    position: absolute;
    left: 8px;
    bottom:3px;
    width: 84%;
    height: 1px;
    background: #fff;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .5s;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a.active {
 text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}

.github-icon svg {
  fill: #ffffff;
  margin-top: 4px;
  transition: fill 0.3s ease;
}

.github-icon:hover svg {
  fill: #24292e; /* GitHub Original colour on hover */
}

@media (prefers-color-scheme: dark) {
  .github-icon svg path {
    fill: #ffffff;
  }
}


#cursor-snake {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}

.snake-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #00d1ff;
  border-radius: 50%;
  box-shadow: 0 0 8px #00d1ff;
}

/*Snake toggle */

.snakeList{
  display: flex !important;
  flex-direction: column !important;
  gap: 5px;
}

.snakeLabel{
  color: var(--nav-text-60);
  font-size: 0.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
}

.snakeList:hover .snakeLabel {
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, #3f5efb, #9f5de2, #ff6ec4);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}


/* ProgressBar */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 0.4rem;
  background: linear-gradient(135deg, #3f5efb, #9f5de2, #ff6ec4);
  z-index: 9999;
}

/* Theme Toggle */
#theme-toggle {
  margin-top: 6px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  padding: 8px;
}

#theme-toggle.ripple {
  position: relative;
  overflow: hidden;
}

#theme-toggle.btn-press:active {
  transform: scale(0.9);
}

#theme-toggle:hover {
  transform: rotate(20deg) scale(1.2);
}

/* Animations */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Snake Cursor Toggle Switch */
.nav-links .switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.nav-links .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.nav-links .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #888;
  transition: 0.4s;
  border-radius: 34px;
}

.nav-links .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.nav-links .switch input:checked + .slider {
  background-color: #4caf50;
}

.nav-links .switch input:checked + .slider:before {
  transform: translateX(18px);
}
.fade-in span{
  color: #00d1ff;
}

/* Landing Section */
.landing-section {
  /* background: url("images/bg.jpg") center center / cover no-repeat; */
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  color: var(--text-color); /* if you're using CSS variables */
}

.landing-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 150px;
  width: 100%;
}

.landing-section h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.landing-section h2 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
  color: #4f8cff;
}
.landing-section p {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
  color: #444;
}
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 0.9em 2.2em;
  border-radius: 2em;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(79, 140, 255, 0.12);
  transition: background 0.2s, transform 0.2s;
  animation: bounce 1.2s infinite alternate;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cta-btn.ripple {
  position: relative;
  overflow: hidden;
}

.cta-btn.btn-press:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(79, 140, 255, 0.4);
}
.cta-btn:hover {
  background: #2563eb;
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}
.fade-in.delay-1 {
  animation-delay: 0.3s;
}
.fade-in.delay-2 {
  animation-delay: 0.6s;
}
@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}

/* Info Sections */
main {
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem 2rem 1rem;
  max-width: 900px;
  padding-bottom: 8.5rem; /* Space for footer */
  display: flex; /* Main content area used flex */
  flex-direction: column;
  gap: 1rem; /* Space between sections */
}
.info-section {
  /* margin: 3rem 0; */

  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.85); /* Light semi-transparent */
  border-radius: 1.2rem;
  box-shadow: var(--card-shadow);

  transform: translateY(40px);
  transition: opacity 0.7s, transform 0.7s;
}
.info-section.visible {
  opacity: 1;
  transform: translateY(0);
}
.info-section h2 {
  margin-bottom: 0.7rem;
  color: var(--accent);
}
.info-section p {
  color: #444;
}
/* Testmonials */
.site{
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.container{
  max-width: 1100px;
  width: 100%;
  padding: 0 30px;
  margin: 0 auto;

}
.testi{
  max-width: 900px;
  margin: 0 auto;
}
.testi .head{
  text-align: center;
  margin-bottom: 60px;
}
.testi .head h3{
  font-size: 34px;
  font-weight: 800;
}
.testi .wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding: 30px 0;
}
.testi .thumbnail{
  width: 150px;
  height: 150px;
  position: relative;
  flex-shrink: 0;
}
.testi .thumbnail img{
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transform: scale(2);
  transition: transform .5s;
}
.testi .swiper-slide-active .thumbnail img {
   transform: scale(1);
}
.testi .thumbnail::before{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(100% + 30px);
  height: calc(100% + 10px);
  background-color: #1dc5c8;
  border-radius: 50%;
  z-index: -1;
  box-shadow: var(--box-shadow);
  transition: border-radius .5s .3s;
}
.testi .swiper-slide-active .thumbnail::before{
  border-radius: 50% 50% 50% 50% / 50% 10% 90% 50%;
}
.testi .aside {
  position: relative;
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  align-self: flex-end;
}
.testi .aside > p {
  position: relative;
  font-size: 14px;
  line-height: normal;
  margin-bottom: 30px;

}
.testi .aside > p::before,
.testi .aside > p::after{
  font-family: serif;
  font-size: 80px;
  line-height: 1;
  position: absolute;
  color: #1dc5c8;
  height: 40px;
  z-index: -1;
}
.testi .aside > p::before {
  content: open-quote;
  top: -40px;
  left: 10px;
}
.testi .aside > p::after {
  content: close-quote;
  right: 0;
}
.testi .aside .name {
  position: relative;
  width: fit-content;
  line-height: 1;
}
.testi .aside .name h4 {
  font-size: 22px;
  font-weight: 800;
  color: #1dc5c8;
  opacity: .8;
}
.testi .aside .name p {
  font-size: 12px;
  text-align: right;
}
.testi :is(.swiper-button-next, .swiper-button-prev){
  background-color: var(--light-color);
  top: 35%;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  transition: background-color .3s;
  box-shadow: var(--box-shadow);
}
.testi :is(.swiper-button-next, .swiper-button-prev):hover{
  background-color: var(--test-color);
}
.testi :is(.swiper-button-next, .swiper-button-prev) ::after{
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
}
.testi .swiper-pagination {
  position: relative;
}
.testi .swiper-pagination span{
  background-color: var(--light-color);
  opacity: 1;
  transition: width .3s;
}
.testi .swiper-pagination .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 4px;
  background-color: var(--test-color);
}
@media screen and (min-width: 768px) {
  .testi .wrapper{
    flex-direction: row;
    padding: 30px 100px;
  }
  .testi .thumbnail{
    width: 200px;
    height: 200px;
  }
  .testi :is(.swiper-button-next, .swiper-button-prev){
    top: 50%;
  }
}

/* FOOTER */
.footer {
 background: linear-gradient(135deg, #3f5efb, #9f5de2, #ff6ec4);
  color: #ffffff;
  padding: 50px 20px 30px;
  margin-top: 80px;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12);
  font-family: "Segoe UI", sans-serif;
  position: relative;
  width: 100%;
}

/* Footer main content container */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  max-width: 800px; /* 🔹 Decreased width */
  margin: 0 auto;
  padding-bottom: 20px;
}

/* Left content block */
.footer-left {
  flex: 1;
  min-width: 260px;
  padding-right: 50px;
}

.footer-left h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-left p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* Right content block */
.footer-right {
  flex: 1;
  min-width: 220px;
  padding-left: 50px;
}

.footer-right h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #ffffff;
  padding: 5px;
}

.footer-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-right li {
  margin-bottom: 10px;
}

.footer-right a {
  color: #e0eaff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-right a:hover {
  color: #e4f2fc;
  transform: translateX(5px);
}
/* for mobile version */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center; /* centers items horizontally */
    text-align: center;   /* centers text */
  }

  .footer-left, .footer-right {
    width: 100%;
    padding: 15px 0;
  }
}

/* Bottom section with copyright */
.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.85;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  padding-top: 15px;
  margin-top: 20px;
  max-width: 800px; /* 🔹 Match with content width */
  margin-left: auto;
  margin-right: auto;
}

/* Highlight "Anuj" with tooltip */
.footer-bottom .highlight {
  font-weight: bold;
  color: #ffe05d;
  position: relative;
  cursor: help;
}

.footer-bottom .highlight .tooltip-link {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1e2bff;
  color: #fff;
  padding: 5px 10px;
  font-size: 0.75rem;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none; /* Prevent clicks when hidden */
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-bottom .highlight:hover .tooltip-link {
  opacity: 1;
  pointer-events: auto; /* Make clickable on hover */
  transform: translate(-50%, -5px);
}

/* Responsive adjustments */
@keyframes neonPulse {
  0% {
    box-shadow: 0 0 10px rgba(138, 180, 248, 0.2),
                0 0 20px rgba(138, 180, 248, 0.15);
  }
  50% {
    box-shadow: 0 0 20px rgba(138, 180, 248, 0.35),
                0 0 30px rgba(138, 180, 248, 0.25);
  }
  100% {
    box-shadow: 0 0 10px rgba(138, 180, 248, 0.2),
                0 0 20px rgba(138, 180, 248, 0.15);
  }
}

  @keyframes flowingNeonLite {
  0% {
    box-shadow:
      0 0 10px rgba(138, 180, 248, 0.4),
      0 0 18px rgba(138, 180, 248, 0.25),
      0 0 26px rgba(138, 180, 248, 0.15);
  }
  50% {
    box-shadow:
      0 0 18px rgba(138, 180, 248, 0.6),
      0 0 36px rgba(138, 180, 248, 0.4),
      0 0 54px rgba(138, 180, 248, 0.25);
  }
  100% {
    box-shadow:
      0 0 10px rgba(138, 180, 248, 0.4),
      0 0 18px rgba(138, 180, 248, 0.25),
      0 0 26px rgba(138, 180, 248, 0.15);
  }
}
@keyframes neonGlow {
  0%, 100% {
    box-shadow: 0 0 8px #3b82f6, 0 0 12px #60a5fa;
  }
  50% {
    box-shadow: 0 0 14px #3b82f6, 0 0 24px #60a5fa;
  }
}
@keyframes glowGlassLight {
  0%, 100% {
    box-shadow:
      0 8px 24px rgba(0, 0, 0, 0.08),
      0 0 12px rgba(0, 153, 255, 0.3),
      0 0 20px rgba(0, 153, 255, 0.2);
  }
  50% {
    box-shadow:
      0 8px 28px rgba(0, 0, 0, 0.12),
      0 0 16px rgba(0, 153, 255, 0.4),
      0 0 25px rgba(0, 153, 255, 0.35);
  }
}

@keyframes darkNeonPulse {
  0%, 100% {
    box-shadow:
      0 0 6px rgba(59, 130, 246, 0.3),
      0 0 14px rgba(255, 255, 255, 0.25);
  }
  50% {
    box-shadow:
      0 0 12px rgba(59, 130, 246, 0.35),
      0 0 20px rgba(242, 247, 248, 0.3);
  }
}





body.dark .contact-container {
  background: rgba(0, 0, 0, 0.714);
  border: 1px solid rgba(28, 200, 200, 0.775);
  border-radius: 20px;
  padding: 2rem;
  animation: neonPulse 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* ✅ Ensure footer sections are centered */
    text-align: center;
  }

  .footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-top: 20px;
  }

  .footer-right ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
  }

  .footer-right li {
    margin: 0;
  }
}

/* Dark Theme */
body.dark {
  --primary-bg: #181a20;
  --primary-text: #f9f9f9;
  --nav-bg: #23272f;
  --nav-text: #f3f3f3;
  --footer-bg: #23272f;
  --footer-text: #f3f3f3;
  --card-bg: #23272f;
  background: url("images/bgdark.png") no-repeat center center fixed;
  background-size: cover;
  background-position: center;
}

body.dark .landing-section {
  height: 100vh;
  width: 100%;
  background: url("images/bgdark.png") no-repeat center center fixed;
  background-size: cover;
  background-position: center;
}

body.dark .info-section p {
  color: #c4c0c0;
}
body.dark .landing-section p {
  color: #c4c0c0;
}
/* Templates Page */

.templates-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 1rem 2rem 1rem;
  margin-bottom: 5rem;
}

.templates-main h1 {
  text-align: center;
  margin: 2.5rem;
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  animation: fadeIn 1s ease-in-out;
background: linear-gradient(to right, #34d399, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 5px rgba(59, 130, 246, 0.15);
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  width: 100%;
}

body:not(.dark) .template-card {
  background: linear-gradient(to bottom right, #e0f2fe, #d1fae5);
  animation: neonGlow 4s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

 .template-card {
  border-radius: 1.2rem;
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(40px);
  animation: none;
  position: relative;
  overflow: hidden;
  transition: opacity 0.7s, transform 0.7s;
}

.template-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.template-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--hover-lift);
}

.template-card.card-lift {
  cursor: pointer;
}

.template-card h2 {
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
   color: #1e40af; /* Indigo blue */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  font-weight: 600;
  text-align: center;
}

.template-preview {
  /* to make text animation good */
  min-width: 140px; 
  height: 90px;
  border-radius: 0.8rem;
  margin-bottom: 1.2rem;
  background: #e0e7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(79, 140, 255, 0.1);
  position: relative;
  transition: transform 0.4s ease;
}

.template-card:hover .template-preview {
  transform: scale(1.05);
}

.template-btn {
  font-size: 0.8rem;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, #6ee7b7, #3b82f6);
  border-radius: 40px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.template-btn:hover {
  transform: translateY(-2px);
  background-color: var(--accent);
  opacity: 1;
}

.dark .footer{
  background: linear-gradient(to right, #061a1c, #2a2a2a);
  color: #f0f0f0;
}
/* Preview styles */
.login-preview {
  background: linear-gradient(135deg, #4f8cff 60%, #e0e7ff 100%);
  position: relative;
}

.login-preview::before {
  content: "";
  display: block;
  width: 60px;
  height: 30px;
  background: #fff;
  border-radius: 6px;
  position: absolute;
  left: 20px;
  top: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.button-preview {
  background: linear-gradient(90deg, var(--light) 60%, var(--primary) 100%);
}

.button-preview::before {
  content: "";
  display: block;
  width: 60px;
  height: 18px;
  background: #4f8cff;
  border-radius: 9px;
  position: absolute;
  left: 20px;
  top: 26px;
  animation: buttonPulse 1.2s infinite alternate;
}

@keyframes buttonPulse {
  0% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.loader-preview {
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-preview::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  border: 3px solid #4f8cff;
  border-top: 3px solid #e0e7ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* text effects */
.text-preview{
  min-width: 12ch; 
  white-space: nowrap;
  overflow: hidden; 
  width: fit-content; 
  background: linear-gradient(135deg, #4f8cff 60%, #e0e7ff 100%);
} 
 

.modal-preview {
  background: var(--light);
}

.modal-preview::before {
  content: "";
  display: block;
  width: 60px;
  height: 30px;
  background: #4f8cff;
  border-radius: 6px;
  position: absolute;
  left: 20px;
  top: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.timer-preview {
  background: linear-gradient(135deg, #e0e7ff 60%, #4f8cff 100%);
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.timer-preview::before {
  content: "";
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.timer-preview::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 20px;
  background-color: #4f8cff;
  top: calc(50% - 20px);
  left: 50%;
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(0deg);
  animation: tick 8s linear infinite;
}

@keyframes tick {
  from {
    transform: translateX(-50%) rotate(0deg);
  }
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}
/* .template-btn {
  margin-top: 0.7rem;
  background: var(--accent);
  color: var(--light);
  border: none;
  border-radius: 0.3em;
  text-decoration: none;
  padding: 0.6em 1.5em;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(79, 140, 255, 0.1);
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.template-btn:hover {
  background: var(--secondary);
  transform: scale(1.05);
} */
.footer {
  background: linear-gradient(135deg, #3f5efb, #9f5de2, #ff6ec4);
  color: white;
  padding: 2rem 1rem;
  font-size: 1rem;
  width: 100%;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 1.5rem;
  gap: 4rem; /* Adjust spacing between columns */
}

.footer-left,
.footer-right {
  flex: 1 1 300px;
  max-width: 400px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.footer-left h2 {
  margin: 0;
  font-size: 1.5rem;
}

.footer-right h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-right ul li a {
  color: white;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  width: fit-content;
  transition: all 0.3s ease;
}

.footer-right ul li a:hover {
  color: #f1f1f1;
  border-bottom: 2px solid #f1f1f1;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  margin-top: 1rem;
}


@media (max-width: 900px) {
  .templates-main {
    max-width: 98vw;
  }
}

@media (max-width: 700px) {
  .navbar {
    padding: 0 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .templates-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .templates-main h1 {
    font-size: 1.4rem;
  }
}

@media (max-width: 500px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 0.5rem 0.5rem;
  }

  .nav-left {
    margin-bottom: 0.5rem;
  }

  .nav-links {
    /* Remove stacking */
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
  }

  .site-name {
    font-size: 1rem;
  }
}

/* Contributors Page */
body:not(.dark) .contributor-card {
  background: rgba(173, 199, 230, 0.18); /* Light sky blue tint */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 0 10px rgba(144, 202, 249, 0.25);
  animation: glowGlassLight 4s ease-in-out infinite;
}

.contributor-card {
  border-radius: 1.5rem;
  padding: 1.5rem;
  text-align: center;
  text-decoration: none; 
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.contributor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.contributor-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid var(--accent);
}

.contributor-card h3 {
  background: linear-gradient(90deg, #0099F7, #F11712); /* Blue to orange flame */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
}

.contributors-main h1{
  background: linear-gradient(90deg, #3ed8ff, #7f6bff, #fca5f1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(126, 211, 247, 0.3);
}

.contributor-card p {
  font-size: 0.9rem;
  color: #555;
}

body.dark .contributor-card p {
  color: #bbb;
}

body.dark .contributor-card:hover {
  box-shadow: 0 8px 24px rgba(79, 140, 255, 0.15);
}

/* Main headings on all pages */

.contributors-main h1,
.contact-main h1 {
  text-align: center;
  margin-top: 7rem;
  margin-bottom: 2.5rem;
  font-size: 2.1rem;
  font-weight: 700;
}

@media (max-width: 700px) {
  .contributors-main h1,
  .contact-main h1 {
    font-size: 1.4rem;
    margin-top: 5.5rem;
  }
}

/* Contact Form Styles */
.contact {
  background: url("images/bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.main-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-main {
  width: 80%;
  padding: 1rem;
  margin-bottom: 4rem;
}
.contact-main h1 {
  font-size: 3rem;
  font-weight: 800;
  text-align: center; 
  background: linear-gradient(to right, red,blue); 
  color: transparent; 
 
 -webkit-background-clip: text;
  background-clip: text;
 -webkit-text-fill-color: transparent;  
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15),
               0 4px 8px rgba(79, 140, 255, 0.25);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.contact-container {
 background: conic-gradient(from -90deg,
  rgba(85, 131, 181, 0.5),  /* gentle blue */
  rgba(76, 165, 150, 0.5),   /* jade mint */
  rgba(212, 178, 219, 0.5),  /* soft moss */
  rgba(255, 255, 255, 0.5),  /* whitewash */
  rgba(85, 131, 181, 0.5)   /* soft moss again */
);

 /* Translucent background */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Light, semi-transparent border */
  border-radius: 16px; /* Rounded corners for the glass effect */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(138, 180, 248, 0.4);
  border-radius: 20px;
  padding: 2.5rem;
  animation:  flowingNeonLite 3s ease-in-out infinite;
  transition: all 0.4s ease;
}

.contact-container:hover {
  transform: scale(1.01);
}
.contact-form {
  width: 100%;
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 500;
  color: var(--primary-text);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(14, 5, 5, 0.15);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.30);
  color: var(--primary-text);
  transition: border 0.2s ease;
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.06);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-button {
  display: flex;
  justify-content: center;
  align-items: center;

}


 #submit{
  cursor: pointer;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, #4e927f, #a8d5c4);
  font-weight:600px;
  font-size: 1rem;
  border-radius: 95px  8px;
  transition: all 0.2s;
 }
 #submit:active{
  background-color: #163bb1;
 }

.show-btn {
  display: inline-block;
  margin: 15px;
  padding: 15px 30px;
  text-align: center;
  font-size: 18px;
  letter-spacing: 1px;
  text-decoration: none;
  color: #121212;
  background: transparent;
  cursor: pointer;
  transition: ease-out 0.5s;
  border: 2px solid #121212;
  border-radius: 10px;
  box-shadow: inset 0 0 0 0 #121212;
}

.show-btn:hover {
  color: #fff;
  box-shadow: inset 0 -100px 0 0 #121212;
}

/* Dark theme support */
body.dark .contributor-card {
  background: rgba(173, 199, 230, 0.18); /* Light sky blue tint */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 0 10px rgba(144, 202, 249, 0.25);
  animation: glowGlassLight 4s ease-in-out infinite;
}

body.dark .form-group input,
body.dark .form-group textarea {
  background-color: rgba(68, 57, 57, 0.42); 
  border: 1px solid rgb(31, 114, 110);
  color: #ffffff;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-size: 1rem;
}

body.dark .form-group input::placeholder,
body.dark .form-group textarea::placeholder {
  color: #bbbbbb;
}

body.dark .nav-links a {
  color: #e0e0e0;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.15),
}

body.dark .contact-main h1 {
  background: linear-gradient(to right, #67e8f9, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
  0 0 4px rgba(138, 180, 248, 0.1),  
  0 0 10px rgba(138, 180, 248, 0.1),  
  0 0 20px rgba(138, 180, 248, 0.1);  
}

.contact-main h1 {
  background: linear-gradient(to right, rgb(80, 12, 80), rgb(143, 220, 160));
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 0 4px rgba(138, 180, 248, 0.4),  
    0 0 10px rgba(138, 180, 248, 0.2),  
    0 0 20px rgba(138, 180, 248, 0.1);  
}

body.dark .animated-btn-section h1 {
  color: #ffffff;
}

body.dark .animated-btn-section .show-btn {
  display: inline-block;
  margin: 15px;
  padding: 15px 30px;
  text-align: center;
  font-size: 18px;
  letter-spacing: 1px;
  text-decoration: none;
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: ease-out 0.5s;
  border: 2px solid #fff;
  border-radius: 10px;
  box-shadow: inset 0 0 0 0 #fff;
}

body.dark .show-btn:hover{
  color: #121212;
  box-shadow: inset 0 -100px 0 0 #fff;
}

body.dark .animated-btn-section .show-code {
  border: 1px solid #fff;
}

body.dark .navbar {
  background: var(--primary-bg);
  box-shadow: 0.8rem 0.8rem 0.5rem rgba(0, 0, 0, 0.04);
}



body.contact.dark {
  background: url("images/bgdark.png") no-repeat center center;
  background-size: cover;
  background-position: center;
}

body.dark .form-group input:focus,
body.dark .form-group textarea:focus {
  border-color: var(--accent);
  outline: none;
}


/* Tab responsive */
@media (max-width: 700px) {
  .contact-main {
    padding: 5rem 2rem 2rem 1rem;
  }

  .contact-container {
    padding: 2rem;
  }
}

/* /* Mobile responsive */ 
@media (max-width: 430px) {
  .contact-main {
    padding: 0px;
  }

  .contact-container {
    padding: 2rem;
  }

  .form-group{
    padding: 1px;
  }
  .contact-form{
    padding: 1px;
  }
  .contact-main h1{
    font-size: 2.2rem;
  }
}


/* Disabled button styles */
.submit-btn:disabled,
.submit-btn.disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.6;
}

.submit-btn:disabled:hover,
.submit-btn.disabled:hover {
  background: #9ca3af;
  transform: none;
  box-shadow: none;
}

/* Dark theme disabled state */
body.dark .submit-btn:disabled,
body.dark .submit-btn.disabled {
  background: #4b5563;
  color: #9ca3af;
}

body.dark .submit-btn:disabled:hover,
body.dark .submit-btn.disabled:hover {
  background: #4b5563;
}

/* Scroll Reveal Animation */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.show {
  opacity: 1;
  transform: translateY(0);
}

#cursor-snake {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}

.snake-dot {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, #69f 0%, #2357ff 80%);
  box-shadow: 0 0 12px rgba(79, 140, 255, 0.7), 0 0 18px rgba(35, 87, 255, 0.5);
  opacity: 0.85;
  transition: transform 0.2s ease;
  will-change: transform, left, top;
}


/* Animated Social Share Buttons Styles */
.social-share-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}
.social-btn {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 2rem;
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  color: #444;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, background 0.2s, color 0.2s;
  position: relative;
  overflow: hidden;
}
.social-btn .icon {
  font-family: FontAwesome;
  font-size: 1.3rem;
  margin-right: 0.7rem;
  transition: color 0.2s, transform 0.2s;
}
.social-btn .label {
  opacity: 0;
  max-width: 0;
  margin-left: 0;
  transition: opacity 0.3s, max-width 0.3s, margin-left 0.3s;
  white-space: nowrap;
  color: inherit;
}
.social-btn:hover {
  transform: scale(1.08);
  color: #fff;
}
.social-btn:hover .label {
  opacity: 1;
  max-width: 120px;
  margin-left: 0.3rem;
}
.social-btn.facebook {
  background: #3b5998;
}
.social-btn.facebook:hover {
  background: #2d4373;
}
.social-btn.twitter {
  background: #1da1f2;
}
.social-btn.twitter:hover {
  background: #0d95e8;
}
.social-btn.linkedin {
  background: #0077b5;
}
.social-btn.linkedin:hover {
  background: #005983;
}
.social-btn.instagram {
  background: linear-gradient(45deg, #fd5949, #d6249f, #285AEB);
}
.social-btn.instagram:hover {
  background: linear-gradient(45deg, #c13584, #e1306c, #405de6);
}


/* About Page Styles */
/* For WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(145deg, #c1c7cc, #aab2b8);
  border-radius: 10px;
  border: 2px solid #f0f0f0;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(145deg, #9fa6ad, #889097);
}

/* About Page - Styles */
.about-main {
  max-width: 900px;
  margin: 100px auto 0;
  padding: 0 20px 100px;
}

.about-header {
  text-align: center;
  margin-bottom: 60px;
}

.about-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  background-clip: text;
  letter-spacing: 0.5px;
  word-spacing: 5px;
}

.about-subtitle {
  font-size: 1.1rem;
  color: var(--accent);
  max-width: max-content;
  margin: 0 auto;
  padding: 5px 10px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(79, 140, 255, 0.3);
}

.about-section {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: var(--card-shadow);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.about-section:hover {
  transform: translateY(-5px);
}

.about-icon {
  font-size: 2rem;
  margin-top: 5px;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.about-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-tech-item {
  background: rgba(79, 140, 255, 0.1);
  padding: 10px 18px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.about-tech-item:hover {
  color: white;
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 140, 255, 0.2);
}

.about-audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.about-audience-item {
  background: var(--card-bg);
  border: 1px solid rgba(79, 140, 255, 0.3);
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.about-audience-item:hover {
  transform: translateY(-5px);
  border: 1px solid rgba(79, 140, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.about-audience-item h3 {
  color: var(--accent);
  margin-bottom: 10px;
}

.about-cta {
  text-align: center;
  padding: 30px;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.1) 0%, rgba(108, 99, 255, 0.1) 100%);
  border-radius: 12px;
}

.about-cta h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.about-cta p {
  font-size: 1.0rem;
  margin-bottom: 20px;
  color: var(--primary-text);
}

.about-button {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(79, 140, 255, 0.2);
  transition: all 0.3s ease;
}

.about-button:hover {
  background: #2563eb;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(79, 140, 255, 0.3);
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.pulse {
  animation: pulse 2s infinite;
}

.scale-in {
  animation: scale-in 0.5s ease-out;
}

@keyframes scale-in {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Smooth transition for all key elements */
body,
.navbar,
.info-section,
.footer,
.contact-container,
.template-card,
.contributor-card,
.form-group input,
.form-group textarea {
  transition: background 0.4s ease 0.2s, color 0.4s ease 0.2s,
    box-shadow 0.4s ease 0.2s;
}
/* Fix template headings in dark mode */
body.dark .templates-main h1 {
  color: #f3f3f3;
}
body.dark .templates-main h2 {
  color: black;
}

body.dark .template-card h2 {
  color: #f3f3f3;
}
/* ───────── STATIC FAQ SECTION ───────── */
.faq-btn {
  padding: 0.7rem 1.5rem;
  margin: 1rem 1rem 1rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  display: inline-block;
}
.faq-btn:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.18);
}
.faq-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.15); /* Translucent background */
  backdrop-filter: blur(10px); /* Apply blur to content behind */
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Light, semi-transparent border */
  border-radius: 16px; /* Rounded corners for the glass effect */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.faq-subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* card shell */
.faq-item {
  position: relative;
  overflow: hidden;
  background: var(--card-bg, #fff);
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  margin-bottom: 1.6rem; /*add space between items */
}
.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: var(--accent, #667eea);
}
.faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.3s;
}
.faq-item:hover::before {
  transform: scaleX(1);
}

/* question header */
.faq-question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(102, 126, 234, 0.03) 100%
  );
}
.faq-question-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* icon circle */
.faq-icon-static {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: 0.3s;
}
.faq-item:hover .faq-icon-static {
  transform: scale(1.1) rotate(5deg);
}

.faq-answer-content {
  padding: 2rem;
}

.faq-answer-content p {
  margin: 0;
  line-height: 1.7;
  color: var(--primary-text);
  font-size: 1.2rem;
}

/* =================== Dark Mode UI of FAQs starts =================== */
body.dark .faq-section {
background: linear-gradient(
  135deg,
  rgba(33, 73, 73, 0.608) 5%,
  #000000 50%
);
  border: 1px solid rgb(21, 86, 82); 


}
body.dark .faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color:  #66eae6;
}
body.dark .faq-title {
    background: linear-gradient(135deg, #66ead2 10%, rgb(126, 85, 154) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
body.dark .faq-subtitle{
  font-weight: 500;
    background: linear-gradient(135deg,#bc54ed 0%, #66ead2 100% );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark .faq-btn {
  
  padding: 0.7rem 1.5rem;
  margin: 1rem 1rem 1rem 1rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #66dfea 0%, #061418 100%);
 color: #053137;
  border: none;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  display: inline-block;
}
body.dark .faq-btn:hover {
  background: linear-gradient(135deg, #061418 0%, #66dfea 100%);
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.18);
}


body.dark .faq-question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;

  border: 0.5px solid transparent; /* Set a base border */
  border-radius: 10px;

  background: linear-gradient(
    135deg,
    rgba(23, 60, 60, 0.608) 0%,
    #000000 100%
  );

  transition: border-color 0.3s ease; /* Smooth transition */
}

body.dark .faq-question-header:hover {
  border-color: #00ffff; /* Cyan border on hover */
}

body.dark .faq-question-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  background: linear-gradient(135deg, #46dabf 10%, rgb(207, 173, 229) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark .faq-icon-static {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #4d94a0 10%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: 0.3s;
}
body.dark .faq-item:hover .faq-icon-static {
  transform: scale(1.1) rotate(5deg);
}

body.dark .faq-answer-content{
  background: linear-gradient(135deg, #061418 95%, #66dfea 80%);
}


/* =================== Dark Mode UI of FAQs ends =================== */



/* moving neon-style glow */
.glow-wrap {
  position: relative;
  z-index: 0;
}
.glow-wrap::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: conic-gradient(
    #ff6ec4 0%,
    #7873f5 25%,
    #3bf5ff 50%,
    #7873f5 75%,
    #ff6ec4 100%
  );
  background-size: 300% 300%;
  filter: blur(3px);
  animation: glowShift 6s linear infinite;
  z-index: -1;
}
@keyframes glowShift {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

/* dark-mode tweaks */
/* body.dark .faq-question-header {
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(102, 126, 234, 0.08) 100%
  );
} */
body.dark .faq-answer-content p {
  color: #cbd5e1;
}
body.dark .glow-wrap::before {
  opacity: 0.8;
}

/* responsive */
@media (max-width: 768px) {
 .faq-btn {
    padding: 0.5rem 1rem;
    font-size:1rem;
    cursor: pointer;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  .faq-section {
    padding: 2rem 1rem;
  }
  .faq-title {
    font-size: 2rem;
  }
  .faq-question-header {
    padding: 1.5rem;
  }
  .faq-answer-content {
    padding: 1.5rem;
  }
  
}

.contact-form {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 1rem;
}

.contact-button {
  text-align: center;
  margin-top: 20px;
}

.submit-btn {
  width: 100%;
  max-width: 250px;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: bold;
  background-color: #4a90e2;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin: 0 auto;
}

.submit-btn:hover {
  background-color: #357abd;
}

@media (max-width: 480px) {
  .submit-btn {
    font-size: 0.95rem;
    max-width: 100%;
    padding: 12px 16px;
  }
}
.tooltip-preview {
    background-color: #e3f2fd; /* Softer blue background */
    border: 2px dashed #90caf9; /* Dashed border */
    border-radius: 8px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
    margin-bottom: 20px;
} 
 
/* This targets the button inside the preview */
.tooltip-preview .tooltip {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background-color: #64b5f6; /* Correct blue button color */
    color: white;
    font-size: 1rem;
    cursor: pointer; 
}   
.faq-question-header {
  cursor: pointer; 
}

.faq-answer-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 2rem; /* Remove top/bottom padding initially */
}

.faq-item.active .faq-answer-content {
  max-height: 500px; 
  padding: 2rem; /* Restore to full padding when active */
}

/* Added a subtle rotation to the existing icon when active */
.faq-item.active .faq-icon-static {
  transform: rotate(5deg) scale(1.1);
}

/* styling for scroll to top button */
#scrollBtn {
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #333;
  color: white;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* MEDIA QUERIES FOR RESPONSIVENESS */

@media only screen and (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .main {
        flex-direction: column;
        padding: 10px;
    }

    .left {
        width: 100%;
        text-align: center;
    }

    .right {
        width: 100%;
        text-align: center;
    }

    .left h1 {
        font-size: 2rem;
    }

    .left p {
        font-size: 1rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .right img {
        max-width: 85%;
        height: auto;
    }
}

@media only screen and (max-width: 480px) {
    .left h1 {
        font-size: 1.5rem;
    }

    .left p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 6px 14px;
        font-size: 13px;
    }

    nav ul {
        gap: 8px;
    }

    .right img {
        max-width: 100%;
    }
}

/* #search-bar::placeholder {
   color: rgba(31, 41, 55, 0.8);
} */

/* live Transition Playground */
.playground-main{
  display:flex;
  flex-direction: row;
  justify-content: center;
  text-align: center;
}

.playground-main h1{
  background: linear-gradient(to right, #2e3192, #1bffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  padding-top:4rem;
  font-size: 3rem;
  text-shadow: 0 2px 10px rgba(56, 189, 248, 0.4);
  
}

.para-box{
  max-height: max-content;
  max-width: max-content;
  height:2.5rem;
  color: var(--accent);
  margin: 2rem auto;
  padding: 12px 15px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(121, 159, 230, 0.3);
}


.effects{
display:flex;
flex-wrap: wrap;
flex-direction: row;
justify-content: center;
}

.box{
  padding:1rem;
  font-size: 1.1rem;
  height:12rem;
  width:12rem;
 background: linear-gradient(to right, #a1c4fd, #c2e9fb);
  box-shadow: 0 2px 10px rgba(0, 255, 255, 0.15); 
  border: 1px solid rgba(0, 255, 255, 0.2); 
  margin:4rem 2rem;
  display: flex;
  justify-content: center;
  border-radius:15px;
  align-items: center;
  transform: none;
  transition: all 0.5s ease;
  font-weight: 500;
   animation: subtleGlow 4s ease-in-out infinite alternate;
   
}
/* Glow animation in light mode */
@keyframes subtleGlow {
  0% {
    box-shadow: 
      0 0 10px rgba(0, 255, 255, 0.3),
      0 0 20px rgba(0, 255, 255, 0.2),
      0 0 30px rgba(0, 255, 255, 0.1);
  }
  100% {
    box-shadow: 
      0 0 15px rgba(0, 255, 255, 0.5),
      0 0 25px rgba(0, 255, 255, 0.35),
      0 0 40px rgba(0, 255, 255, 0.2);
  }
}


.scale:hover{
  transform: scale(1.1);
  cursor: pointer;
}
.translate:hover{
  transform: translateY(-20px);
  cursor: pointer;
}

.rotate:hover{
  transform: rotate(30deg);
  cursor: pointer;
}

.Color:hover{ 
  color: #3052cc;
  font-size: 1.3rem;
  cursor: pointer;
}

.Background-Color:hover{
  background: linear-gradient(135deg, #43cea2, #185a9d);
    cursor: pointer;

}

.Box-Shadow:hover{
box-shadow: 
    0 10px 25px rgba(72, 144, 236, 0.45),   
    0 14px 35px rgba(164, 109, 155, 0.3),   
    0 18px 45px rgba(0, 199, 190, 0.2);
  animation: none; 
    cursor: pointer;
}

body.dark .box{
  background: rgba(30, 41, 59, 0.6); 
     border: 1px solid rgba(59, 130, 246, 0.1);
        box-shadow:
    0 0 6px rgba(59, 130, 246, 0.25),
    0 0 12px rgba(56, 189, 248, 0.3);
    cursor: pointer;
 animation: darkNeonPulse 4s ease-in-out infinite; 
}

body.dark .Background-Color:hover{
 background: linear-gradient(135deg, #43cea2, #185a9d);
   cursor: pointer;
}

body.dark .Box-Shadow:hover{
 box-shadow:
    0 6px 10px rgba(0, 209, 255, 0.35),
    0 12px 20px rgba(0, 209, 255, 0.25);
  border: 1px solid rgba(0, 209, 255, 0.25);
  animation: none;
    cursor: pointer;
}

body.dark .Color:hover{
  color:#1bffff;
  cursor: pointer;
}

body.dark .playground-main h1{
  text-shadow: 0 2px 10px rgba(56, 189, 248, 0.4);
}

@keyframes neonColor {
  0% {
    box-shadow: 
      0 0 5px rgba(0, 255, 255, 0.3),
      0 0 10px rgba(0, 255, 255, 0.4),
  }
  100% {
    box-shadow: 
      0 0 10px rgba(0, 255, 255, 0.8),
      0 0 20px rgba(0, 255, 255, 0.6),
  }
}
/* styling for scroll to top button */
#scrollBtn {
  position: fixed;
  bottom: 65px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #333;
  color: white;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#scrollBtn.show {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

#scrollBtn:hover {
  background-color: #555; /* Darker on hover */
}
.animation-gallery {
  padding: 2rem;
  text-align: center;
}

.gallery-title {
  font-size: 2rem;
  color: white;
  margin-bottom: 1.5rem;
}

.animation-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.animation-card {
  background: #1e1e2f;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  width: 200px;
  transition: transform 0.3s ease;
}

.animation-card:hover {
  transform: translateY(-5px);
}

.animation-preview {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.box {
  width: 40px;
  height: 40px;
  background-color: #ff4081;
  border-radius: 50%;
}

/* Bounce animation only plays on hover */
.animation-card:hover .box {
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.animation-name {
  margin-top: 1rem;
  color: white;
  font-weight: bold;
}


/* #search-bar::placeholder {
   color: rgba(31, 41, 55, 0.8);
}

