/* 🌐 Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top left, #0b0f2f, #1b1f4b, #10121c);
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 🌈 Navbar - Neon Gradient with Animated Hover */
.navbar {
  background: linear-gradient(90deg, #5c00ff, #00e0ff);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
/* ===== LOGO CIRCLE STYLING ===== */
.logo-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at top left, #00d4ff, #007bff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
}

.logo-img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: 50%;
}

/* Brand text styling */
.brand-text {
  font-weight: 700;
  font-size: 1.3rem;
  background: linear-gradient(45deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

/* 🔵 Logo Animation */
@keyframes glow {
  from { filter: drop-shadow(0 0 4px #00e0ff); }
  to { filter: drop-shadow(0 0 15px #00e0ff); }
}

.navbar-nav .nav-link {
  color: #fff !important;
  margin-left: 1rem;
  font-weight: 500;
  position: relative;
  transition: 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: #00e0ff;
  transition: 0.3s;
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

.navbar-nav .nav-link:hover {
  color: #00e0ff !important;
}

/* 🧭 Body padding to avoid navbar overlap */
body {
  padding-top: 80px;
}

/* 💫 Hero Section */
.hero {
  min-height: 90vh;
  background: url('ai-bg.jpg') no-repeat center center/cover;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.65);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.text-glow {
  text-shadow: 0 0 20px #00e0ff;
}

/* 🟣 Buttons */
.btn-glow {
  background: linear-gradient(90deg, #00e0ff, #00ffa3);
  color: #000;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-glow:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px #00e0ff;
}

/* 🖼️ Image Gallery Cards */
.img-card {
  width: 100%;
  padding-top: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.img-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #00ffff;
}

/* ⚙️ Features */
.features {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 50px 20px;
}

.feature-item i {
  font-size: 45px;
  margin-bottom: 15px;
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff;
}

/* 🪟 Modal */
.modal-img {
  border-radius: 15px;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
}

/* 🔝 Back To Top Button */
#backToTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #00e0ff;
  border: none;
  color: #000;
  font-size: 20px;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: none;
  cursor: pointer;
  transition: 0.3s;
}

#backToTop:hover {
  transform: scale(1.15);
  background: #00ffa3;
}

/* ⚫ Footer (fixed bottom center) */
.footer {
  text-align: center;
  padding: 12px 0;
  background: rgba(0, 0, 0, 0.9);
  color: #ccc;
  font-size: 0.9rem;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
}

/* ✨ Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- LOGIN PAGE ---------- */
.login-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 0;
}

.login-card {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 40px 30px;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.login-card h2 {
  font-weight: 700;
  color: #00e0ff;
  margin-bottom: 25px;
}

.btn-primary {
  background: linear-gradient(90deg, #00e0ff, #00ffa3);
  border: none;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #00ffa3, #00e0ff);
}

/* ---------- REGISTER PAGE ---------- */
.register-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 0 70px;
}

.register-card {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 45px 35px;
  width: 100%;
  max-width: 460px;
  backdrop-filter: blur(12px);
  text-align: center;
}

.register-card h2 {
  font-weight: 700;
  color: #00ffa3;
  margin-bottom: 25px;
}

.btn-success {
  background: linear-gradient(90deg, #00ffa3, #00e0ff);
  border: none;
  transition: 0.3s;
}

.btn-success:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #00e0ff, #00ffa3);
}
