/* ==== BASE ==== */
:root {
  --color-primary: #E60012;
  --color-primary-dark: #c0000e;
  --color-bg-dark: #0f172a;
  --color-bg-gradient: linear-gradient(90deg, #0f172a, #1e293b);
  --font-main: 'Inter', 'Montserrat', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: #1e293b;
  background-color: #f9fafb;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==== NAVBAR ==== */
.navbar {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.8rem 0;
  transition: all 0.3s ease;
}
.navbar .nav-link {
  color: #e2e8f0 !important;
  margin-left: 20px;
  position: relative;
}
.navbar .nav-link::after {
  content: '';
  display: block;
  height: 2px;
  width: 0%;
  background: var(--color-primary);
  transition: 0.3s ease;
  margin-top: 4px;
}
.navbar .nav-link:hover::after {
  width: 100%;
}
.navbar .nav-link.active {
  color: #fff !important;
}
.navbar-brand img {
  transition: transform 0.3s ease;
}
.navbar-brand img:hover {
  transform: scale(1.1);
}

/* ==== HERO ==== */
.hero {
  background: radial-gradient(circle at center, #0f172a 0%, #000 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.1), rgba(0,0,0,0.8));
}
.hero h1 {
  letter-spacing: -0.5px;
  font-size: clamp(2rem, 5vw, 3rem);
}
.hero p {
  max-width: 700px;
  margin: 0 auto 30px auto;
  color: #cbd5e1;
}
.hero img {
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

/* ==== BUTTONS ==== */
.btn-gradient {
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  border: none;
  color: #fff;
  padding: 12px 36px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}
.btn-gradient:hover {
  background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(230, 0, 18, 0.4);
}

/* ==== SECTIONS ==== */
.section-padding {
  padding: 100px 0;
}
.bg-gradient {
  background: var(--color-bg-gradient);
}
.bg-dark {
  background-color: var(--color-bg-dark) !important;
}

/* ==== CARDS ==== */
.card {
  border-radius: 16px;
  border: none;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}
.icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.icon-wrapper i {
  transition: transform 0.3s ease;
}
.card:hover .icon-wrapper i {
  transform: scale(1.1);
}

/* ==== TEXT + ANIMATIONS ==== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in {
  animation: fadeIn 1.8s ease forwards;
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* ==== FOOTER ==== */
footer {
  background: var(--color-bg-dark);
  color: #cbd5e1;
  font-size: 0.95rem;
}
footer p {
  margin: 0;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 992px) {
  .navbar-nav {
    background: rgba(15, 23, 42, 0.95);
    padding: 15px;
    border-radius: 12px;
  }
  .navbar-nav .nav-link {
    margin: 10px 0;
  }
}
