/* ===============================
   Global Styles
=============================== */
body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #ffffff;
  margin: 0;
  padding: 20px;
}

/* ===============================
   Header - Website Name
=============================== */
.header-container {
  position: relative;
  margin-bottom: 80px; /* Space for Buttons */
}

/* Container for the header logo */
.header-logo {
  font-size: 60px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

/* Neon effect for 'Love' (Green) */
.neon-text {
  color: #00ff00; /* Green Neon */
  text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00;
  animation: neonGlowGreen 1.5s infinite alternate;
}

/* Neon effect for 'Sphere' (Pink) */
.neon-pink {
  color: #ff00ff; /* Pink Neon */
  text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ff00ff;
  animation: neonGlowPink 1.5s infinite alternate;
}

/* Green Glow Animation */
@keyframes neonGlowGreen {
  from {
    text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00;
  }
  to {
    text-shadow: 0 0 15px #00cc00, 0 0 30px #00cc00, 0 0 45px #00cc00;
  }
}

/* Pink Glow Animation */
@keyframes neonGlowPink {
  from {
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ff00ff;
  }
  to {
    text-shadow: 0 0 15px #cc00cc, 0 0 30px #cc00cc, 0 0 45px #cc00cc;
  }
}


/* ===============================
   Button Styles - Neon Effect
=============================== */
.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

button {
  background-color: transparent;
  border: 2px solid #00e6e6;
  color: #00e6e6;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.3s;
  box-shadow: 0 0 20px rgba(0, 230, 230, 0.5);
}

/* Hover Effects */
button:hover {
  background-color: #00e6e6;
  color: #0f2027;
  box-shadow: 0 0 30px rgba(0, 230, 230, 0.8);
}


/* ===============================
   User Card Styles
=============================== */
.user-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: #1e1e1e;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  width: 80%;
  max-width: 900px;
  color: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.verified-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: gold;
  color: black;
  font-weight: bold;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
  z-index: 10;
}


@keyframes pulse {
  0% { box-shadow: 0 0 5px gold; }
  50% { box-shadow: 0 0 15px gold; }
  100% { box-shadow: 0 0 5px gold; }
}

.verified-badge {
  animation: pulse 2s infinite;
}

.user-image-container {
  position: relative;
  flex: 0 0 180px; /* Fixed image size */
  margin-right: 20px;
}

.user-image-container img {
  width: 180px;
  height: 180px;
  border-radius: 15px;
  object-fit: cover;
}

/* Verified Badge on Top Right Corner of User Card */
/* Ensure Verified Badge is Positioned at the Top Right */
.user-image-container {
  position: relative;
}

.user-card {
  position: relative; /* Ensures absolute positioning works within this container */
  overflow: hidden;
}
.user-info {
  flex: 1;
}

.user-info p {
  margin: 8px 0;
}

.user-actions {
  margin-top: 10px;
}

.action-btn {
  background-color: #ff4d6d;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-right: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.action-btn:hover {
  background-color: #e6004c;
}

.user-card:hover {
  transform: translateY(-10px);
}

/* User Card Image */
.user-card img {
  width: 100%;
  height: 250px;
  border-radius: 20px;
  object-fit: cover;
}

/* User Info */
.user-info {
  margin-top: 10px;
}

.user-name {
  font-size: 24px;
  font-weight: bold;
  color: #00e6e6;
}

.user-details {
  margin-top: 15px;
  font-size: 14px;
  color: #cccccc;
}

/* User Card Buttons */
.user-card .card-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.user-card button {
  background-color: transparent;
  border: 2px solid #00e6e6;
  color: #00e6e6;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
}

.user-card button:hover {
  background-color: #00e6e6;
  color: #1e2a38;
  box-shadow: 0 0 20px rgba(0, 230, 230, 0.7);
}
/* Center the User Cards */
.user-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center horizontally */
  justify-content: center; /* Center vertically if needed */
}
/* Hover Animation and Neon Effect */
.user-card {
  background-color: rgba(20, 20, 20, 0.9);
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
  padding: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.9), 0 0 40px rgba(255, 105, 180, 0.9);
}

/* Text Color for Categories and Information */
.user-info p strong {
  color: #00ff00; /* Neon Green for Categories */
}

.user-info p {
  color: #ff69b4; /* Pink for User Information */
}
.user-actions {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 10px;
}
.banners-container {
  position: relative;
  width: 100%;
}

.special-offer {
  width: 150px;
  height: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.special-offer-left {
  left: 0;
}

.special-offer-right {
  right: 0;
}
/* Neon Blinking Effect */
/* Neon Blinking and Glow Effect */
@keyframes neon-blink {
  0% { 
    filter: brightness(1) drop-shadow(0 0 30px rgba(255, 0, 150, 0.8)); 
  }
  50% { 
    filter: brightness(1.5) drop-shadow(0 0 30px rgba(255, 0, 150, 1)); 
  }
  100% { 
    filter: brightness(1) drop-shadow(0 0 30px rgba(255, 0, 150, 0.8)); 
  }
}

.special-offer {
  animation: neon-blink 1.0s infinite;
}

/* Video Background */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay for Better Visibility (Optional) */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3); /* Transparent black overlay */
  z-index: 0;
}
/* ===============================
   Footer Section
=============================== */
footer {
  background-color: #1e2a38;
  color: white;
  padding: 20px;
  text-align: center;
}

