/* 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);
}

.home-link {
  display: flex;
  align-items: center;
  text-decoration: none; /* removes underline */
  color: inherit; /* keeps original text color */
}

.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;
  }
}

/* Templates Main Section */
.templates-main {
  padding-top: 100px;
  min-height: calc(100vh - 200px);
}

.templates-main h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Template Card Styles */
.template-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--primary-text);
  display: block;
  transition: all 0.3s ease;
}

.template-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.template-card h2 {
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
}

.template-btn {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

.template-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Dark mode adjustments */
body.dark .template-card {
  background: rgba(30, 41, 59, 0.8);
  color: #f5f5f5;
}

body.dark .template-card:hover {
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.3);
}

/* Footer Styles */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 3rem 1rem 1.5rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-left h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #64b5f6;
}

.footer-left p {
  color: #ccc;
  line-height: 1.6;
}

.footer-right h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #64b5f6;
}

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

.footer-right li {
  margin-bottom: 0.8rem;
}

.footer-right a {
  color: #ccc;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #64b5f6;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #444;
  text-align: center;
  color: #aaa;
}

.footer-bottom .highlight {
  color: #64b5f6;
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .templates-main {
    padding-top: 80px;
  }
  
  .templates-main h1 {
    font-size: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-left h2,
  .footer-right h4 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .templates-main {
    padding-top: 70px;
  }
  
  .templates-main h1 {
    font-size: 1.75rem;
  }
  
  .template-card {
    padding: 1rem;
  }
}

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);
  /* Ensure stable layout */
  position: relative;
  min-height: 70px;
  -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);
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
}

.hamburger-menu .bar {
  width: 100%;
  height: 3px;
  background: #ffffff;
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: center;
}

/* Hamburger Menu Animation */
.hamburger-menu.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.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;
  /* Prevent layout shifts from animations */
  min-width: 200px;
  flex-shrink: 0;
}

.logo {
  height: 36px;
  width: 36px;
  animation: pulse 2s infinite;
  /* Isolate animation to prevent layout shifts */
  transform-origin: center;
  will-change: transform;
  /* Create a stable container for the animation */
  display: inline-block;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.logo:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}
/* 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);
  transition: all 0.3s ease;
  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 Right Section */
.nav-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* 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 cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  display: inline-block;
}

.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;
  color: transparent;
  -webkit-text-fill-color: transparent;
  transform: translateY(-2px);
  transition: all 0.3s ease;
  /* Add subtle background glow */
  box-shadow: 0 2px 8px rgba(63, 94, 251, 0.2);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 8px;
  bottom: 3px;
  width: 84%;
  height: 2px;
  background: linear-gradient(135deg, #3f5efb, #9f5de2, #ff6ec4);
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.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;
}

