:root {
  /* Brand Colours */
  --primary: #fdca21;
  --secondary: hsl(210, 73%, 15%);
  --dark: #29343d;
  --light: #f9f9fb;

  /* Body / UI */
  --body-bg: #f9f9fb;
  --body-color: #29343d;
  --border-color: #e2e8f0;

  /* Links */
  --link-color: #0477bf;
  --link-hover-color: #036aa8; /* manually darkened */
}

.light-bg {
  background: #fff;
}

.text-white {
  color: white;
}

.py-8 {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

/* Base button styles */
.btn {
  border-radius: 0.5rem;
  font-weight: 400;
  font-size: 13px;
  padding: 0.5rem 1.25rem;
  transition: all 0.2s ease-in-out;
}

/* Primary (Yellow Rocket) */
.btn-primary {
  background-color: var(--primary);
  color: #000;
  border: none;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #e6b31c;
  color: #000;
}

/* Secondary (Ocean Blue) */
.btn-secondary {
  background-color: var(--secondary);
  color: #fff;
  border: none;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #036aa8;
  color: #fff;
}

/* Dark (Anchor Blue) */
.btn-dark {
  background-color: var(--dark);
  color: #fff;
  border: none;
}

.btn-dark:hover,
.btn-dark:focus {
  background-color: #000e1a;
  color: #fff;
}

/* Light (Ghost White) */
.btn-light {
  background-color: var(--light);
  color: var(--dark);
  border: 1px solid var(--border-color);
}

.btn-light:hover,
.btn-light:focus {
  background-color: #f0f0f2;
  color: var(--dark);
}


/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--body-bg);
  color: var(--body-color);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.75rem;
}
h3 {
  font-size: 1.5rem;
}

/* Paragraphs */
p {
  margin-bottom: 1rem;
  color: var(--body-color);
}

li {
  list-style: none;
}

/* Links */
a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}
a:hover {
  color: var(--link-hover-color);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Buttons (overrides + transition) */
.btn {
  border-radius: 0.5rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  transition: all 0.2s ease-in-out;
}

/* Forms */
input, textarea, select, button {
  font-family: inherit;
}

/* Containers & Spacing */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 4rem 0;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1.5rem;
}
.mb-4 {
  margin-bottom: 1.5rem;
}
.pt-4 {
  padding-top: 1.5rem;
}
.pb-4 {
  padding-bottom: 1.5rem;
}


/* Top Bar */
.topbar {
  background:#0a2540;
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

/* Navigation */
.nav-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0 0 0;
}

.nav-link.active {
  font-weight: 700;
  border-bottom: 2px solid var(--primary);
}

.nav-link:hover {
  color: var(--primary);
  font-weight: 700;
}

.primary-logo {
  max-height: 80px;
}

.logins {
  display: none;
}

@media (min-width: 768px) {
  .navbar-expand-lg .navbar-nav {
      flex-direction: row;
      gap: 3rem;
  }
  a.nav-link {
    font-size: 15px;
    color: var(--dark);
}
.logins {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
}

/* Slide-out Mobile Nav from Right */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 80%;
  max-width: 320px;
  background-color: #fff;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1); /* shadow on right edge */
  padding: 2rem 1.5rem;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%); /* Start off-screen to the left */
  transition: transform 0.35s ease-in-out;
}

.mobile-nav.active {
  transform: translateX(0); /* Slide in from the left */
}