footer a {
  margin: 0 10px;
  color: #00e6e6;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  color: #ff1493;
}
.neon-button {
  display: inline-block;
  padding: 10px 20px;
  margin: 10px;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  border-radius: 30px;
  background-color: #000;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  animation: neon-glow 1.5s infinite alternate;
  cursor: pointer;
}

@keyframes neon-glow {
  0% {
    box-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00;
    border-color: #00ff00;
  }
  50% {
    box-shadow: 0 0 15px #ff007f, 0 0 30px #ff007f, 0 0 45px #ff007f;
    border-color: #ff007f;
  }
  100% {
    box-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00;
    border-color: #00ff00;
  }
}

.neon-button:hover {
  background-color: #fff;
  color: #000;
  transform: scale(1.05);
}
footer a {
  position: relative; /* Ensure it is properly placed */
  z-index: 10; /* Keep it above other elements */
  pointer-events: auto; /* Ensure clicks work */
}
/* More Button Neon Effect */
.more-link {
  display: inline-block;
  padding: 15px 30px;
  font-size: 16px;
  color: #fff;
  background-color: transparent;
  border: 2px solid #00ff00;
  border-radius: 5px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 2px;
  animation: neonGlow 1.5s infinite alternate;
}

/* Neon Glow Animation */
@keyframes neonGlow {
  from {
    box-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00;
    text-shadow: 0 0 10px #00ff00;
  }
  to {
    box-shadow: 0 0 20px #00ff00, 0 0 30px #00ff00;
    text-shadow: 0 0 20px #00ff00;
  }
}
.more-link {
  display: inline-block; /* Ensure proper box model */
  cursor: pointer;       /* Show pointer on hover */
  position: relative;    /* Ensure it is above other elements */
  z-index: 1;            /* Ensure it's above other content */
}

/* Hover Effect */
.more-link:hover {
  background-color: #00ff00;
  color: #000;
  box-shadow: 0 0 30px #00ff00, 0 0 60px #00ff00;
}
.seo-buttons {
  text-align: center; 
  margin-top: 30px;
}

.seo-buttons button {
  background-color: black;
  color: white;
  border: 2px solid #00ff00; /* Green Neon Border */
  padding: 12px 24px;
  margin: 10px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 0 15px #00ff00; /* Initial Neon Glow */
  transition: all 0.3s ease;
}

.seo-buttons button:hover {
  background-color: #00ff00;
  color: black;
  box-shadow: 0 0 30px #00ff00; /* Intense Glow on Hover */
  transform: scale(1.05); /* Slight Zoom Effect */
}


/* For Gallery Page */

/* User Card Hover Effect */
.user-card {
  border: 2px solid #ddd;
  padding: 15px;
  margin: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Pagination Style */
.pagination button {
  padding: 10px;
  margin: 10px;
  cursor: pointer;
}

.pagination button:disabled {
  background-color: #ccc;
}

.pagination button:hover:not(:disabled) {
  background-color: #4CAF50;
  color: white;
}

/* Popup Box */
.popup-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup-box.hidden {
  display: none;
}

.popup-content {
  background-color: #111;
  border: 2px solid #0f0;
  color: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 0 15px #0f0;
}

.popup-content button {
  margin-top: 20px;
}
/* Fix pagination button click issue */
#prevPage,
#nextPage {
  position: relative;
  z-index: 9999;
  pointer-events: auto;
}
.glow-banner {
  text-align: center;
  padding: 12px;
  font-size: 1.1rem;
  font-weight: bold;
  background: linear-gradient(to right, #ff00cc, #3333ff);
  color: #ffeb3b; /* Bright Yellow Text */
  text-shadow: 0 0 5px #ffeb3b, 0 0 10px #ffeb3b, 0 0 20px #fff;
  animation: banner-blink 1.5s infinite;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

@keyframes banner-blink {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 5px #ffeb3b, 0 0 15px #0ff, 0 0 30px #f0f;
  }
  50% {
    opacity: 0.8;
    text-shadow: 0 0 10px #f0f, 0 0 25px #0ff, 0 0 40px #fff;
  }
}
.info-boxes {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1100px;
  margin: auto;
}

.neon-box {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid #ff00ff;
  box-shadow: 0 0 20px #0ff, 0 0 40px #ff00ff;
  padding: 20px 30px;
  border-radius: 15px;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
}

.neon-box h2 {
  color: #00ffff;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px #00ffff;
}

.neon-box .highlight {
  color: #ff00ff;
  font-weight: bold;
  text-shadow: 0 0 8px #ff00ff;
}

.admin-box {
  border-color: #00ff88;
  box-shadow: 0 0 20px #00ff88, 0 0 40px #ff00ff;
}
/* 🌐 Footer and SEO Links Styling */
footer a,
.seo-links a {
  color: #00bfff;
  font-weight: 500;
  text-decoration: underline;
  transition: all 0.3s ease-in-out;
}

footer a:hover,
.seo-links a:hover {
  color: #ffffff;
  text-decoration: none;
}

/* 📰 Blog "Read More" Link Styling */

.blog-card a {
  color: #ff4081;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  margin-top: 10px;
}

.blog-card a:hover {
  color: #fff;
  background-color: #ff4081;
  padding: 3px 8px;
  border-radius: 4px;
  text-decoration: none;
}

  .blog-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  .blog-card {
    width: 300px;
    background: #111;
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 15px;
  }
  .blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
  }
  .blog-card h3 {
    color: #fff;
    margin: 10px 0;
  }
  .blog-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: #f0f;
    color: #000;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
  }

