* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  margin: 0;
  background: #ffffff;
  color: #000000;
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e0e0e0;
}

header nav {
  display: flex;
  gap: 20px;
}

header nav a {
  text-decoration: none;
  color: #111;
  font-weight: 600;
  transition: color 0.3s;
}

header nav a:hover {
  color: #555;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 10%;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-bottom: 1px solid #e0e0e0;
  flex-direction: row-reverse;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.02) 0%, transparent 20%),
    radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.02) 0%, transparent 20%);
  pointer-events: none;
}

.hero-content {
  flex: 1;
  padding: 50px 50px 50px 0;
  text-align: left;
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.welcome-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 25px;
  display: block;
  position: relative;
  padding-left: 50px;
  opacity: 0;
  animation: slideInLeft 0.8s ease forwards;
}

.welcome-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 35px;
  height: 2px;
  background: #000;
  transform: translateY(-50%);
  transition: width 0.3s ease;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: #000;
  font-family: "Playfair Display", serif;
  line-height: 1;
  letter-spacing: -2px;
  position: relative;
  opacity: 0;
  animation: scaleIn 0.8s ease forwards;
  animation-delay: 0.3s;
  background: linear-gradient(45deg, #000, #333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.hero h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 25px 0;
  color: #333;
  font-family: "Inter", sans-serif;
  line-height: 1.4;
  letter-spacing: -0.5px;
  max-width: 600px;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 0.5s;
  position: relative;
}

.hero h2.subtitle {
  font-size: 1.4rem;
  color: #555;
  font-weight: 500;
  margin: 20px 0;
  line-height: 1.6;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 0.7s;
  position: relative;
  padding-left: 15px;
  border-left: 3px solid #000;
}

.hero h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 30px 0 40px;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  letter-spacing: 6px;
  position: relative;
  display: inline-block;
  padding-left: 45px;
  background: linear-gradient(45deg, #000, #333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 0.9s;
}

.hero h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 35px;
  height: 2px;
  background: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.5));
  transform: translateY(-50%);
}

.hero p {
  font-size: 1.2rem;
  color: #555;
  margin: 20px 0 30px;
  line-height: 1.7;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.2px;
  max-width: 550px;
  font-weight: 500;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 1.1s;
  position: relative;
  padding-right: 15px;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.text-gradient {
  background: linear-gradient(45deg, #000, #333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-emphasis {
  position: relative;
  display: inline-block;
}

.text-emphasis::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.text-emphasis:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary {
  font-size: 1.2rem;
  padding: 20px 50px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: #000;
  color: #fff;
  border: 2px solid #000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.btn-primary span {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 1.4rem;
  margin-left: 5px;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  background: transparent;
  color: #000;
}

.btn-primary:hover span {
  transform: translateX(5px);
}

.integration-section {
  padding: 120px 10%;
  background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%);
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  overflow: hidden;
}

.integration-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23000000' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.6;
}

.container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.left-column {
  flex: 1;
  min-width: 350px;
  padding-right: 40px;
}

.small-heading {
  font-size: 1rem;
  letter-spacing: 2px;
  color: #666;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-left: 45px;
}

.small-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 35px;
  height: 2px;
  background: #000;
  transform: translateY(-50%);
}

.main-heading {
  font-size: 3.2rem;
  font-weight: 700;
  margin: 30px 0;
  line-height: 1.2;
  color: #000;
  max-width: 600px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.stat-box {
  background: #000;
  color: #fff;
  padding: 35px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #000;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
  z-index: -1;
}

.stat-box:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.stat-box:hover {
  color: #000;
}

.stat-box:hover h3,
.stat-box:hover p {
  color: #000;
}

.stat-box h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
  position: relative;
  z-index: 2;
}

.stat-box p {
  font-size: 1rem;
  margin: 0;
  color: #fff;
  position: relative;
  z-index: 2;
}

