body {
  margin: 0;
  padding: 0;
  font-family: 'Playfair Display', serif;
  background: #5d4439;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.form-container { background: #fff; padding: 25px; max-width: 550px; width: 100%; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); margin: 40px auto;}
.form-container h2 {text-align: center; margin-bottom: 20px; color: #98531c; margin-top: 0px; border-bottom: 1px dashed #5d4439; padding-bottom: 20px;}
.form-container label { font-weight: bold; display: block; margin-top: 10px;}
.form-container input[type="text"], .form-container input[type="email"], .form-container input[type="tel"] {padding: 10px; margin-top: 5px; border: 1px solid #ccc; border-radius: 5px; width: 100%; box-sizing: border-box;}
.form-container input[type="submit"], .cta_btn {background: #98531C; color: white; padding: 10px 15px; border: none; border-radius: 5px; cursor: pointer; width: 100%; font-size: 16px; margin-top: 20px;}
.cta_btn {padding: 20px; max-width: 270px; margin: auto; z-index: 9999; background-color: #ff0e00; border: 4px solid #fdfdfd59; text-transform: uppercase; font-size: 17px;}
.cta_btn:hover { background: #c61207;}
.form-container input[type="submit"]:hover { background: #7a3f12;}
.form-group {display: flex; flex-direction: column;}
.result-box { background: #ffe6e6; color: #b30000; max-width: 600px; margin: 40px auto; padding: 20px; border-radius: 8px; text-align: center;}
.certificate { position: relative; background: #fff; width: 90%; max-width: 920px; box-shadow: 0 8px 30px rgba(0,0,0,0.15); text-align: center; padding: 100px 60px; border-radius: 15px; background-image: url('images/bg-img.jpeg'); background-repeat: no-repeat; background-size: cover; background-position: center; margin: 40px auto;}
.certificate h1 { font-size: 2rem; letter-spacing: 2px; margin: 0;}
.certificate h2 { font-size: 1rem; letter-spacing: 3px; margin: 5px 0 20px; }
.certificate h3 { font-size: 1.1rem; margin-bottom: 15px; }
.certificate .name { font-size: 2.5rem; color: #b8860b; margin: 0px 0 15px 0; letter-spacing: 3px; border-bottom: 2px solid #b8860b; padding-bottom: 12px; display: inline-block; text-transform: uppercase;}
.detail-list { display: flex; justify-content: space-around; gap: 20px; margin-bottom: 21px; flex-wrap: wrap;}
.sign { margin-bottom: 12px; font-weight: 600; color: #000000;}
.detail-list p { margin: 0; font-size: 0.9rem; color: #333; display: flex; align-items: center; gap: 8px;}
.detail { max-width: 650px; margin: auto;}
.detail-list img { height: 40px;}
.detail .line { display: inline-block; font-size: 20px; color: #98531c; margin-right: 9px;}
.seal { align-items: center; justify-content: center; gap: 12px; font-weight: 600; color: #c97a49; font-size: 18px; position: relative; width: fit-content;}
.warranty-text { display: block; position: absolute; left: 0; right: 0; top: 47px; background: #ffffff; width: 75px; margin: auto; margin-left: 78px; border-radius: 37px;}
.seal img { width: 233px; height: auto;}
.footer { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; max-width: 726px; margin: 40px auto 0 auto;}
.footer .sign { max-width: 200px; text-align: center; font-weight: 600;}
.footer .sign img { width: 100px; display: block; margin: auto;}
.text-left p { margin-top: 7px; font-size: 14px; margin-bottom: 7px;}
.footer div { width: auto !important;}
.terms { background: #f6f2e6; width: 90%; max-width: 950px; padding: 40px; margin: 40px auto; border-radius: 10px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); page-break-before: always; border: 10px solid #bb6f3f; border-style: double;}
.terms ol { margin: 0; padding-left: 20px; color: #333; font-size: 15px; line-height: 1.6;}
.terms ol li { padding-bottom: 15px;}
.terms ol li ul li { padding-bottom: 0; padding-top: 7px;}
.terms ol li ul { list-style: none; padding-left: 15px; list-style: lower-alpha;}
.terms ol li strong { color: #98531c;}
.hidden { display: none;}
@media (max-width: 768px) { .certificate h1 { font-size: 1.6rem; } .certificate .name { font-size: 2rem; } .detail-list p { font-size: 0.8rem; }}