.nav-links a:focus {
  outline: 2px solid rgba(63, 94, 251, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.github-icon:hover {
  transform: translateY(-2px) scale(1.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.github-icon:hover svg {
  fill: #24292e; /* GitHub Original colour on hover */
  filter: drop-shadow(0 4px 8px rgba(36, 41, 46, 0.3));
}

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

/* Mobile Styles */
@media (max-width: 1024px) {
  .navbar {
    padding: 18px 30px;
  }
  
  .nav-links {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }
  
  .hamburger-menu {
    display: flex;
  }
  
  .nav-right {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(2, 13, 47, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 100px 20px 30px;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  }
  
  .nav-right.active {
    right: 0;
  }
  
  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 25px;
    align-items: center;
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  .nav-links a {
    font-size: 1.2rem;
    padding: 12px 15px;
    width: 100%;
    display: block;
  }
  
  .nav-links a::after {
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
  }
  
  .nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
  }
  
  .snakeList {
    flex-direction: row !important;
    gap: 10px;
    margin-top: 20px;
  }
  
  .snakeLabel {
    font-size: 1rem;
  }
  
  .nav-left {
    width: auto;
    min-width: auto;
  }
  
  .site-name {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 12px 15px;
  }
  
  .nav-right {
    width: 100%;
  }
  
  .logo {
    height: 30px;
    width: 30px;
  }
  
  .site-name {
    font-size: 1rem;
  }
  
  .hamburger-menu {
    width: 25px;
    height: 25px;
  }
}

/*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);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 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);
}

/* Switch hover effects */
.nav-links .switch:hover .slider {
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.nav-links .switch:hover .slider:before {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.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 {

/* ==================== STANDARDIZED BUTTON COMPONENT SYSTEM ==================== */

/* Base Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  user-select: none;
  outline: none;
}

.btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Button Sizes */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-xl {
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
}

/* Button Variants */

/* Primary Button */
.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: #3b7cff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 140, 255, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(79, 140, 255, 0.3);
}

/* Secondary Button */
.btn-secondary {
  background: white;
  color: var(--accent);
  border: 2px solid var(--accent);
}

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

.btn-secondary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(79, 140, 255, 0.2);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: translateY(0);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: none;
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(79, 140, 255, 0.1);
  transform: translateY(-2px);
}

/* Success Button */
.btn-success {
  background: #10b981;
  color: white;
}

.btn-success:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Danger Button */
.btn-danger {
  background: #ef4444;
  color: white;
}

.btn-danger:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Warning Button */
.btn-warning {
  background: #f59e0b;
  color: white;
}

.btn-warning:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Dark Button */
.btn-dark {
  background: #1f2937;
  color: white;
}

.btn-dark:hover {
  background: #111827;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 41, 55, 0.3);
}

/* Light Button */
.btn-light {
  background: #f9fafb;
  color: #1f2937;
  border: 1px solid #e5e7eb;
}

.btn-light:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 250, 251, 0.3);
}

/* Animated Button Effects */

/* Glow Effect */
.btn-glow {
  position: relative;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
  background: inherit;
  filter: blur(15px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-glow:hover::before {
  opacity: 0.7;
}

/* Pulse Effect */
.btn-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(79, 140, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(79, 140, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(79, 140, 255, 0);
  }
}

/* Slide Effect */
.btn-slide {
  position: relative;
  overflow: hidden;
}

.btn-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-slide:hover::after {
  left: 100%;
}

/* Neon Effect */
.btn-neon {
  background: transparent;
  color: #00ffff;
  border: 2px solid #00ffff;
  text-shadow: 0 0 5px #00ffff;
  box-shadow: inset 0 0 5px #00ffff, 0 0 5px #00ffff;
}

.btn-neon:hover {
  background: #00ffff;
  color: #000;
  text-shadow: none;
  box-shadow: inset 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 40px #00ffff;
}

/* Gradient Effect */
.btn-gradient {
  background: linear-gradient(90deg, var(--accent), #9f5de2);
  color: white;
  border: none;
}

.btn-gradient:hover {
  background: linear-gradient(90deg, #9f5de2, var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(159, 93, 226, 0.4);
}

/* Rainbow Effect */
.btn-rainbow {
  position: relative;
  background: #333;
  color: white;
  z-index: 1;
}

.btn-rainbow::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333;
  z-index: -1;
}

.btn-rainbow::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background: linear-gradient(45deg, #ff1616, #e4d20a, #6adf0a, #10cd8b, #09c2df, #371ddd, #dc13a9, #de1212);
  background-size: 600%;
  z-index: -2;
  filter: blur(1em);
  animation: rainbow 20s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-rainbow:hover::before {
  opacity: 1;
}

@keyframes rainbow {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

/* 3D Effect */
.btn-3d {
  position: relative;
  border-bottom: 4px solid rgba(0, 0, 0, 0.2);
}

.btn-3d:active {
  transform: translateY(2px);
  border-bottom-width: 2px;
}

/* Disabled State */
.btn:disabled,
.btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Dark Mode Support */
body.dark .btn-primary {
  background: #4f8cff;
  color: white;
}

body.dark .btn-secondary {
  background: #1f2937;
  color: #4f8cff;
  border-color: #4f8cff;
}

body.dark .btn-secondary:hover {
  background: #4f8cff;
  color: white;
}

body.dark .btn-outline {
  color: #90caf9;
  border-color: #90caf9;
}

body.dark .btn-outline:hover {
  background: #90caf9;
  color: #121212;
}

body.dark .btn-ghost {
  color: #90caf9;
}

body.dark .btn-ghost:hover {
  background: rgba(144, 202, 249, 0.1);
}

body.dark .btn-light {
  background: #1f2937;
  color: #e5e7eb;
  border-color: #374151;
}

body.dark .btn-dark {
  background: #0a0a0a;
  color: #e5e7eb;
}

/* Button Group */
.btn-group {
  display: inline-flex;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-group .btn {
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}

.btn-group .btn:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark .btn-group .btn:not(:first-child) {
  border-left: 1px solid rgba(0, 0, 0, 0.2);
}

.btn-group .btn:first-child {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}

.btn-group .btn:last-child {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
  }
  
  .btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }
  
  .btn-xl {
    padding: 1rem 2rem;
    font-size: 1.125rem;
  }
  
  .btn-sm {
    padding: 0.4375rem 0.875rem;
    font-size: 0.8125rem;
  }
}

/* ==================== END STANDARDIZED BUTTON COMPONENT SYSTEM ==================== */

  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: ; Space for footer */
  display: flex; /* Main content area used flex */
  flex-direction: column;
  gap: 3rem; /* 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 {
  display: flex;
  gap: 10px;
  flex: 1;
  padding-left: 50px;  
}

.footer-box{
  flex: 1;
  padding: 20px;
}

.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(81, 115, 109, 0.4),
      0 0 12px rgba(85, 204, 180, 0.25),
      0 0 15px rgba(52, 235, 198, 0.15);
  }
  50% {
    box-shadow:
      0 0 18px rgba(22, 45, 40, 0.6),
      0 0 20px rgba(62, 138, 123, 0.4),
      0 0 25px rgba(44, 201, 169, 0.25);
  }
  100% {
    box-shadow:
      0 0 10px rgba(160, 220, 208, 0.4),
      0 0 12px rgba(77, 113, 106, 0.25),
      0 0 20px rgba(53, 125, 111, 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);
}



.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);
  }
}

.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 */
/* File end validation */
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;
}
.contact-heading h1 {
  font-size: 3rem;
  font-weight: 800;
  text-align: center; 
  background: linear-gradient(to right, rgb(14, 99, 133),rgb(29, 160, 149)); 
  color: transparent; 
 font-weight: 600;
 -webkit-background-clip: text;
  background-clip: text;
 -webkit-text-fill-color: transparent;  
  text-shadow: 0 2px 4px rgba(110, 197, 228, 0.3),
               0 4px 8px rgba(11, 12, 13, 0.5);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.contact-heading{
  width: 90vw;
  height: 30vh;
  background: rgba(101, 159, 196, 0.3);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes upDown {
  0%   { transform: translateX(-18vw) translateY(0); }
  50%  { transform: translateX(-18vw) translateY(-20px); }
  100% { transform: translateX(-18vw) translateY(0); }
}

.contact-heading i {
  transform: translateX(-18vw);
  font-size: 80px;
  color: #83bed9;
  animation: upDown 2s ease-in-out infinite;
}


@media (max-width: 768px) {
  .contact-heading {
    width: 95vw;
    height: auto;
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
  }

  .contact-heading h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .contact-heading i {
    font-size: 60px;
    transform: translateX(0);
    margin-top: 1rem;
  }

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

@media (max-width: 480px) {
  .contact-heading h1 {
    font-size: 1.8rem;
  }

  .contact-heading i {
    font-size: 48px;
  }
}


.contact-container {
  background: rgba(135, 135, 135, 0.1); 
  border: 2px solid rgba(54, 225, 228, 0.4); 
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
  backdrop-filter: blur(12px); 
  -webkit-backdrop-filter: blur(12px); 
  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(54, 225, 228, 0.4);
  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;

}

.infoContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  flex: 1 1 300px;
  background: rgba(32, 120, 160, 0.4);
  border-radius: 20px;
  padding: 1.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(96, 189, 226, 0.6);
  transition: transform 0.3s ease;
  text-align: center;
}

.contact-info:hover {
  transform: translateY(-5px);
}


 #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 .contact-heading h1{
 background: linear-gradient(to right, rgb(198, 225, 232),rgb(104, 218, 208));
 color: transparent; 
 -webkit-background-clip: text;
  background-clip: text;
 -webkit-text-fill-color: transparent;  
  text-shadow: 0 2px 4px rgba(110, 197, 228, 0.3),
               0 4px 8px rgba(11, 12, 13, 0.5);
}

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 */
/* Final check - Syntax error resolved - End of About page styles */

/* File validated */

/* 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 */
:root {
  --accent: #4f8cff;
  --accent-hover: #2563eb;
  --primary: #6c63ff;
  --primary-text: #333;
  --secondary-text: #666;
  --card-bg: #fff;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Container for the about page */
/* Variables */
:root {
  --accent: #4f8cff;
  --primary: #7b30ff;
  --bg-gradient: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
}

/* Main Section */
.about-main {
  max-width: 900px;
  margin: 100px auto 0;
  padding: 0 20px 100px;
  box-sizing: border-box;
}

/* Header Section */
.about-header {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInUp 1.2s ease-out both;
}

/* Title Styling */
.about-title {
  position: relative;
  font-size: 3.4rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 1px;
  word-spacing: 10px;
  background: var(--bg-gradient);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: shimmerText 4s linear infinite;
}

/* Underline Accent */
.about-title .underline-accent {
  display: block;
  height: 4px;
  width: 90px;
  margin: 14px auto 0;
  background: var(--bg-gradient);
  border-radius: 4px;
  animation: underlinePulse 2.5s ease-in-out infinite alternate;
}

/* Subtitle Styling */
.about-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--accent);
  display: inline-block;
  padding: 10px 25px;
  margin-top: 10px;
  border-radius: 12px;
  letter-spacing: 0.6px;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(79, 140, 255, 0.25);
  animation: floatSubtitle 4s ease-in-out infinite;
  user-select: none;
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmerText {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes underlinePulse {
  0% {
    transform: scaleX(1);
    opacity: 0.8;
  }
  100% {
    transform: scaleX(1.4);
    opacity: 1;
  }
}

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

/* Main about section container */
.about-section {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 30px 35px;
  margin-bottom: 40px;
  box-shadow: var(--card-shadow);
  display: flex;
  gap: 30px;
  align-items: flex-start;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  border: 1px solid transparent;
  flex-wrap: wrap;
}

.about-section:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(79, 140, 255, 0.3);
  border-color: var(--accent);
}

/* Icon on the left */
.about-icon {
  font-size: 3rem;
  margin-top: 8px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.4s ease, color 0.4s ease;
  user-select: none;
}

.about-section:hover .about-icon {
  transform: rotate(20deg) scale(1.3);
  color: var(--accent-hover);
}

/* Content container */
.about-content {
  flex: 1 1 0;
  min-width: 280px;
}

/* Paragraph styling inside content */
.about-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--primary-text);
  margin-bottom: 1.2rem;
  max-width: 600px;
}

/* Strong and italic text emphasis */
.about-content strong {
  color: var(--accent);
}

.about-content em {
  font-style: italic;
  color: var(--secondary-text);
}

/* Headings inside content */
.about-content h2 {
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.about-content h2 span {
  color: var(--accent-hover);
  font-weight: 600;
  margin-left: 6px;
}

/* Grid for audience and tech items */
.about-audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.about-audience-item {
  background: var(--card-bg);
  border: 2px solid rgba(79, 140, 255, 0.15);
  padding: 25px 20px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.about-audience-item:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 10px 28px rgba(79, 140, 255, 0.25);
}

/* Audience item heading with icon/pulse dot */
.about-audience-item h3 {
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-audience-item h3::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2.5s infinite ease-in-out;
}

/* Pulse animation */
@keyframes pulse {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

/* Audience description */
.about-audience-item p {
  color: var(--primary-text);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

/* Technologies list styling */
.about-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 15px;
}

.about-tech-item {
  background: rgba(79, 140, 255, 0.1);
  padding: 12px 20px;
  border-radius: 8px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  font-weight: 600;
  color: var(--primary-text);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.about-tech-item img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.1));
}

.about-tech-item span {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-text);
}

.about-tech-item:hover {
  background: linear-gradient(135deg, #4f8cffcc, #6c63ffcc);
  color: #fff;
  box-shadow: 0 8px 20px rgba(79, 140, 255, 0.5);
  transform: translateY(-6px);
}

.about-tech-item:hover img {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
  transform: scale(1.15);
  animation: bounce 0.4s ease forwards;
}

/* Bounce animation for tech icons */
@keyframes bounce {
  0%, 100% {
    transform: scale(1.15);
  }
  50% {
    transform: scale(1.3);
  }
}

.about-cta {
  max-width: 900px;         /* Matches other about-section widths */
  margin: 60px auto 0;      /* Center with margin top */
  padding: 30px 35px;       /* Same horizontal padding as about-section */
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.1) 0%, rgba(108, 99, 255, 0.1) 100%);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(79, 140, 255, 0.15);
  text-align: center;
  user-select: none;
  transition: box-shadow 0.3s ease;
}

.about-cta:hover,
.about-cta:focus-within {
  box-shadow: 0 12px 30px rgba(79, 140, 255, 0.25);
}

.about-cta h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--accent);
  letter-spacing: 0.8px;
}

.about-cta h2 span {
  color: var(--accent-hover);
}

.about-cta p {
  font-size: 1.15rem;
  color: var(--primary-text);
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 700px;         /* Wider than paragraph in other sections but still constrained */
  margin-left: auto;
  margin-right: auto;
}

.about-button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 36px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 6px 20px rgba(79, 140, 255, 0.3);
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
  user-select: none;
}