.right-column {
  flex: 1;
  min-width: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro-text {
  font-size: 1.2rem;
  margin-bottom: 50px;
  line-height: 1.8;
  color: #555;
  padding-left: 25px;
  border-left: 3px solid #000;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature-item {
  background: #fff;
  padding: 35px;
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  position: relative;
  overflow: hidden;
}

.feature-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #000;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.feature-item:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.feature-item h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #000;
}

.feature-item p {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 1200px) {
  .container {
    gap: 60px;
  }

  .main-heading {
    font-size: 2.8rem;
  }

  .stat-box {
    padding: 30px;
  }

  .feature-item {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .integration-section {
    padding: 80px 5%;
  }

  .container {
    gap: 40px;
  }

  .left-column,
  .right-column {
    min-width: 100%;
    padding-right: 0;
  }

  .main-heading {
    font-size: 2.4rem;
  }

  .stats-grid {
    gap: 20px;
    margin-top: 30px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .intro-text {
    margin-bottom: 30px;
  }
}

.trial-section {
  padding: 80px 10%;
  text-align: center;
  background: #000;
  color: white;
  border-bottom: 1px solid #e0e0e0;
}

.trial-section h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.trial-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #ccc;
}

.trial-section .btn-primary {
  background-color: white;
  color: #000;
  border: 1px solid white;
}

.trial-section .btn-primary:hover {
  background-color: #000;
  color: white;
}

footer {
  background-color: #000;
  color: white;
  padding: 120px 10% 60px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-brand {
  margin-right: 40px;
}

.footer-brand h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
}

.footer-brand p {
  color: #999;
  line-height: 1.8;
  margin-bottom: 30px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 0;
}

.social-link:hover::before {
  transform: translateY(0);
}

.social-link:hover {
  color: #000;
}

.social-link span {
  position: relative;
  z-index: 1;
}

footer h4 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #fff;
  position: relative;
  padding-bottom: 15px;
}

footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

footer div:hover h4::after {
  width: 60px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

footer a {
  color: #999;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

footer a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
}

footer a:hover {
  color: #fff;
  padding-left: 20px;
}

footer a:hover::before {
  opacity: 1;
  left: 0;
}

.copyright {
  text-align: center;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #666;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    margin-right: 0;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  footer a::before {
    display: none;
  }

  footer a:hover {
    padding-left: 0;
  }
}

/* Enhanced Cube Animation */
.cube-container {
  width: 400px;
  height: 400px;
  perspective: 1500px;
  margin-right: 80px;
  transition: all 0.8s ease;
  position: relative;
}

.cube-container::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

.cube-container:hover {
  transform: scale(1.1) rotate(-5deg);
}

.cube {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: rotate 20s infinite linear;
  transition: transform 0.5s ease;
}

.cube:hover {
  animation-play-state: paused;
}

.face {
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.98);
  border: 3px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
  transform-origin: center;
  font-family: "Playfair Display", serif;
}

.face::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cube:hover .face::before {
  opacity: 1;
}

