/* 🌐 Global Styling */
body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #f9fafb, #f3f4f6); /* subtle gray gradient */
  color: #1f2937; /* Tailwind gray-800 */
  margin: 0;
  padding: 0;
  line-height: 1.7;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}


:root {
  --primary-gradient: linear-gradient(90deg, #4e54c8, #8f94fb);
  --primary-color: #4e54c8;
  --secondary-color: #8f94fb;
  --text-color: #ffffff;
  --hover-color: #ffd700;
}



/* Typography */
h1, h2, h3 {
  color: #111827; /* dark gray */
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }

/* ✨ Card Styling */
.card {
  background: rgba(255, 255, 255, 0.96); /* translucent for glass feel */
  border-radius: 18px;
  border: 1px solid rgba(229, 231, 235, 0.5); /* light border */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

/* 🌐 Navbar */
.navbar {
  background: rgba(17, 24, 39, 0.82); /* dark glass */
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  padding: 0.9rem 2rem;
  transition: all 0.3s ease;
  z-index: 999;
}
.navbar.scrolled {
  background: rgba(17, 24, 39, 0.95);
  padding: 0.6rem 2rem; /* shrink on scroll */
}

/* Brand Logo */
.navbar .navbar-brand {
  color: #facc15 !important; /* Yellow */
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.6px;
  transition: all 0.3s ease;
}
.navbar .navbar-brand:hover {
  color: #fde047 !important;
  transform: scale(1.08);
}

/* Nav Links */
.navbar .nav-link {
  color: #e5e7eb !important;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}

/* Underline hover animation */
.navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: #facc15;
  transition: width 0.35s ease;
}
.navbar .nav-link:hover::after {
  width: 60%;
}
.navbar .nav-link:hover {
  color: #fff !important;
}

/* Active Link */
.active-link {
  background: #facc15 !important;
  color: #111 !important;
  font-weight: 600 !important;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(250, 204, 21, 0.45);
}

/* Mobile Navbar */
.navbar-toggler {
  border: none;
  outline: none;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler-icon {
  filter: invert(1); /* white icon */
}

/* 🎨 Custom Buttons */
.btn-custom {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
  padding: 0.65rem 1.6rem;
  transition: all 0.3s ease;
  border: none;
}
.btn-custom:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.35);
}

/* 🦶 Footer */
footer {
  background: #111827;
  color: #e5e7eb;
  padding: 2rem 1rem;
  text-align: center;
  margin-top: 3rem;
  font-size: 0.95rem;
  border-top: 1px solid #374151;
}
footer a {
  color: #facc15;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
footer a:hover {
  color: #fde047;
}


/* ✨ Smooth Sections */
section {
  padding: 4rem 0;
}
section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

/* 🌍 Responsive */
@media (max-width: 992px) {
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.9rem; }
  h3 { font-size: 1.3rem; }
  .navbar {
    padding: 0.8rem 1rem;
  }
}