.blog-card a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: #e100ff; /* better neon pink */
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 0 10px #e100ff;
  transition: background 0.3s ease;
}
.blog-card a:hover {
  background: #ff00aa;
  box-shadow: 0 0 15px #ff00aa;
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top; /* This line is new */
  border-radius: 8px;
}

.latest-blogs {
  padding: 40px 20px;
  background: #111;
  color: #fff;
  text-align: center;
}

.blog-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.blog-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  width: 220px;
  padding: 15px;
  box-shadow: 0 0 10px #000;
  transition: transform 0.3s;
}

.blog-card:hover {
  transform: scale(1.03);
}

.blog-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

.blog-card h3 {
  font-size: 16px;
  color: #fff;
  margin: 10px 0;
  min-height: 60px;
}

.blog-card .neon-button {
  font-size: 14px;
  padding: 6px 14px;
  background: #e91e63;
  border-radius: 5px;
  display: inline-block;
  color: #fff;
  text-decoration: none;
}
/* 📱 Responsive Fix for Mobile View */
@media screen and (max-width: 768px) {
  body {
    padding: 10px;
  }

  .user-card,
  .blog-card,
  .user-card-layout,
  .card-buttons {
    flex-direction: column !important;
    width: 100% !important;
    align-items: center !important;
  }

  .user-img,
  .user-image-container img {
    width: 100% !important;
    height: auto !important;
  }

  .nav,
  nav,
  .menu,
  .more-button {
    flex-direction: column !important;
    text-align: center;
  }

  .blog-section {
    display: flex;
    flex-direction: column;
  }

  .blog-card {
    width: 100%;
    margin-bottom: 15px;
  }

  .hero h1,
  .hero p,
  .hero a {
    text-align: center;
  }

  .neon-button {
    width: 100%;
    margin: 5px 0;
  }

  .filters,
  .sort-controls {
    flex-direction: column;
    align-items: stretch;
  }

  #userCards {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* 👇 Home Page Specific Responsive Fixes */
@media screen and (max-width: 768px) {
  .course-card, .blog-card, .blog-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .blog-card img,
  .course-card img {
    width: 100% !important;
    height: auto !important;
  }

  .hero-content h1, .hero-content p, .hero-content a {
    text-align: center !important;
  }
}

/* 🛠️ Force desktop-like scaling on mobile for index.html */
body.light-mode, body.dark-mode {
  zoom: 0.95;
  transform: scale(1);
  transform-origin: top center;
}

@media only screen and (max-width: 768px) {
  .header-container, .nav-buttons, .glow-banner,
  .video-background, .user-container, .pagination,
  .info-boxes, .footer, .latest-blogs {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }

  .blog-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
  }

  .blog-card {
    min-width: 80%;
    scroll-snap-align: start;
  }

  .more-button {
    text-align: center;
    margin-top: 10px;
  }

  .video-background video {
    width: 100vw;
    height: auto;
    object-fit: cover;
  }
}

/* 💡 Mobile Layout Fix for Index Page */
@media only screen and (max-width: 768px) {
  body {
    font-size: 16px;
    overflow-x: hidden;
  }

  .header-container, .glow-banner, .info-boxes, .user-container, .footer, .blog-row, .latest-blogs {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }

  .nav-buttons {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .video-background video {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .blog-card {
    min-width: 100%;
    margin-bottom: 20px;
  }

  .banners-container img {
    width: 100px;
    height: auto;
  }

  .more-button {
    text-align: center;
    margin-top: 20px;
  }
}


@media (max-width: 768px) {
  .user-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
  }

  .user-card {
    width: 90%;
    margin-bottom: 20px;
  }

  .header-container,
  .nav-buttons {
    flex-direction: column;
    align-items: center;
  }

  .blog-row {
    flex-direction: column;
  }

  .pagination,
  .more-button {
    flex-direction: column;
    align-items: center;
  }

  .popup-box {
    width: 90%;
    max-width: 400px;
  }
}