.about-button:hover,
.about-button:focus {
  background: var(--accent-hover);
  box-shadow: 0 10px 28px rgba(79, 140, 255, 0.5);
  transform: translateY(-4px);
  outline: none;
}

.about-button:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 4px;
}

/* Slightly slower, smoother pulse animation for CTA button */
.pulse {
  animation: pulse 3s infinite ease-in-out;
}

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

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

/* Responsive tweaks */
@media (max-width: 700px) {
  .about-section {
    flex-direction: column;
    padding: 25px 20px;
  }
  .about-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }
  .about-content h2 {
    font-size: 1.6rem;
  }
  .about-audience {
    grid-template-columns: 1fr;
  }
  .about-tech-list {
    justify-content: center;
  }
}

/* Smooth transition for multiple 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;
}

/* Dark mode fixes */
body.dark .templates-main h1,
body.dark .template-card h2 {
  color: #f3f3f3;
}

body.dark .templates-main h2 {
  color: black;
}

/* 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%);
/* Add these styles at the end of the file */

/* Animated background elements */
.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 140, 255, 0.3) 0%, transparent 70%);
  animation: float 15s infinite ease-in-out;
  box-shadow: 0 0 20px rgba(79, 140, 255, 0.4);
}

.floating-element-1 {
  width: 150px;
  height: 150px;
  top: 10%;
  left: 5%;
  animation-duration: 20s;
  animation-delay: 0s;
}

