/* ===============================
   🧱 Base Styles & Typography
   =============================== */
body {
  font-family: 'Oswald', 'Segoe UI', sans-serif;
  background: linear-gradient(145deg, #0f172a, #111827);
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: #6366f1;
  color: #fff;
}

a {
  color: #60a5fa;
  transition: color 0.3s ease;
}
a:hover {
  color: #0ef;
  text-decoration: none;
}

section {
  padding: 5rem 0;
}

/* ===============================
   🧊 Glass Effect & Cards
   =============================== */
.glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.shadow-card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}
.shadow-card:hover {
  transform: translateY(-6px);
}

.bg-gradient {
  background: linear-gradient(145deg, #1e293b, #111827);
}

/* ===============================
   🚀 Navbar Styling
   =============================== */
.navbar {
  backdrop-filter: blur(16px);
  transition: all 0.3s ease-in-out;
}
.navbar.scrolled {
  background-color: rgba(15, 23, 42, 0.9) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.nav-link {
  color: #cbd5e1 !important;
  font-weight: 500;
  transition: all 0.3s ease;
}
.nav-link:hover {
  color: #0ef !important;
  transform: translateY(-2px);
}

/* ===============================
   🔘 Buttons
   =============================== */
.btn-primary {
  background-color: #6366f1;
  border: none;
}
.btn-primary:hover {
  background-color: #4f46e5;
}

.btn-outline-light:hover {
  background-color: #fff;
  color: #111 !important;
}

/* ===============================
   📝 Form Inputs
   =============================== */
input[type="email"],
input[type="text"],
input[type="password"],
textarea {
  background-color: #1e293b;
  border: 1px solid #334155;
  color: #f8fafc;
}
input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

/* ===============================
   ⚠️ Alerts
   =============================== */
.alert {
  border-radius: 8px;
}

/* ===============================
   🎯 Hero Section
   =============================== */
.hero {
  padding: 6rem 0;
  text-align: center;
  background: url('../img/hero-bg.png') center/cover no-repeat;
  position: relative;
  z-index: 1;
  color: #fff;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.hero p {
  font-size: 1.25rem;
  color: #cbd5e1;
}
.hero .btn {
  margin-top: 1rem;
}

/* ===============================
   🦶 Footer
   =============================== */
footer {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
footer a:hover {
  color: #0ef !important;
}

/* ===============================
   🖱️ Scrollbar Styling (Optional)
   =============================== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #6366f1;
  border-radius: 4px;
}

/* ===============================
   ⏳ Preloader
   =============================== */
#preloader {
  transition: opacity 0.6s ease;
}
.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* ===============================
   ✨ Glow Text & Section Titles
   =============================== */
.text-glow {
  color: #fff;
  text-shadow: 0 0 3px #7d2ae8, 0 0 16px #0ef;
}
.section-title {
  font-size: 2rem;
  font-weight: 600;
  border-bottom: 2px solid #6366f1;
  display: inline-block;
  padding-bottom: 0.3rem;
  margin-bottom: 2rem;
}

/* ===============================
   📈 Vertical Timeline
   =============================== */
.timeline-vertical {
  position: relative;
  margin: 0 auto;
  padding: 2rem 0;
  max-width: 900px;
}
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 100%;
  background: #6366f1;
  transform: translateX(-50%);
  z-index: 1;
}
.timeline-entry {
  position: relative;
  width: 50%;
  padding: 1rem 2rem;
  margin-bottom: 2rem;
  z-index: 2;
}
.timeline-entry.left {
  left: 0;
  text-align: right;
}
.timeline-entry.right {
  left: 50%;
  text-align: left;
}
.timeline-card {
  position: relative;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.timeline-entry .dot {
  position: absolute;
  top: 15px;
  width: 16px;
  height: 16px;
  background: #0ef;
  border-radius: 50%;
  box-shadow: 0 0 10px #0ef;
}
.timeline-entry.left .dot {
  right: -8px;
}
.timeline-entry.right .dot {
  left: -8px;
}

@media screen and (max-width: 768px) {
  .timeline-entry,
  .timeline-entry.left,
  .timeline-entry.right {
    left: 0 !important;
    width: 100%;
    text-align: left;
    padding-left: 2rem;
  }

  .timeline-line {
    left: 20px;
  }

  .timeline-entry .dot {
    left: -12px;
  }
}

/* ===============================
   👥 Team Member Hover
   =============================== */
.team-member img {
  transition: transform 0.4s ease;
}
.team-member:hover img {
  transform: scale(1.05);
}

/* ===============================
   💫 Scroll-In Animations
   =============================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}
.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-in-out;
}
.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.rotate-on-load {
  animation: spin 3s ease-in-out;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===============================
   🌫️ Glass Overlay for Sections
   =============================== */
.glass-overlay {
  background: url('../images/bg-tech-dark.jpg') center/cover no-repeat;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.glass-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1;
}

/* 🎠 Universal carousel styling */
.carousel-dark-theme {
  background-color: #111;
  border-radius: 20px;
  padding: 2rem;
}

.carousel-dark-theme .carousel-indicators button {
  background-color: #ffffff;
  opacity: 0.5;
}

.carousel-dark-theme .carousel-indicators .active {
  opacity: 1;
}

.carousel-dark-theme .carousel-item img {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.carousel-dark-theme .carousel-control-prev-icon,
.carousel-dark-theme .carousel-control-next-icon {
  filter: invert(1);
}

.iti {
  width: 100%;
}

.iti__country-list {
  background-color: #1f2937;
  color: white;
  border: 1px solid #333;
  z-index: 9999;
}

/* Optional: Smooth transition hover */
#id_payment_method:hover {
  background-color: #1e1e2f;
  border-color: #6366f1;
  transition: all 0.3s ease-in-out;
}

/* Make icons a bit larger in dropdown */
#id_payment_method option {
  font-size: 1.05rem;
}

