/* 🌑 Global Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0d1117;
  color: #f0f6fc;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5 {
  color: #f0f6fc;
}

/* 🔗 Links */
a {
  color: #00bcd4;
  text-decoration: none;
}
a:hover {
  color: #00e6ff;
  text-decoration: underline;
}

/* 🧭 Navbar */
.navbar {
  background-color: #161b22;
  padding: 15px 20px;
  border-bottom: 1px solid #30363d;
}
.navbar-nav {
  gap: 20px;
}
.nav-link {
  color: #c9d1d9 !important;
  font-weight: 500;
}
.navbar-brand img {
  height: 40px;
}

/* 🚀 Hero Section */
.hero-section {
  height: 100vh;
  background-color: #0d1117;
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  animation: heroGradientShift 7s infinite ease-in-out;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* 👑 Hero Text */
.hero-section h1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 20px;
  animation: breathingText 4s infinite ease-in-out;
}

.hero-section p {
  font-size: 1.6rem;
  margin-bottom: 35px;
  color: #bbbbbb;
}

/* 🔘 CTA Button */
.btn-primary {
  background-color: #00bcd4;
  border-color: #00bcd4;
  color: white;
  font-weight: bold;
  padding: 14px 30px;
  font-size: 1.2rem;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
}
.btn-primary:hover {
  background-color: #0097a7;
  border-color: #0097a7;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 188, 212, 0.3);
}

/* 🌠 Animations */
@keyframes heroGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes breathingText {
  0% {
    text-shadow: 0 0 8px rgba(0, 188, 212, 0.5);
  }
  50% {
    text-shadow: 0 0 16px rgba(0, 188, 212, 0.9);
  }
  100% {
    text-shadow: 0 0 8px rgba(0, 188, 212, 0.5);
  }
}

/* 🎯 Why Velrin */
.why-velrin {
  background-color: #161b22;
}
.feature-box {
  background-color: #0d1117;
  border: 1px solid #30363d;
  border-radius: 8px;
  color: #c9d1d9;
  transition: transform 0.3s ease;
}
.feature-box:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 14px rgba(0, 188, 212, 0.15);
}

/* 🧊 Cards */
.card {
  background-color: #161b22;
  border: 1px solid #30363d;
  border-radius: 10px;
  color: #f0f6fc;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 188, 212, 0.1);
}

/* 🦶 Footer */
.footer {
  background-color: #161b22;
  color: #8b949e;
  text-align: center;
  padding: 20px 10px;
  font-size: 0.9rem;
  margin-top: auto;
  border-top: 1px solid #30363d;
}

/* 📱 Navbar Toggle */
.navbar-toggler {
  border-color: #444;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,188,212,0.7)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* 🎯 Section Spacing */
.section-gap {
  margin-top: 40px;
  margin-bottom: 40px;
}

/* 🖤 Hero Content */
.hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: #cccccc;
}

/* 🤍 Outline Button Style for Hero */
.btn-outline-light {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
  padding: 12px 26px;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
}

.btn-outline-light:hover {
  background-color: #ffffff;
  color: #0d1117;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.15);
}

/* ✅ NEW: Section Narrower Container */
.section-narrow .container {
  max-width: 960px;
}
/* ✨ Scroll Reveal Animation */
.fade-in-section {
  opacity: 0;
  transform: translateY(80px);  /* more motion */
  transition: opacity 1.4s ease-out, transform 1.4s ease-out;
  will-change: opacity, transform;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}

.container {
  max-width: 1080px; /* previously 1200px (Bootstrap default) */
  margin: 0 auto;
  padding: 40px 20px;
}
.fade-in-item {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.6s ease-out, transform 1.6s ease-out;
  will-change: opacity, transform;
}

.fade-in-item.visible {
  opacity: 1;
  transform: none;
}
/* 🎯 Accent Icons */
.feature-box i,
.card i {
  color: #00bcd4;
}
/* 💠 Accent Utility */
.text-accent {
  color: #00bcd4;
}
.border-accent {
  border: 2px solid #00bcd4 !important;
}

/* 💳 Pricing Section */
.pricing-section .card {
  background-color: #161b22;
  border: 1px solid #30363d;
  border-radius: 10px;
  color: #f0f6fc;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.pricing-section .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 188, 212, 0.1);
}
/* 🎯 Shorter Hero Section for Non-Homepage Pages */
.hero-short {
  height: 75vh !important;
}
/* 📦 Contact Box Styling */
.contact-box {
  background-color: #0d1117;
  padding: 30px 20px;
  margin-bottom: 30px;
  border: 1px solid #30363d;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 188, 212, 0.15);
}

.contact-box h4 {
  margin-top: 15px;
  font-size: 1.2rem;
  color: #f0f6fc;
}

.contact-box p,
.contact-box a {
  color: #c9d1d9;
  font-size: 0.95rem;
}

/* 📬 Contact Form Fields */
.contact-form label {
  font-weight: 500;
  margin-bottom: 5px;
  color: #f0f6fc;
}

.contact-form input,
.contact-form textarea {
  background-color: #161b22;
  border: 1px solid #30363d;
  color: #f0f6fc;
  padding: 12px;
  border-radius: 6px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #00bcd4;
  box-shadow: 0 0 0 2px rgba(0, 188, 212, 0.3);
  background-color: #0d1117;
}

/* ✅ Alert */
.alert {
  background-color: #161b22;
  border-left: 4px solid #00bcd4;
  padding: 10px 15px;
  margin-bottom: 15px;
  color: #f0f6fc;
}
.page-hero-section {
  padding: 40px 20px 20px 20px; /* Top tighter, bottom looser */
}

.contact-info-section {
  padding: 30px 20px;
  margin-top: 20px;
}

.contact-form-section {
  padding: 30px 20px 60px 20px;
  margin-top: 20px;
}

.contact-info-section h2,
.contact-form-section h2 {
  margin-bottom: 25px;
}

.contact-form {
  background-color: #0d1117;
  border: 1px solid #30363d;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.05);
}
