/* Set the root font size back to the default 16px */
html {
  font-size: 16px;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
}

a {
  color: #005ba2;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h2 {
  font-size: 2rem;
}

/* Overrides */
.container-md {
  max-width: 960px;
  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: 2;
}

/* Navbar */
.nav-item {
  margin: 0 1rem;
  font-size: 1rem;
}
.nav-item a:hover {
  color: #005ba2;
  text-decoration: none;
}
.nav-item .btn-outline-dark:hover,
.nav-item .btn-outline-success:hover,
.nav-item .btn-primary:hover {
  color: #fff;
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 520px;
  background-image: url("../images/bg-hero-meracatalog.jpg");
  background-size: cover;
  background-position: center right;
  color: #fff;
}

.hero-section-inside {
  position: relative;
  min-height: 240px;
  background-image: url("../images/bg-hero-meracatalog-inside.jpg");
  background-size: cover;
  background-position: center right;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3));
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.hero-section .subheading {
  font-size: 1.5rem;
  font-weight: 500;
}

/* 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 #005ba2;
  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 {
  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,
.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;
}

/* 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;
}

/* Contact page */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1360px;
    margin: 0 auto;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-info h2 {
    font-size: 1.75rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    font-size: 1.125rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item p {
    color: #6b7280;
    padding-left: 2rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-form h2 {
    font-size: 1.75rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1f2937;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #D10000;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 0.75rem;
    background: #D10000;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #aa0000;
}

/* 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;
}

/* 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 */
#goToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 36px;
  height: 36px;
  background-color: #D10000;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

#goToTopBtn:hover {
  background-color: #005ba2;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

#goToTopBtn:active {
  transform: translateY(-1px);
}

#goToTopBtn.visible {
  display: flex;
}
