/* A restrained finish for the original YD website.
   Keep its blue/white identity, section order, grids, imagery and interactions. */
:root {
  --yd-polish-border: #e3e9f2;
  --yd-polish-shadow: 0 8px 28px rgba(20, 42, 80, .065);
}

body { -webkit-font-smoothing: antialiased; }
section.section { padding-block: 76px; }
.section-title { padding-bottom: 42px; }
.section-title h2 { line-height: 1.5; letter-spacing: -.025em; }
.section-title p { line-height: 1.85; color: #637086; }
.about p, .services p, .faq p, .contact p { line-height: 1.85; }

/* A quieter background lets the original content stand out. */
#yd-aurora { opacity: .35; }
#header .branding {
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--yd-polish-border);
  box-shadow: 0 4px 18px rgba(20, 42, 80, .035);
  padding-block: 18px;
}
#header .sitename { letter-spacing: -.025em; }
#header .topbar { font-size: 12px; }
#header .yd-logo-mark { box-shadow: 0 5px 15px rgba(3, 51, 138, .15); }

/* Keep the existing headline and YD logo composition. */
#hero { padding-block: 68px 76px; }
#hero h1 { line-height: 1.22; letter-spacing: -.04em; max-width: 580px; }
#hero p { line-height: 1.8; color: #637086; margin-block: 22px 30px; }
#hero .hero-img img.animated {
  filter: drop-shadow(0 18px 35px rgba(3, 51, 138, .12));
  animation-duration: 8s;
}
.btn-get-started,
.pricing .btn-choose,
.contact .php-email-form button[type="submit"] {
  min-height: 48px;
  border-radius: 10px;
  box-shadow: 0 5px 14px rgba(3, 51, 138, .15);
}
.btn-get-started:hover,
.pricing .btn-choose:hover,
.contact .php-email-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(3, 51, 138, .2);
}

/* Refine the existing cards without changing their layouts. */
.pricing .price-card,
.services .service-card,
.stats .stat-card,
.yd-features .feature-card,
.contact .contact-card,
.contact .contact-form-wrapper {
  border: 1px solid var(--yd-polish-border);
  border-radius: 16px;
  box-shadow: var(--yd-polish-shadow);
}
.pricing .price-card.featured {
  border-color: #94b1df;
  box-shadow: 0 10px 30px rgba(3, 51, 138, .11);
}
.pricing .price-card:hover,
.services .service-card:hover,
.stats .stat-card:hover,
.contact .contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(20, 42, 80, .1);
}
.pricing .price-card .feature-list li { line-height: 1.8; }
.pricing .price-card .card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}
.pricing .price-card .card-head .badge-title { margin-bottom: 0; }
.pricing .price-card .card-head .title {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}
.pricing .price-card .card-head .title br,
.pricing .price-card .price-wrap .price br { display: none; }
.pricing .price-card .card-head .subtitle {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 0;
}
.pricing .price-card .card-head .price-wrap {
  margin-top: auto;
  padding-top: 14px;
}
.pricing .price-card .card-head .price-wrap .price { line-height: 1.5; }
.pricing .price-card .feature-list {
  border-top-style: solid;
  border-top-color: var(--yd-polish-border);
  padding-top: 20px;
}
.pricing .price-card .feature-list li { align-items: flex-start; font-size: 14px; }
.pricing .price-card .feature-list li i { flex-shrink: 0; }
.services .service-card p { font-size: .94rem; }
.services .service-card { display: flex; flex-direction: column; height: 100%; }
.services .service-card h3 { line-height: 1.5; }
.services .service-card .read-more { margin-top: auto; padding-top: 12px; }
.yd-features .feature-card {
  background: #fff;
  padding: 28px;
  transform: none !important;
}
.yd-features .feature-card:hover { box-shadow: 0 12px 30px rgba(20, 42, 80, .1); }
.yd-features .feature-card .glow-ring { display: none; }
.yd-features .feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  box-shadow: 0 5px 14px rgba(3, 51, 138, .16);
}
.yd-features .feature-card p { line-height: 1.85; }
.yd-security::before { opacity: .55; }
.yd-security .sec-card { border-radius: 16px; }
.yd-security .sec-card p { line-height: 1.85; }
.testimonials .testimonial-content {
  border: 1px solid var(--yd-polish-border);
  border-radius: 16px;
  box-shadow: var(--yd-polish-shadow);
}
.testimonials .testimonial-content p { line-height: 1.95; }
.testimonials .testimonial-item:hover .testimonial-content {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(20, 42, 80, .1);
}
.faq .faq-item { padding-block: 26px; }
.faq .faq-item h4 { line-height: 1.7; }
.contact .form-control {
  min-height: 48px;
  padding: 12px 15px;
  border-color: #dce3ee;
  border-radius: 9px;
}
.contact label { margin-bottom: 8px; }
.contact textarea.form-control { min-height: 140px; }
.contact .form-control:focus {
  border-color: #7297d0;
  box-shadow: 0 0 0 3px rgba(3, 51, 138, .08);
}
.contact .contact-form-wrapper .php-email-form .form-group .form-control {
  padding: 12px 15px;
  border-color: #dce3ee;
  border-radius: 9px;
}
.contact .contact-form-wrapper .php-email-form .form-group .form-control:focus {
  border-color: #7297d0;
  box-shadow: 0 0 0 3px rgba(3, 51, 138, .08);
}
#footer.footer::after { opacity: .35; }
#footer.footer .footer-links a { padding-block: 8px; line-height: 1.65; }
#footer.footer .footer-contact .contact-item { line-height: 1.8; }
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #6b9be5;
  outline-offset: 4px;
}

@media (min-width: 1200px) {
  #navmenu > ul > li > a { padding-inline: 16px; font-size: 14px; }
}
@media (min-width: 992px) {
  .pricing .price-card .card-head { min-height: 270px; }
}
@media (max-width: 991px) {
  section.section { padding-block: 58px; }
  .section-title { padding-bottom: 32px; }
  #hero { padding-block: 34px 48px; }
  #hero h1 { margin-inline: auto; }
  #hero p { margin-block: 16px 24px; }
}
@media (max-width: 575px) {
  section.section { padding-block: 44px; }
  .section-title { padding-bottom: 28px; }
  .section-title h2 { font-size: 27px; line-height: 1.55; }
  .section-title p { font-size: 14px; }
  #header .branding { padding-block: 12px; }
  #hero h1 { font-size: 34px; line-height: 1.3; }
  #hero p { font-size: 14px; }
  .yd-features .feature-card { padding: 24px; }
  .faq .faq-item { padding-block: 22px; }
  .contact .contact-form-wrapper .php-email-form .form-group .form-control { font-size: 16px; }
  #footer.footer .footer-contact { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  [data-aos] { opacity: 1 !important; transform: none !important; }
  .hero-img img.animated, .yd-features .feature-card { transform: none !important; }
}
