/* ============================================
   Static CMS - Public Theme Stylesheet
   ============================================ */
/* Set the root font size back to the default 16px */
html {
  overflow-x: hidden;
}
/* --- Base Layout --- */
body {
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
}

main {
    flex: 1;
}

a {
  color: #005ba2;
  text-decoration: none;
}

/* --- Typography --- */
h1{
  font-size: 4.5rem;
}

h2 {
  font-size: 3.6rem;
}
.smalltext {
  font-size: 12px;
}
/* --- Navbar  --- */
.navbar-brand img {
    max-height: 40px;
    margin-right: 10px;
}

.nav-link {
    font-size: 16px;
}

/* --- Page Featured Image Banner --- */
.page-featured-image {
    margin-left: calc(-1 * (100vw - 100%) / 2);
    margin-right: calc(-1 * (100vw - 100%) / 2);
    overflow: hidden;
    position: relative;
}

.page-featured-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.page-featured-image img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    display: block;
}

.page-featured-image .page-banner-title {
    z-index: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    color: #fff;
    font-size: 4.6rem;
    text-align: center;
    text-shadow: 1px 2px 6px rgba(0,0,0,0.5);
}

/* --- Hero Carousel (Home Page) --- */
.slider-wrapper {
    padding: 0 !important;
    margin: 0 !important;
}

.hero-carousel-inner {
    height: 60vh;
    min-height: 400px;
    max-height: 700px;
}

.hero-carousel-inner img {
    object-fit: cover;
    object-position: center;
}

#heroCarousel .carousel-inner {
    z-index: 1;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-overlay-content {
    z-index: 3;
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    z-index: 4;
    width: 10%;
}

/* --- Hero Static Section (Home Page - Single Image or Color) --- */
.hero-static {
    min-height: 50vh;
}

/* --- Blog Card Images --- */
.blog-index-featured-image {
    background-image: url(images/bg-blog-index.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    height: 320px;
    margin-left: calc(-1 * (100vw - 100%) / 2);
    margin-right: calc(-1 * (100vw - 100%) / 2);
}
.blogcats {
    background: #080c18;
}

.blog-index-featured-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}
.blog-index-featured-image h1 {
    z-index: 1;
}
.blog-index-featured-image h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 3.5rem;
    text-shadow: 1px 2px 6px rgba(0,0,0,0.5);
}

.blog-card-img {
    object-fit: cover;
    height: 300px;
}

.blog-card-img-sm {
    object-fit: cover;
    height: 200px;
}

/* Free Trial */
.free-trial-section {
  background: #005ba2;
}

.trial-pill {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.text-light-50 {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* --- Footer --- */
footer {
  background: #080c18;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.footer-link:hover {
  color: #fff;
}

.footerblock a {
  text-decoration: none;
}

/* Overrides */
.container-md {
  max-width: 960px;
  margin: 0 auto;
}
.container-small {
  max-width: 720px;
  margin: 0 auto;
}
.btn {
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.2rem;
}

.btn-danger {
  background-color: #D10000 !important;
  border-color: #D10000 !important; /* Also override border color for consistency */
}
.btn-danger:hover {
  background-color: #aa0000 !important;
  border-color: #aa0000 !important; /* Also override border color for consistency */
  text-decoration: none;
}

.btn-outline-danger:hover {
  background-color: #D10000 !important;
  border-color: #D10000 !important; /* Also override border color for consistency */
}

.btn-outline-light:hover {
  text-decoration: none;
}

.text-danger {
  color: #D10000 !important;
}

/* Spacing */
.blockpadding50 {
  padding: 50px 0;
}

.spaced {
  line-height: 3;
}
.spaced2 {
  line-height: 2;
}

/* --- Home page --- */
/* Welocome */
.home-subheading {
  font-size: 2rem;
  color: #009900;
}
/* Icons / bullets */
.check-icon {
  color: #D10000;
  font-weight: bold;
}

/* Feature cards */
.feature-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eee;
}
.feature-card:hover {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #bfcdd8;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.feature-icon span {
  font-size: 5rem;
}

/* Pricing */
.pricing-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #dadada;
  padding: 3rem;
}
.pricing-card:hover {
  border: 1px solid #bfcdd8;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.pricing-card a:hover {
  text-decoration: none;
}

.popular-plan {
  box-shadow: 0 0 0 2px #005ba2;
}

.popular-badge {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: #005ba2;
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
}

.pricingplans,
.powerfulfeatures {
  padding: 81px 0 100px 0;
}
.contentinside {
  margin-bottom: 30px;
}

.aboutblock {
  padding: 50px 0;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    font-size: 1.75rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #D10000;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.faq-item:hover {
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    cursor: pointer;
    display: flex;
}

.faq-question:before {
    content: "Q: ";
    color: #D10000;
    margin-right: 0.5rem;
}

.faq-answer {
    color: #6b7280;
    line-height: 1.8;
    padding-left: 1.5rem;
}

/* Emoji Row Styles */
.emoji-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px;
  flex-wrap: wrap;
  background: white;
  padding: 1.5rem;
  margin-bottom: 3rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.emoji-row a {
  text-decoration: none;
  font-size: 0.875rem;
}

.emoji-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #212529;
  transition: transform 0.2s ease;
  padding: 5px;
  border: 1px solid #dadee2;
  border-radius: 5px;
  background: #f5f7f8;
}

.emoji-block:hover {
  transform: translateY(-5px);
}

.emoji-block .emoji {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

/* Small utilities */
.badge {
  letter-spacing: 0.04em;
}

/* Testimonials */
.testimonials-section {
  padding: 60px 0;
}

.testimonial-card {
  max-width: 760px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 10px 20px;
}

.testimonial-avatar {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.06);
}

.testimonial-quote {
  font-style: italic;
  color: #374151;
  font-size: 1.05rem;
}

.testimonials-section .carousel-indicators [data-bs-target] {
  background-color: #D10000;
}

.testimonials-section h2 {
  font-size: 1.8rem;
}

/* --- Go to Top Button --- */
#goToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 27px;
    height: 27px;
    border: none;
    border-radius: 50%;
    background: #D10000;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}
#goToTop.visible {
    opacity: 1;
    visibility: visible;
}
#goToTop:hover {
    background: #a00;
}