.floating-element-2 {
  width: 100px;
  height: 100px;
  top: 60%;
  left: 80%;
  animation-duration: 25s;
  animation-direction: reverse;
  animation-delay: 2s;
}

.floating-element-3 {
  width: 70px;
  height: 70px;
  top: 30%;
  left: 70%;
  animation-duration: 18s;
  animation-delay: 4s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translate(20px, 40px) rotate(90deg);
    opacity: 0.6;
  }
  50% {
    transform: translate(40px, 20px) rotate(180deg);
    opacity: 0.8;
  }
  75% {
    transform: translate(20px, -40px) rotate(270deg);
    opacity: 0.6;
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
    opacity: 0.3;
  }
}

/* About page specific styles */
.about-main {
  position: relative;
  z-index: 1;
}

.about-header {
  text-align: center;
  padding: 4rem 1rem 2rem;
  position: relative;
}

.about-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #4f8cff, #9f5de2, #ff6ec4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.animate-text {
  display: inline-block;
  animation: pulseText 2s infinite;
}

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

.about-subtitle {
  font-size: 1.3rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

body.dark-theme .about-subtitle {
  color: #ccc;
}

.about-section {
  padding: 3rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.about-icon {
  font-size: 2.5rem;
  min-width: 60px;
  text-align: center;
  animation: bounce 2s infinite;
}

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

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #222;
  position: relative;
  display: inline-block;
}

.about-content h2 span {
  background: linear-gradient(135deg, #4f8cff, #9f5de2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark-theme .about-content h2 {
  color: #f9f9f9;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #444;
}

body.dark-theme .about-content p {
  color: #ccc;
}

/* Technology section */
.about-tech-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.about-tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.about-tech-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 10px 25px rgba(79, 140, 255, 0.2);
  background: rgba(255, 255, 255, 0.9);
}

body.dark-theme .about-tech-item {
  background: rgba(40, 40, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .about-tech-item:hover {
  background: rgba(60, 60, 60, 0.9);
  box-shadow: 0 10px 25px rgba(100, 150, 255, 0.2);
}

.tech-icon {
  width: 50px;
  height: 50px;
  transition: all 0.3s ease;
}

.about-tech-item:hover .tech-icon {
  transform: rotate(15deg) scale(1.2);
  filter: drop-shadow(0 0 8px rgba(79, 140, 255, 0.5));
}

/* Audience section */
.about-audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.about-audience-item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.about-audience-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(79, 140, 255, 0.2);
  background: rgba(255, 255, 255, 0.9);
}

body.dark-theme .about-audience-item {
  background: rgba(40, 40, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .about-audience-item:hover {
  background: rgba(60, 60, 60, 0.9);
  box-shadow: 0 8px 25px rgba(100, 150, 255, 0.2);
}

.about-audience-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #222;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.dark-theme .about-audience-item h3 {
  color: #f9f9f9;
}

.about-audience-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

body.dark-theme .about-audience-item p {
  color: #ccc;
}

/* CTA section */
.about-cta {
  text-align: center;
  padding: 4rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.1), rgba(159, 93, 226, 0.1));
  border-radius: 20px;
  margin: 3rem auto;
  position: relative;
  overflow: hidden;
}

.about-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  z-index: -1;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.about-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #222;
}

