/* Earthmoon - Professional UI Polish (overrides)
   Keep overrides small, safe, and consistent across pages. */

:root{
  --em-radius-lg: 18px;
  --em-radius-md: 14px;
  --em-radius-sm: 10px;
  --em-shadow-sm: 0 10px 30px rgba(16, 24, 40, 0.08);
  --em-shadow-md: 0 18px 55px rgba(16, 24, 40, 0.12);
  --em-font-scale: 0.875; /* 87.5% = 14px from 16px base */
}

/* Site-wide font size reduction */
html {
  font-size: 14px;
}
body {
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.boxed_wrapper {
  font-size: 14px;
}
/* Scale headings and titles */
.boxed_wrapper h1, .boxed_wrapper .sec-title h2, .boxed_wrapper .page-title .content-box h1 {
  font-size: clamp(1.5rem, 4vw, 2rem) !important;
}
.boxed_wrapper h2 {
  font-size: clamp(1.25rem, 3vw, 1.6rem) !important;
}
.boxed_wrapper h3, .boxed_wrapper .widget-title h3, .main-footer .widget-title h3 {
  font-size: 1.2rem !important;
}
.boxed_wrapper h4, .boxed_wrapper h5, .boxed_wrapper h6 {
  font-size: 1.05rem !important;
}
.boxed_wrapper .sec-title .sub-title {
  font-size: 0.9rem !important;
}
.boxed_wrapper .theme-btn span,
.boxed_wrapper .theme-btn {
  font-size: 14px !important;
}
.boxed_wrapper .bread-crumb,
.boxed_wrapper .bread-crumb a {
  font-size: 13px !important;
}
.main-footer .footer-widget p,
.main-footer .links-list a,
.main-footer .info-list,
.main-footer .copyright,
.main-footer .copyright a {
  font-size: 13px !important;
}
.main-header .main-menu .navigation > li > a,
.main-header .contact-info li,
.main-header .contact-info a {
  font-size: 14px !important;
}
.pricing-table .table-header h5,
.pricing-table .table-content p,
.pricing-block-one .table-header h2,
.pricing-block-one .table-header span {
  font-size: 0.95em !important;
}
.content-box p,
.default-form label,
.info-block-one p,
.feature-block-one .inner-box p,
.chooseus-block-one .inner-box p {
  font-size: 13px !important;
}
input, button, select, textarea {
  font-size: 14px !important;
}

/* Remove unwanted animations site-wide */
.wow,
.animated,
[class*="fadeIn"],
[class*="fadeOut"],
[class*="slideIn"],
[class*="slideOut"]{
  animation: none !important;
  -webkit-animation: none !important;
  transition: none !important;
}

/* Remove decorative floating/rotating effects */
.float-bob-x,
.float-bob-y,
.rotate-me{
  animation: none !important;
  transform: none !important;
}

/* Hide decorative shape/pattern layers (keep real background layers) */
.pattern-layer,
.shape,
.shape-layer,
.anim-icon{
  display: none !important;
}

/* Page title polish */
.page-title .content-box h1{
  letter-spacing: -0.5px;
}
.page-title .bread-crumb{
  opacity: .95;
}

/* Global card look */
.health-card,
.pricing-block-one .pricing-table,
.feature-block-one .inner-box,
.chooseus-block-one .inner-box,
.info-block-one,
.footer-widget.logo-widget{
  border-radius: var(--em-radius-lg) !important;
  box-shadow: var(--em-shadow-sm) !important;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

/* Subtle hover elevation */
.health-card:hover,
.feature-block-one .inner-box:hover,
.chooseus-block-one .inner-box:hover,
.pricing-block-one .pricing-table:hover{
  transform: none;
  box-shadow: var(--em-shadow-md) !important;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Buttons: consistent, modern */
.theme-btn.btn-one,
.theme-btn.btn-three{
  border-radius: 999px !important;
  letter-spacing: .2px;
}
.theme-btn.btn-one span,
.theme-btn.btn-three span{
  font-weight: 600;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
textarea{
  border-radius: var(--em-radius-md) !important;
}

/* About: make it feel premium */
.about-style-two{
  position: relative;
}
.about-style-two:before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 380px at 20% 20%, rgba(249,49,59,0.08), rgba(249,49,59,0) 60%),
              radial-gradient(900px 380px at 80% 80%, rgba(25,118,210,0.07), rgba(25,118,210,0) 60%);
  pointer-events: none;
}
.about-style-two .content-box{
  position: relative;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--em-radius-lg);
  padding: 40px 38px;
  box-shadow: var(--em-shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

/* Footer polish */
.main-footer .footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.08);
}
.main-footer .widget-section .footer-widget p{
  opacity: .92;
}

@media (max-width: 767px){
  .about-style-two .content-box{
    padding: 28px 20px;
  }
}