.face span {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  color: #000;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
  transform: scale(0.9);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.cube:hover .face span {
  transform: scale(1);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.front {
  transform: translateZ(150px);
}

.back {
  transform: translateZ(-150px) rotateY(180deg);
}

.right {
  transform: translateX(150px) rotateY(90deg);
}

.left {
  transform: translateX(-150px) rotateY(-90deg);
}

.top {
  transform: translateY(-150px) rotateX(90deg);
}

.bottom {
  transform: translateY(150px) rotateX(-90deg);
}

@keyframes rotate {
  0% {
    transform: rotateX(0) rotateY(0) rotateZ(0);
  }

  33% {
    transform: rotateX(360deg) rotateY(180deg) rotateZ(90deg);
  }

  66% {
    transform: rotateX(180deg) rotateY(360deg) rotateZ(180deg);
  }

  100% {
    transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
  }
}

/* Enhanced Hero Section for better cube placement */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 10%;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-bottom: 1px solid #e0e0e0;
  flex-direction: row-reverse;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.phone-container {
  width: 160px;
  height: 300px;
  border: 2px solid #000;
  border-radius: 1rem;
  background-color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 40px auto;
}

.top-border {
  border: 1px solid #000;
  background-color: #000;
  width: 80px;
  height: 8px;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  margin-top: -1px;
}

.time {
  font-size: 2.5rem;
  margin: 1.5rem 0 0;
  font-weight: 600;
}

.date {
  font-size: 0.8rem;
  margin-bottom: 2rem;
  color: #555;
}

.fingerprint {
  position: absolute;
  bottom: 3rem;
  width: 26px;
  height: 26px;
}

.phone-icon,
.camera-icon {
  position: absolute;
  bottom: 10px;
  padding: 4px;
  background-color: #f0f0f0;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.phone-icon {
  left: 10px;
}

.camera-icon {
  right: 10px;
}

.right-border {
  position: absolute;
  border: 2px solid #000;
  right: -8px;
  border-radius: 0.375rem;
}

.right-border.top {
  top: 56px;
  height: 28px;
}

/* Enhanced Blog Cards with 3D Effect */
.blog-section {
  padding: 100px 10%;
  background: #f8f9fa;
}

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

.blog-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
}

.blog-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.blog-categories {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.category-btn {
  padding: 10px 25px;
  border: 2px solid #000;
  border-radius: 30px;
  background: transparent;
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
  background: #000;
  color: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
  perspective: 1000px;
}

.blog-card[data-category] {
  display: none;
}

.blog-card[data-category].show {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-card {
  height: 450px;
  border-radius: 50px;
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  transition: all 0.5s ease-in-out;
  transform-style: preserve-3d;
  box-shadow: rgba(0, 0, 0, 0.3) 40px 50px 25px -40px,
    rgba(0, 0, 0, 0.2) 0px 25px 25px -5px;
  position: relative;
  overflow: hidden;
  perspective: 1000px;
  transform: translateZ(0);
  will-change: transform;
  cursor: pointer;
}

.blog-card .glass {
  transform-style: preserve-3d;
  position: absolute;
  inset: 8px;
  border-radius: 45px;
  border-top-right-radius: 100%;
  background: linear-gradient(0deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.15) 100%);
  transform: translate3d(0px, 0px, 25px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s ease-in-out;
}

.blog-card .logo {
  position: absolute;
  right: 0;
  top: 0;
  transform-style: preserve-3d;
}

.blog-card .logo .circle {
  display: block;
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  top: 0;
  right: 0;
  box-shadow: rgba(0, 0, 0, 0.2) -10px 10px 20px 0px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.5s ease-in-out;
}

.blog-card .logo .circle1 {
  width: 170px;
  transform: translate3d(0, 0, 20px);
  top: 8px;
  right: 8px;
}

.blog-card .logo .circle2 {
  width: 140px;
  transform: translate3d(0, 0, 40px);
  top: 10px;
  right: 10px;
  transition-delay: 0.4s;
}

.blog-card .logo .circle3 {
  width: 110px;
  transform: translate3d(0, 0, 60px);
  top: 17px;
  right: 17px;
  transition-delay: 0.8s;
}

.blog-card .logo .circle4 {
  width: 80px;
  transform: translate3d(0, 0, 80px);
  top: 23px;
  right: 23px;
  transition-delay: 1.2s;
}

.blog-card .logo .circle5 {
  width: 50px;
  transform: translate3d(0, 0, 100px);
  top: 30px;
  right: 30px;
  display: grid;
  place-content: center;
  transition-delay: 1.6s;
  background: rgba(255, 255, 255, 0.2);
}

.blog-content {
  padding: 120px 35px 35px 35px;
  transform: translate3d(0, 0, 26px);
  position: relative;
  z-index: 1;
}

.blog-category {
  display: inline-block;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 18px;
  border-radius: 20px;
}

.blog-title {
  display: block;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.8rem;
  margin-bottom: 25px;
  line-height: 1.3;
  padding-right: 15px;
}

.blog-excerpt {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 35px;
  padding-right: 15px;
}

.blog-footer {
  position: absolute;
  bottom: 35px;
  left: 35px;
  right: 35px;
  transform: translate3d(0, 0, 26px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 5px 0;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 0;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.author-name {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.blog-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  padding: 10px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.blog-card:hover .logo .circle2 {
  transform: translate3d(0, 0, 60px);
}

.blog-card:hover .logo .circle3 {
  transform: translate3d(0, 0, 80px);
}

.blog-card:hover .logo .circle4 {
  transform: translate3d(0, 0, 100px);
}

.blog-card:hover .logo .circle5 {
  transform: translate3d(0, 0, 120px);
}

@media (max-width: 1200px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    height: 400px;
  }

  .blog-categories {
    flex-wrap: wrap;
  }

  .category-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
}

/* Add this at the end of your style section */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.founding-members {
  padding: 80px 10% 120px;
  /* Reduced top padding from 120px to 80px */
  background: #000;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  /* Reduced from 80px to 50px */
  position: relative;
  z-index: 1;
}

.wrapper {
  width: 100%;
  height: 500px;
  /* Reduced from 600px to 500px */
  position: relative;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: -30px;
  /* Added negative margin to pull carousel up */
}

@media (max-width: 768px) {
  .founding-members {
    padding: 60px 5% 100px;
    /* Adjusted padding for mobile */
  }

  .section-header {
    margin-bottom: 40px;
  }

  .wrapper {
    height: 400px;
    margin-top: -20px;
  }
}

.founding-members::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
}

.section-header h2 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
}

.section-header p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.wrapper {
  width: 100%;
  height: 600px;
  position: relative;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.inner {
  --w: 250px;
  --h: 350px;
  --translateZ: calc((var(--w) + var(--h)) + 0px);
  --rotateX: -5deg;
  --perspective: 2000px;
  position: absolute;
  width: var(--w);
  height: var(--h);
  top: 25%;
  left: calc(50% - (var(--w) / 2) - 2.5px);
  z-index: 2;
  transform-style: preserve-3d;
  transform: perspective(var(--perspective));
  animation: rotating 25s linear infinite;
}

@keyframes rotating {
  from {
    transform: perspective(var(--perspective)) rotateX(var(--rotateX)) rotateY(0);
  }

  to {
    transform: perspective(var(--perspective)) rotateX(var(--rotateX)) rotateY(1turn);
  }
}

.card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  inset: 0;
  transform: rotateY(calc((360deg / var(--quantity)) * var(--index))) translateZ(var(--translateZ));
  transition: all 0.3s ease;
}

.img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(45deg,
      rgba(var(--color-card), 0.7) 0%,
      rgba(var(--color-card), 0.9) 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 30px;
}

.member-info {
  text-align: left;
  color: #fff;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.card:hover .member-info {
  transform: translateY(0);
  opacity: 1;
}

.member-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.member-info p {
  font-size: 1rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .founding-members {
    padding: 80px 5%;
  }

  .section-header h2 {
    font-size: 2.4rem;
  }

  .inner {
    --w: 200px;
    --h: 300px;
  }
}

.join-section {
  padding: 120px 10%;
  background: linear-gradient(135deg, #000 0%, #111 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.join-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
}

.join-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.join-content h2 {
  font-size: 3rem;
  margin-bottom: 30px;
  font-family: "Playfair Display", serif;
}

.join-content p {
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 40px;
}

.benefits-list {
  list-style: none;
  padding: 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.benefit-text {
  flex: 1;
}

.benefit-text h4 {
  margin: 0 0 5px;
  font-size: 1.1rem;
}

.benefit-text p {
  margin: 0;
  font-size: 0.9rem;
  color: #aaa;
}

.join-form {
  background: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #ccc;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

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

.submit-btn {
  width: 100%;
  padding: 15px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .join-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .join-content h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .join-section {
    padding: 80px 5%;
  }

  .join-content h2 {
    font-size: 2rem;
  }

  .benefit-item {
    padding: 15px;
  }

  .join-form {
    padding: 30px;
  }
}

.logo-text {
  font-weight: 900;
  letter-spacing: -1px;
  position: relative;
  color: #000;
}

.logo-text::before,
.logo-text::after {
  content: '_';
  display: inline-block;
  color: #000;
  font-weight: 900;
  opacity: 1;
  text-shadow: 0 0 1px #000;
  font-size: 110%;
}

header .logo-text {
  font-size: 1.4rem;
}

header .logo-text::before,
header .logo-text::after {
  font-weight: 900;
  color: #000;
  text-shadow: 0 0 1px #000;
}

.hero h1.logo-text {
  font-size: 4.5rem;
  background: linear-gradient(45deg, #000, #333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1.logo-text::before,
.hero h1.logo-text::after {
  background: #000;
  -webkit-background-clip: text;
  -webkit-text-fill-color: #000;
  font-weight: 900;
  text-shadow: 0 0 1px #000;
}

.footer-brand h3.logo-text {
  font-size: 2rem;
  color: #fff;
}

.footer-brand h3.logo-text::before,
.footer-brand h3.logo-text::after {
  color: #fff;
}

.founding-members .card .img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(45deg,
      rgba(var(--color-card), 0.7) 0%,
      rgba(var(--color-card), 0.9) 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  transition: all 0.3s ease;
}

.founding-members .card:first-child .img {
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.7) 100%),
    url('./images/utkarsh_profile.jpg');
  background-size: cover;
  background-position: center;
}

.founding-members .card:first-child .member-info {
  background: rgba(0, 0, 0, 0.7);
  padding: 15px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  width: 100%;
}

.founding-members .card:first-child:hover .img {
  transform: scale(1.05);
}

/* Enhanced Responsive Design */
:root {
  --header-height: 70px;
  --section-padding: 80px 5%;
}

@media (max-width: 1400px) {
  .hero {
    padding: 100px 5%;
  }

  .cube-container {
    width: 350px;
    height: 350px;
    margin-right: 40px;
  }

  .hero h1 {
    font-size: 3.8rem;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .container {
    padding: 0 5%;
  }
}

@media (max-width: 1200px) {
  .hero {
    padding: 80px 5%;
    min-height: auto;
  }

  .cube-container {
    width: 300px;
    height: 300px;
    margin-right: 30px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero-content {
    padding: 30px 20px 30px 0;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .founding-members .wrapper {
    height: 500px;
  }

  .founding-members .inner {
    --w: 220px;
    --h: 320px;
  }
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 5%;
  }

  .hero-content {
    padding: 40px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cube-container {
    margin-right: 0;
  }

  .welcome-text {
    padding-left: 0;
  }

  .welcome-text::before {
    display: none;
  }

  .integration-section {
    padding: 60px 5%;
  }

  .container {
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  .blog-categories {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .category-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }

  .founding-members {
    padding: 60px 5%;
  }

  .section-header h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 5%;
  }

  header nav {
    display: none;
    /* Consider adding a mobile menu */
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero h2 {
    font-size: 1.4rem;
  }

  .hero h3 {
    font-size: 1rem;
    letter-spacing: 4px;
  }

  .cube-container {
    width: 250px;
    height: 250px;
  }

  .face {
    width: 200px;
    height: 200px;
  }

  .face span {
    font-size: 1.4rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .blog-card {
    height: 400px;
  }

  .founding-members .wrapper {
    height: 400px;
  }

  .founding-members .inner {
    --w: 180px;
    --h: 280px;
  }

  .member-info h3 {
    font-size: 1.2rem;
  }

  .member-info p {
    font-size: 0.9rem;
  }

  .join-section form {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .btn-primary {
    padding: 15px 30px;
    font-size: 1rem;
  }

  .cube-container {
    width: 200px;
    height: 200px;
  }

  .face {
    width: 150px;
    height: 150px;
    padding: 15px;
  }

  .face span {
    font-size: 1.1rem;
  }

  .main-heading {
    font-size: 2rem;
  }

  .blog-card {
    height: 350px;
    border-radius: 30px;
  }

  .blog-content {
    padding: 100px 25px 25px 25px;
  }

  .blog-title {
    font-size: 1.5rem;
  }

  .founding-members .wrapper {
    height: 350px;
  }

  .founding-members .inner {
    --w: 160px;
    --h: 240px;
  }

  .join-section {
    padding: 40px 5%;
  }

  .benefit-item {
    padding: 12px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-brand {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

/* Add mobile menu styles */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: #fff;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 99;
}

.mobile-menu a {
  display: block;
  padding: 15px;
  text-decoration: none;
  color: #000;
  font-weight: 600;
  border-bottom: 1px solid #eee;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

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

/* Performance Optimizations */
.blog-card,
.feature-item,
.stat-box {
  will-change: transform;
}

/* Improved Animations */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Enhanced Touch Interactions */
@media (hover: none) {

  .blog-card:hover,
  .feature-item:hover,
  .stat-box:hover {
    transform: none;
  }

  .btn-primary:hover {
    transform: none;
  }
}

/* Parallax and Advanced Animation Effects */
.parallax-section {
  position: relative;
  transform-style: preserve-3d;
  transform: translateZ(0);
  backface-visibility: hidden;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-position: center;
  background-size: cover;
  transform: translateZ(-1px) scale(2);
  z-index: -1;
}

/* Enhanced Micro-interactions */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.btn-primary:active {
  transform: scale(0.95);
}

/* Magnetic Button Effect */
.magnetic-wrap {
  display: inline-block;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.magnetic-area {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

/* Statistics Counter Animation */
.stat-value {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-value.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating Elements Animation */
.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Gradient Text Animation */
.animated-gradient-text {
  background: linear-gradient(to right,
      #000,
      #333,
      #666,
      #333,
      #000);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient 8s linear infinite;
}

@keyframes gradient {
  to {
    background-position: 200% center;
  }
}

/* Ripple Effect */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform .5s, opacity 1s;
}

.ripple:active::after {
  transform: scale(0, 0);
  opacity: .3;
  transition: 0s;
}

/* Loading Animation */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader {
  width: 80px;
  height: 80px;
  position: relative;
}

.loader:before,
.loader:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #fff;
}

.loader:before {
  animation: spin 1.5s linear infinite;
}

.loader:after {
  border-top-color: #666;
  opacity: 0.4;
}

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

  100% {
    transform: rotate(360deg);
  }
}

.loader-wrapper.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

.scroll-progress-bar {
  height: 100%;
  background: #000;
  width: 0%;
  transition: width 0.1s ease;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.3s ease;
  z-index: 99;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #333;
  transform: translateY(-5px);
}

/* Auth Forms */
.auth-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.auth-form {
  background: white;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.auth-form h2 {
  margin-bottom: 20px;
  color: #000;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  color: #333;
  background: #fff;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.form-group input::placeholder {
  color: #999;
}

.auth-form button {
  width: 100%;
  padding: 12px;
  background: #000;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.auth-form button:hover {
  background: #333;
  transform: translateY(-2px);
}

.auth-form button:active {
  transform: translateY(0);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  min-width: 200px;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toast.success {
  background: rgba(46, 125, 50, 0.95);
  border-left: 4px solid #2E7D32;
}

.toast.error {
  background: rgba(211, 47, 47, 0.95);
  border-left: 4px solid #D32F2F;
}

.toast.info {
  background: rgba(2, 136, 209, 0.95);
  border-left: 4px solid #0288D1;
}

.toast.warning {
  background: rgba(237, 108, 2, 0.95);
  border-left: 4px solid #ED6C02;
}

@media (max-width: 768px) {
  .toast-container {
    top: auto;
    bottom: 20px;
    left: 20px;
    right: 20px;
  }

  .toast {
    width: 100%;
    max-width: none;
  }
}

.success-message {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeIn 0.5s ease;
}

.success-message h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.success-message p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Profile Section Styles */
.profile-section {
  padding: 100px 10%;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  min-height: 100vh;
}

.profile-header {
  text-align: center;
  margin-bottom: 50px;
}

.profile-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #000;
}

.profile-header p {
  font-size: 1.1rem;
  color: #666;
}

.profile-content {
  max-width: 800px;
  margin: 0 auto;
}

.profile-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.profile-info h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #000;
}

.profile-email {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
}

.profile-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-item .label {
  font-size: 0.9rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.detail-item .value {
  font-size: 1.1rem;
  color: #000;
  font-weight: 600;
}

.profile-message {
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.profile-message h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #000;
}

.profile-message p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .profile-section {
    padding: 60px 5%;
  }

  .profile-details {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .profile-card {
    padding: 30px;
  }
}

/* Add these styles to your existing CSS */

/* Search Container */
.search-container {
  display: flex;
  gap: 10px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  max-width: 800px;
}

.search-container input,
.search-container select {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  flex: 1;
}

/* Create Post Form */
.create-post-form {
  background: white;
  border-radius: 10px;
  padding: 20px;
  margin: 20px auto;
  max-width: 800px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.create-post-form textarea {
  width: 100%;
  min-height: 100px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 10px;
  resize: vertical;
}

.post-options {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.image-upload-label {
  padding: 8px 15px;
  background: #f0f0f0;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.image-preview {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.preview-image {
  position: relative;
  width: 100px;
  height: 100px;
}

.preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.preview-image button {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ff4444;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Posts Container */
.posts-container {
  max-width: 800px;
  margin: 20px auto;
}

.post-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.post-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.post-info h4 {
  margin: 0;
}

.post-info span {
  color: #666;
  font-size: 0.9em;
}

.post-content {
  margin-bottom: 15px;
}

.post-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 5px;
  margin-top: 10px;
}

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.category {
  background: #f0f0f0;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.9em;
}

.tags {
  display: flex;
  gap: 5px;
}

.tag {
  background: #e8f0fe;
  color: #1a73e8;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.8em;
}

.post-actions {
  display: flex;
  gap: 10px;
}

.like-btn,
.comment-btn {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.like-btn.active {
  color: #ff4444;
}

/* Comments Section */
.comments-section {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.comment {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.comment-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-content {
  flex: 1;
}

.comment-content h5 {
  margin: 0;
  font-size: 0.9em;
}

.comment-content p {
  margin: 5px 0;
}

.comment-content span {
  color: #666;
  font-size: 0.8em;
}

.add-comment {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.add-comment input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 20px;
}

/* Notifications Panel */
.notifications-panel {
  position: fixed;
  top: 70px;
  right: 20px;
  width: 300px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.notifications-header {
  padding: 15px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notifications-header h3 {
  margin: 0;
}

.notifications-list {
  max-height: 400px;
  overflow-y: auto;
}

.notification-item {
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item p {
  margin: 0;
}

.notification-item span {
  color: #666;
  font-size: 0.8em;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 20px;
  background: #333;
  color: white;
  border-radius: 5px;
  animation: slideIn 0.3s ease;
  z-index: 1000;
}

.toast.error {
  background: #ff4444;
}

.toast.success {
  background: #00C851;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 20px;
}

.pagination button {
  padding: 5px 10px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 5px;
  cursor: pointer;
}

.pagination button.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {

  .search-container,
  .create-post-form,
  .posts-container {
    margin: 10px;
  }

  .post-options {
    flex-direction: column;
  }

  .notifications-panel {
    width: calc(100% - 40px);
    top: 60px;
  }
}