/* ========================================
   FROST GREEN — MODERN ANIMATED UI
   Snow White + Emerald Green
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #F8FFFB;
  color: #1F2937;
  line-height: 1.7;
  overflow-x: hidden;
}

/* === NAVBAR === */
.navbar {
  background: rgba(16, 185, 129, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 1rem 0;
  transition: all 0.3s ease;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: white !important;
}

.navbar-brand i {
  color: #ECFDF5;
}

.nav-link {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  background: rgba(255,255,255,0.2);
  color: white !important;
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link.active::after {
  width: 60%;
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="3" fill="rgba(255,255,255,0.15)"/></svg>') repeat;
  animation: float 20s infinite linear;
}

@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-100px); }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 0 4px 10px rgba(0,0,0,0.2);
  animation: fadeUp 1s ease-out;
}

.hero .lead {
  font-size: 1.3rem;
  opacity: 0.95;
  animation: fadeUp 1s ease-out 0.2s both;
}

.btn {
  border-radius: 16px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-light {
  background: white;
  color: #10B981;
  box-shadow: 0 8px 25px rgba(16,185,129,0.3);
}

.btn-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(16,185,129,0.4);
}

.btn-outline-light {
  border: 2px solid white;
  color: white;
}

.btn-outline-light:hover {
  background: white;
  color: #10B981;
  transform: translateY(-3px);
}

/* === GLASS CARDS === */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(16,185,129,0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(16,185,129,0.05), rgba(52,211,153,0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(16,185,129,0.2);
}

.glass-card:hover::before {
  opacity: 1;
}

/* === ICON BOX === */
.icon-box {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #34D399);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 25px rgba(16,185,129,0.3);
  transition: all 0.3s ease;
}

.icon-box i {
  color: white;
  font-size: 1.8rem;
}

.glass-card:hover .icon-box {
  transform: scale(1.1) rotate(5deg);
}

/* === FORM === */
.form-control, .form-select {
  border: 1px solid #D1FAE5;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  background: #F0FDF4;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: #10B981;
  box-shadow: 0 0 0 0.2rem rgba(16,185,129,0.2);
  background: white;
}

.btn-success {
  background: linear-gradient(135deg, #10B981, #34D399);
  border: none;
  border-radius: 16px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  color: white;
  box-shadow: 0 8px 25px rgba(16,185,129,0.3);
}

.btn-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(16,185,129,0.4);
}

/* === ALERTS === */
.alert {
  border: none;
  border-radius: 16px;
  padding: 1rem 1.5rem;
  font-weight: 500;
  animation: slideIn 0.5s ease-out;
}

.alert-success {
  background: #D1FAE5;
  color: #065F46;
}

.alert-warning {
  background: #FEF3C7;
  color: #92400E;
}

@keyframes slideIn {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.8s ease-out both;
}

/* === FOOTER === */
footer {
  background: #065F46;
  color: #D1FAE5;
  padding: 3rem 0;
  margin-top: 5rem;
}

footer a {
  color: #A7F3D0;
  text-decoration: none;
}

footer a:hover {
  color: white;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .glass-card { padding: 1.5rem; }
  .icon-box { width: 70px; height: 70px; }
}