:root {
  --primary: #ff6600;
  --secondary: #a020f0;
  --dark: #1a1a1a;
  --light: #f8f9fa;
}

body {
  font-family: 'Segoe UI', sans-serif;
  padding-top: 69px;
  /* color: var(--dark);
  line-height: 1.6;
  background: #fff;
  scroll-behavior: smooth; */
}

li {
  text-align: justify;
}

.container-fluid {
  width: 100% !important;
  padding: unset;
}

.container-wide {
  max-width: 1450px;
}

.navbar {
  background: linear-gradient(135deg, #20010e, #3b0219, #5f0126);
  backdrop-filter: blur(6px)
}

.small-logo {
  text-align: justify !important;
}

.small-logo img {
  height: 25px;
  display: inline-block;
}

.navbar .logo img {
  height: 45px;
  display: block;
}

.nav-link {
  color: var(--light);
}

.navbar ul {
  display: flex;
  list-style: none;

}

.navbar ul li {
  margin: 0 1rem;

}

.navbar ul li a {
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

.navbar ul li a:hover {
  color: var(--primary);
}

.navbar ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--primary);
  transition: width 0.3s ease;
}

.navbar ul li a:hover::after {
  width: 100%;
}

.carousel-item {
  height: 77vh;
  transition: transform 1.5s ease-in-out, opacity 1.5s ease-in-out;
  /* width:98vw; */

}

.slide-content {
  height: 100%;
  padding: 2rem;
}

/* Purple brand text */
.text-purple {
  color: #6A0DAD;
}

/* Custom background */
.bg-soft-purple {
  background-color: #F3E8FF;
}

/* Animation effects */
/* Default state */
.animate-caption,
.animate-img {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Active (appearing) */
.carousel-item.active .animate-caption {
  opacity: 1;
  transform: translateY(0);
}

.carousel-item.active .animate-img {
  opacity: 1;
  transform: scale(1);
}

/* Smooth exit (when leaving active state) */
.carousel-item.carousel-item-start .animate-caption,
.carousel-item.carousel-item-end .animate-caption {
  opacity: 0;
  transform: translateY(-40px);
  /* moves upward while fading */
}

.carousel-item.carousel-item-start .animate-img,
.carousel-item.carousel-item-end .animate-img {
  opacity: 0;
  transform: scale(0.95);
  /* slight shrink */
}

/* Staggered effect ONLY for 1st slide */
.carousel-item:first-child.active .animate-img {
  transition-delay: 0s;
  /* image first */
}

.carousel-item:first-child.active .animate-caption {
  transition-delay: 0.5s;
  /* caption later */
}


#features p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Section headers */
#features h3 {
  color: var(--primary);
  /* Purple - brand identity */
  font-weight: 700;
  border-bottom: 2px solid #6A0DAD;
  display: inline-block;
  padding-bottom: 4px;
}

/* Card container */
.feature-card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
}

/* Left header strip */
.feature-card .card-header {
  background: linear-gradient(135deg, #6A0DAD, #9C27B0);
  /* Purple gradient */
  color: #fff;
  width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card .card-header i {
  color: #fff;
  font-size: 2rem;
}

/* Feature titles */
.feature-card .card-body h5 {
  color: #8E2C2C;
  /* Maroon/Red - authority */
  margin-bottom: 0.5rem;
}

/* Feature text */
.feature-card .card-body p {
  color: #333;
  /* Neutral body text */
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: justify;
}

/* Highlighted keywords */
.small-logo strong {
  color: #8E2C2C;
  /* Maroon/Red - authority */
  font-weight: 600;
}

/* Highlighted keywords */
.feature-card .card-body p strong {
  color: #F39C12;
  /* Orange - highlight */
  font-weight: 600;
}

/* Purple headers */
.bg-purple {
  background-color: #6A0DAD;
}

/* Pricing card highlight */
#pricing .card {
  border: 1px solid #ddd;
  transition: transform 0.3s ease;
}

#pricing .card:hover {
  transform: translateY(-8px);
}

/* Enquiry form */
#enquiry form {
  border-left: 5px solid #6A0DAD;
}


/* CTA */
.cta {
  text-align: center;
  background: #f8f9fa;
  /* light background */
  color: var(--dark);
  padding: 4rem 2rem;
  border-radius: 12px;
  margin-top: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
}