.mobile-logo {
  max-height: 80px;
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

.mobile-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

/* Header inside mobile nav */
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

/* Mobile nav links */
.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-links li {
  margin-bottom: 1rem;
}

.mobile-nav-links a {
  text-decoration: none;
  color: var(--dark, #012340);
  font-weight: 600;
  font-size: 1rem;
}

/* Toggle buttons */
.menu-toggle,
.close-nav {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark, #012340);
}

/* Responsive visibility */
@media (min-width: 992px) {
  .mobile-nav,
  .menu-toggle {
    display: none;
  }
}

/* Hero Section */

.hero h1 {
  font-size: 2.25rem;
  line-height: 57px;
  text-align: center;
  margin: 2rem 0 0 0;
}

.hero h1 span{
  font-weight: 400;
}

.hero-image-wrapper {
  min-width: 980px;
  max-height: 700px;
  height: calc(100vh - 100px);
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-btn {
  margin: 2rem 0 0 0;
}

@media (min-width: 992px) {
  .hero h1 {
    font-size: 3.5rem;
    text-align: left;
  }
}

.icon-box {
  height: 56px;
  width: 56px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box i {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.avatar-stack .avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  position: relative;
  margin-left: -12px;
  z-index: 1;
}

.avatars {
  margin: 2rem 0;
}
.avatar-stack .avatar-img:first-child {
  margin-left: 0;
  z-index: 3;
}
.avatar-stack .avatar-img:nth-child(2) {
  z-index: 2;
}

/* Steps */

.app-icons {
  display: block;
  margin: 0 auto;
}

.app-image-features {
  max-height: 550px;
  display: block;
  margin: 0 auto;
}

section.steps {
  background: white;
  padding: 8rem 0 12rem 0;
  text-align: center;
}

.steps p {
  margin: 3rem 0 3rem 0;
}

/* App */

section.app {
  background: #face33;
  position: relative;
  padding: 4rem 0;
}

img.feature-image {
  position: absolute;
  max-height: 31rem;
  top: -80px;
  right: 22rem;
}

.download-btn {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  margin: 0;
  padding: 0;
}

.download-btn a img {
  max-height: 50px !important;
}
/*CTA*/
.cta-section {
  background: url('../../assets/images/cta.webp') center center / cover no-repeat fixed;
  color: #fff;
  position: relative;
  z-index: 1;
}

/* Benefits & Features */

.benefits {
  padding: 9rem 0;
  background: #fff;
}

.dashboard-img {
  margin: 2rem 0;
  max-height: 400px;
}

/* Pricing Tables */

/* Card Styling */
.pricing-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(1, 35, 64, 0.08);
  transition: all 0.3s ease;
}

.pricing-card:hover {
  box-shadow: 0 14px 40px rgba(1, 35, 64, 0.15);
}

/* Plan Name */
.pricing-card h4 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* Price */
.pricing-card h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0.75rem 0;
}

.pricing-card h3 span {
  font-size: 0.9rem;
  font-weight: 400;
  display: block;
  margin-top: 0.2rem;
  color: #6c757d;
}

/* Features List */
.pricing-card ul {
  margin: 1rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.pricing-card li::before {
  content: '✓';
  font-weight: bold;
  color: #0477BF;
  margin-right: 0.5rem;
}

/* Gradient Button */
.btn-gradient {
  background: linear-gradient(135deg, #fdca21 0%, hsl(210, 73%, 15%) 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn-gradient:hover {
  background: linear-gradient(135deg, hsl(210, 73%, 15%) 0%, #fdca21 100%);
  box-shadow: 0 0 10px rgba(253, 202, 33, 0.4);
  color: #fff;
}

/* FAQs */

/* FAQ Accordion Styling */
.accordion-button {
  background-color: var(--light);
  color: var(--body-color);
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
  box-shadow: none;
  padding: 1rem 1.25rem;
  transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background-color: #fdca21;
  color: #29343d;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2329343d' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6 6 6-6'/%3E%3C/svg%3E");
  transform: rotate(180deg);
}

.accordion-button.collapsed::after {
  transform: rotate(0deg);
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-body {
  background-color: #fff;
  color: var(--body-color);
  padding: 1rem 1.25rem;
}

/*Footer*/

footer img {
  max-height: 40px;
}

/* Newsletter Banner */
.newsletter-section {
  background: linear-gradient(135deg, #f9f9fb 0%, #e8f1f8 100%);
}

.newsletter-section h3 {
  font-size: 1.5rem;
  color: var(--dark);
}

.newsletter-section .form-control {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.75rem;
}

.newsletter-section .btn-gradient {
  background: linear-gradient(135deg, #fdca21, hsl(210, 73%, 15%));
  color: #fff;
  padding: 0.75rem 1.25rem;
  border: none;
  font-weight: 600;
  border-radius: 0.75rem;
}

.newsletter-section .btn-gradient:hover {
  background: linear-gradient(135deg, hsl(210, 73%, 15%), #fdca21);
  box-shadow: 0 0 10px rgba(253, 202, 33, 0.3);
}

/* Features */

.features-img {
  max-height: 350px;
  display: block;
  margin: 0 auto;
}

.table>:not(caption)>*>* {
  text-align: left;
}