.about-cta h2 span {
  background: linear-gradient(135deg, #4f8cff, #9f5de2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark-theme .about-cta h2 {
  color: #f9f9f9;
}

.about-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #444;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

body.dark-theme .about-cta p {
  color: #ccc;
}

.about-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #4f8cff, #9f5de2);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(79, 140, 255, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.about-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(79, 140, 255, 0.6);
}

.about-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
}

.about-button:hover::before {
  left: 100%;
}

/* Animation utilities */
.animate-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-header {
    padding: 3rem 1rem 1.5rem;
  }
  
  .about-title {
    font-size: 2.2rem;
  }
  
  .about-subtitle {
    font-size: 1.1rem;
  }
  
  .about-section {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Stats container for the mission section */
.stats-container {
  display: flex;
  justify-content: space-around;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  min-width: 120px;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(79, 140, 255, 0.2);
  background: rgba(255, 255, 255, 0.9);
}

body.dark-theme .stat-item {
  background: rgba(40, 40, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .stat-item:hover {
  background: rgba(60, 60, 60, 0.9);
  box-shadow: 0 8px 25px rgba(100, 150, 255, 0.2);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #4f8cff;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: #555;
}

body.dark-theme .stat-label {
  color: #ccc;
}

/* CTA extra section */
.cta-extra {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

body.dark-theme .cta-extra {
  background: rgba(40, 40, 40, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.editor-link {
  color: #4f8cff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.editor-link:hover {
  color: #9f5de2;
  border-bottom: 2px solid #9f5de2;
}

/* Animation for stat numbers */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-number {
  animation: countUp 1s ease-out;
}

/* Responsive adjustments for stats */
@media (max-width: 768px) {
  .stats-container {
    flex-direction: column;
    align-items: center;
  }
  
  .stat-item {
    width: 80%;
  }
}

    padding: 2rem 1rem;
  }
  
  .about-icon {
    font-size: 2rem;
    min-width: 50px;
  }
  
  .about-content h2 {
    font-size: 1.7rem;
  }
  
  .about-tech-list {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
  }
  
  .about-audience {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .about-cta {
    padding: 2.5rem 1rem;
    margin: 2rem auto;
  }
  
  .about-cta h2 {
    font-size: 2rem;
  }
  
  .about-cta p {
    font-size: 1rem;
  }
  
  .about-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

.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;
}

/* 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;
}
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;
}

/* ───────── UNIFIED CARD SYSTEM ───────── */
/* Base card styles - consistent across all card types */
.card-system {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: 0 8px 24px var(--card-shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.card-system:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 32px var(--card-shadow-hover);
}

/* Animation for card entrance */
@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Card content areas */
.card-header {
  padding: 1.5rem 1.5rem 0;
}

.card-body {
  padding: 1rem 1.5rem;
  flex-grow: 1;
}

.card-footer {
  padding: 0 1.5rem 1.5rem;
}

/* Card titles and text */
.card-title {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  color: var(--text-primary);
  font-weight: 700;
}

.card-subtitle {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.card-text {
  margin: 0 0 1.5rem 0;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Card image handling */
.card-img {
  width: 100%;
  height: auto;
  display: block;
}

.card-img-top {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Card actions */
.card-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.card-btn {
  display: inline-block;
  background-color: var(--accent);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.card-btn:hover {
  background-color: #2f75f7;
  transform: translateY(-2px);
}

.card-btn-secondary {
  background-color: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.card-btn-secondary:hover {
  background-color: rgba(79, 140, 255, 0.1);
}

/* ───────── CARD VARIANTS ───────── */
/* Vertical card (default) */
.card-vertical {
  flex-direction: column;
  width: 100%;
  max-width: 350px;
  height: auto;
}

.card-vertical .card-img-top {
  height: 200px;
}

/* Horizontal card */
.card-horizontal {
  flex-direction: row;
}

.card-horizontal .card-img-container {
  flex: 0 0 40%;
  max-width: 40%;
}

.card-horizontal .card-img-top {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.card-horizontal .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ───────── CARD HOVER EFFECTS ───────── */
/* Tilt effect */
.card-tilt {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card-tilt:hover {
  transform: rotateY(10deg) rotateX(10deg) scale(1.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* Float effect */
.card-float {
  animation: float 6s ease-in-out infinite;
}

.card-float:hover {
  animation: none;
  transform: translateY(-15px) scale(1.03);
}

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

/* Glow effect */
.card-glow:hover {
  box-shadow: 0 0 25px rgba(79, 140, 255, 0.5);
}

/* Morph effect */
.card-morph:hover {
  border-radius: 30px;
  transform: scale(0.95);
}

/* Flip effect */
.card-flip {
  transform-style: preserve-3d;
  position: relative;
}

.card-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.card-flip:hover .card-flip-inner {
  transform: rotateY(180deg);
}

.card-flip-front, .card-flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
}

.card-flip-back {
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

/* ───────── DARK MODE SUPPORT ───────── */
body.dark .card-system {
  --card-bg: #2c2c2c;
  --card-shadow: rgba(0, 0, 0, 0.3);
  --card-shadow-hover: rgba(0, 0, 0, 0.5);
  --text-primary: #f1f1f1;
  --text-secondary: #aaaaaa;
}

body.dark .card-btn {
  background-color: #4f8cff;
  color: #fff;
}

body.dark .card-btn:hover {
  background-color: #2f75f7;
}

body.dark .card-btn-secondary {
  background-color: transparent;
  color: #4f8cff;
  border: 1px solid #4f8cff;
}

body.dark .card-btn-secondary:hover {
  background-color: rgba(79, 140, 255, 0.2);
}

/* ───────── RESPONSIVE DESIGN ───────── */
@media (max-width: 768px) {
  .card-system {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  
  .card-horizontal {
    flex-direction: column;
  }
  
  .card-horizontal .card-img-container {
    flex: 0 0 auto;
    max-width: 100%;
  }
  
  .card-title {
    font-size: 1.3rem;
  }
  
  .card-text {
    font-size: 0.95rem;
  }
  
  .card-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

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;
  user-select: none; /* Prevent text selection when clicking */
}

.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);
}

/* Add visual feedback for FAQ headers on hover */
.faq-question-header:hover {
  background-color: rgba(102, 126, 234, 0.05);
  transition: background-color 0.2s ease;
}

/* Focus styles for accessibility */
.faq-question-header:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* 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 */
}

/* 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;
  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;
  align-items: center;
  border-radius: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  font-weight: 600;
  text-align: center;
   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 */
}

.geometric{
  padding-left: 55px;
  font-size: 20px;
}
 .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 1rem;
    z-index: 1;
    position: relative;
  }
  .form-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
   .form-options a {
    color: #3b82f6;
    text-decoration: none;
   }
  .form-options a:hover {
    text-decoration: underline;
  }
  .signup-link {
    text-align: center;
    font-size: 0.875rem;
    color: #4b5563;
    z-index: 1;
    position: relative;
  }
  .signup-link a {
    color: #3b82f6;
   text-decoration: none;
  }
  .signup-link a:hover {
    text-decoration: underline;
  }

/* 🔹 New Hover Effects */
.blur:hover {
  filter: blur(3px);
}

.skew:hover {
  transform: skewX(15deg);
}

.fade:hover {
  opacity: 0.5;
}

.bounce:hover {
  animation: bounce 0.5s;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.text-shadow:hover {
  text-shadow: 2px 2px 8px #1e3a8a;
  color: #1e3a8a;
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Box-Shadow hover effect */
.Box-Shadow:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

/* Background-Color hover effect */
.Background-Color:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* Enhanced existing effects */
.scale:hover {
  transform: scale(1.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.translate:hover {
  transform: translateY(-20px) translateX(10px);
  cursor: pointer;
  transition: all 0.3s ease;
}

.rotate:hover {
  transform: rotate(30deg) scale(1.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.Color:hover { 
  color: #3052cc;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blur:hover {
  filter: blur(3px);
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.skew:hover {
  transform: skewX(15deg) scale(1.1);
  transition: all 0.3s ease;
}

.fade:hover {
  opacity: 0.5;
  transform: scale(0.95);
  transition: all 0.3s ease;
}

.bounce:hover {
  animation: bounce 0.6s ease-in-out;
  transform: scale(1.1);
  transition: all 0.3s ease;
}

/* Additional playground enhancements */
.effects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.playground-section {
  padding: 4rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.playground-section h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 2rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.para-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem 2rem;
  border-radius: 15px;
  margin-bottom: 3rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.para-box p {
  color: white;
  font-size: 1.2rem;
  margin: 0;
  font-weight: 500;
}

/* Responsive design for playground */
@media (max-width: 768px) {
  .box {
    height: 10rem;
    width: 10rem;
    margin: 2rem 1rem;
    font-size: 1rem;
  }
  
  .effects {
    gap: 1rem;
    padding: 1rem;
  }
  
  .playground-section h1 {
    font-size: 2rem;
  }
}

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

/* Animated background elements */
.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 140, 255, 0.2) 0%, transparent 70%);
  animation: float 15s infinite linear;
}

.floating-element-1 {
  width: 150px;
  height: 150px;
  top: 10%;
  left: 5%;
  animation-duration: 20s;
}

.floating-element-2 {
  width: 100px;
  height: 100px;
  top: 60%;
  left: 80%;
  animation-duration: 25s;
  animation-direction: reverse;
}

.floating-element-3 {
  width: 70px;
  height: 70px;
  top: 30%;
  left: 70%;
  animation-duration: 18s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, 40px) rotate(90deg);
  }
  50% {
    transform: translate(40px, 20px) rotate(180deg);
  }
  75% {
    transform: translate(20px, -40px) rotate(270deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

/* About page specific styles */
.about-main {
  position: relative;
  z-index: 1;
}

.about-header {
  text-align: center;
  padding: 4rem 1rem 2rem;
  position: relative;
}

.about-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #4f8cff, #9f5de2, #ff6ec4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

/* Enhanced animations for the about page */
@keyframes textGlow {
  0% {
    text-shadow: 0 0 5px rgba(79, 140, 255, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(79, 140, 255, 0.8), 0 0 30px rgba(159, 93, 226, 0.6);
  }
  100% {
    text-shadow: 0 0 5px rgba(79, 140, 255, 0.5);
  }
}

.animate-text {
  display: inline-block;
  animation: pulseText 2s infinite, textGlow 3s infinite;
}

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

.about-subtitle {
  font-size: 1.3rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

body.dark-theme .about-subtitle {
  color: #ccc;
}

.about-section {
  padding: 3rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.about-icon {
  font-size: 2.5rem;
  min-width: 60px;
  text-align: center;
  animation: bounce 2s infinite;
}

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

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #222;
  position: relative;
  display: inline-block;
}

.about-content h2 span {
  background: linear-gradient(135deg, #4f8cff, #9f5de2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark-theme .about-content h2 {
  color: #f9f9f9;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #444;
}

body.dark-theme .about-content p {
  color: #ccc;
}

/* Technology section */
.about-tech-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.about-tech-item {
  position: relative;
  overflow: hidden;
}

.about-tech-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.5s;
}

.about-tech-item:hover::before {
  left: 100%;
}

.about-tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.about-tech-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 10px 25px rgba(79, 140, 255, 0.2);
  background: rgba(255, 255, 255, 0.9);
}

body.dark-theme .about-tech-item {
  background: rgba(40, 40, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .about-tech-item:hover {
  background: rgba(60, 60, 60, 0.9);
  box-shadow: 0 10px 25px rgba(100, 150, 255, 0.2);
}

.tech-icon {
  width: 50px;
  height: 50px;
  transition: all 0.3s ease;
}

.about-tech-item:hover .tech-icon {
  transform: rotate(15deg) scale(1.2);
  filter: drop-shadow(0 0 8px rgba(79, 140, 255, 0.5));
}

/* Audience section */
.about-audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.about-audience-item {
  position: relative;
}

.about-audience-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #4f8cff, #9f5de2);
  transition: width 0.5s ease;
}

.about-audience-item:hover::after {
  width: 100%;
}

.about-audience-item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.about-audience-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(79, 140, 255, 0.2);
  background: rgba(255, 255, 255, 0.9);
}

body.dark-theme .about-audience-item {
  background: rgba(40, 40, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .about-audience-item:hover {
  background: rgba(60, 60, 60, 0.9);
  box-shadow: 0 8px 25px rgba(100, 150, 255, 0.2);
}

.about-audience-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #222;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.dark-theme .about-audience-item h3 {
  color: #f9f9f9;
}

.about-audience-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

body.dark-theme .about-audience-item p {
  color: #ccc;
}

/* CTA section */
.about-cta {
  text-align: center;
  padding: 4rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.1), rgba(159, 93, 226, 0.1));
  border-radius: 20px;
  margin: 3rem auto;
  position: relative;
  overflow: hidden;
}

.about-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  z-index: -1;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.about-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #222;
}

.about-cta h2 span {
  background: linear-gradient(135deg, #4f8cff, #9f5de2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark-theme .about-cta h2 {
  color: #f9f9f9;
}

.about-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #444;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

body.dark-theme .about-cta p {
  color: #ccc;
}

.about-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #4f8cff, #9f5de2);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(79, 140, 255, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.about-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(79, 140, 255, 0.6);
}

.about-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
}

.about-button:hover::before {
  left: 100%;
}

/* Animation utilities */
.animate-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-header {
    padding: 3rem 1rem 1.5rem;
  }
  
  .about-title {
    font-size: 2.2rem;
  }
  
  .about-subtitle {
    font-size: 1.1rem;
  }
  
  .about-section {
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 1rem;
  }
  
  .about-icon {
    font-size: 2rem;
    min-width: 50px;
  }
  
  .about-content h2 {
    font-size: 1.7rem;
  }
  
  .about-tech-list {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
  }
  
  .about-audience {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .about-cta {
    padding: 2.5rem 1rem;
    margin: 2rem auto;
  }
  
  .about-cta h2 {
    font-size: 2rem;
  }
  
  .about-cta p {
    font-size: 1rem;
  }
  
  .about-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}



/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: #1dc5c8;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile nav styles */
/* Mobile & Tablet (up to 1024px) */
@media (max-width: 1024px) {
  .nav-links {
    position: absolute;
    top: 90px;
    right: 0;
    background-color: #111111e6;
    flex-direction: column;
    width: 180px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    padding: 0px;
  }

  .nav-links li {
    margin: 4px 0;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }
}

/* Desktop (from 1025px up) */
@media (min-width: 1025px) {
  .nav-links {
    position: static;
    flex-direction: row;
    transform: none;
    background: transparent;
    width: auto;
    padding: 0;
  }

  .hamburger {
    display: none;
  }
}

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 480px) {
  .about-title {
    font-size: 1.8rem;
  }
  
  .about-content h2 {
    font-size: 1.5rem;
  }
}