#enquiry h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

#enquiry h3 {
  color: #8E2C2C;
  margin-bottom: 1rem;
}

.cta p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--dark);
}

.cta .contact-details a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.cta .contact-details a:hover {
  text-decoration: underline;
}

#about h2 {
  border-left: 5px solid #6A0DAD;
  padding-left: 10px;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
}

.required-field .form-label:after {
  content: " *";
  /* Add a space before the asterisk for separation */
  color: red;
  /* Or any desired color */
}

/* Terms Page Styling */
.terms {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 2rem 2rem;
  /* added top padding to offset fixed navbar */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  color: var(--dark);
}

.terms h2 {
  color: var(--primary);
  text-align: center;
  margin-top: 0;
  /* remove any default browser margin */
  padding-top: 1rem;
  /* small, consistent breathing space */
  margin-bottom: 1rem;
}

.terms h3 {
  color: var(--secondary);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.terms h4 {
  color: var(--primary);
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  margin-left: 1.5rem;
  /* indent subsections */
}

.terms h4+ul {
  margin-left: 3rem;
  /* extra indent for lists under h4 */
}

.terms p {
  text-align: justify;
  line-height: 1.7;
  word-spacing: 0.05em;
  hyphens: auto;
  margin-bottom: 1rem;
}

.terms p,
.terms ul {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.terms ul {
  margin-left: 1.5rem;
  list-style: disc;
}

.terms a {
  color: var(--primary);
  text-decoration: none;
}

.terms a:hover {
  text-decoration: underline;
}

.terms p em {
  display: block;
  text-align: center;
  font-style: italic;
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Footer Link Styling */
.footer-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* --- Indentation consistency for Terms pages --- */

/* Paragraphs following section-level headings (h3) */
.terms h3~p {
  margin-left: 0.75rem;
  /* slight indent from main margin */
  margin-top: 0.5rem;
}

/* Lists following section-level headings */
.terms h3+ul,
.terms h3+ol {
  margin-left: 2rem;
}

/* Paragraphs following subsection-level headings (h4) */
.terms h4+p {
  margin-left: 1.5rem;
  margin-top: 0.25rem;
}

/* Lists following subsection-level headings */
.terms h4+ul,
.terms h4+ol {
  margin-left: 3rem;
}

/* Optional: ensure all subsequent siblings under h4 remain aligned */
.terms h4~p {
  margin-left: 1.5rem;
}

.terms h4~ul,
.terms h4~ol {
  margin-left: 3rem;
}

.gradient-line {

  margin: 0 0 50px 0;
  display: block;
  border: none;
  height: 3px;
  background: #0071B9;
  background: linear-gradient(to right, white, #025283, #26ABFF, #025283, white);
}

.astrodivider {
  margin: 64px auto;
  /* width: 400px; */
  max-width: 100%;
  position: relative;
}

.astrodividermask {
  overflow: hidden;
  height: 20px;
}

.astrodividermask:after {
  content: "";
  display: block;
  margin: -25px auto 0;
  width: 100%;
  height: 25px;
  border-radius: 125px / 12px;
  box-shadow: 0 0 8px #049372;
}

.astrodivider span {
  width: 50px;
  height: 50px;
  position: absolute;
  bottom: 100%;
  margin-bottom: -25px;
  left: 50%;
  margin-left: -25px;
  border-radius: 100%;
  box-shadow: 0 2px 4px #4fb39c;
  /* Tint 3 of main color */
  background: #fff;
}

.astrodivider i {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  right: 4px;
  border-radius: 100%;
  border: 1px dashed #68beaa;
  /* Tint 4 of main color */
  text-align: center;
  line-height: 40px;
  font-style: normal;
  color: #049372;
  /* main color */
}

/* Neon Purple */

.neonpurple .astrodividermask:after {
  box-shadow: 0 0 8px #9d00ff;
  /* main color */
}

.astrodivider.neonpurple span {
  box-shadow: 0 2px 4px #ba4cff;
  /* tint 3 of main color */
}

.astrodivider.neonpurple i {
  border: 1px dashed #c466ff;
  /* tine 4 of main color */
  color: #9d00ff;
  /* main color */
}