/* =========================================================
   RoyalX custom styles
   - Brand logo sizing
   - New sections: Why Choose Us / Product Categories / Plans
   - Contact form UX states
   - Extra mobile-responsiveness fixes (loaded AFTER the core
     template stylesheet so these rules take priority)
   ========================================================= */

* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
html, body { overflow-x: hidden; }

/* ---------- Logo ---------- */
.header-area .main-nav .logo img,
footer .about .logo img {
  width: 100px;
  max-width: 60vw;
  height: auto;
 
}
footer .about .logo img { width: 170px; margin-bottom: 20px; }

/* ---------- Icon sprite helper ---------- */
.rx-icon {
  width: 46px;
  height: 46px;
  display: inline-block;
}
.rx-icon--sm { width: 32px; height: 32px; }

/* ---------- Services (icon swap) ---------- */
.our-services .icon { display: flex; align-items: center; justify-content: center; }

/* ---------- Why Choose Us ---------- */
.why-us {
  padding: 60px 0 40px;
}
.why-us .why-card {
  text-align: center;
  padding: 35px 20px;
  border-radius: 12px;
  background: #fafafa;
  height: 100%;
  transition: all .3s ease;
}
.why-us .why-card:hover {
  background: #fff;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transform: translateY(-6px);
}
.why-us .why-card .rx-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  color: #03a4ed;
}
.why-us .why-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 10px;
}
.why-us .why-card p {
  font-size: 14px;
  color: #6a6a6a;
  line-height: 24px;
  margin-bottom: 0;
}

/* ---------- Product / Service categories grid ---------- */
.product-categories { padding-bottom: 20px; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.category-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 30px 22px;
  text-align: center;
  transition: all .3s ease;
}
.category-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 45px rgba(3,164,237,0.12);
  transform: translateY(-6px);
}
.category-card .cat-icon-wrap {
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(3,164,237,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-card:nth-child(3n+2) .cat-icon-wrap,
.category-card:nth-child(4) .cat-icon-wrap,
.category-card:nth-child(8) .cat-icon-wrap {
  background: rgba(255,105,95,0.1);
}
.category-card:nth-child(3n+2) .rx-icon,
.category-card:nth-child(4) .rx-icon,
.category-card:nth-child(8) .rx-icon {
  color: #ff695f;
}
.category-card .rx-icon { color: #03a4ed; }
.category-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 10px;
}
.category-card p {
  font-size: 13.5px;
  color: #6a6a6a;
  line-height: 22px;
  margin-bottom: 0;
}

/* ---------- Brands strip ---------- */
.brands-strip {
  padding: 30px 0 70px;
  text-align: center;
}
.brands-strip span.label {
  display: block;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9a9a9a;
  margin-bottom: 22px;
}
.brands-strip .brands-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
}
.brands-strip .brands-row span {
  font-weight: 700;
  font-size: 17px;
  color: #b7b7b7;
  letter-spacing: 0.5px;
}

/* ---------- Plans ---------- */
.pricing-tables .item em.plan-note {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: #9a9a9a;
  margin-top: -10px;
  margin-bottom: 20px;
}

/* ---------- Quote strip (subscribe repurposed) ---------- */
.subscribe form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.subscribe form input {
  flex: 1 1 260px;
}
.subscribe form button { flex: 0 0 auto; }
.subscribe .inner-content p.quote-sub {
  color: rgba(255,255,255,0.85);
  margin-top: -10px;
  margin-bottom: 25px;
}

/* ---------- Contact form states ---------- */
form#enquiry-form textarea {
  width: 100%;
  border: none;
  background-color: #f7f7f7;
  padding: 14px 25px;
  border-radius: 25px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  resize: vertical;
  min-height: 90px;
}
.form-note {
  display: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13.5px;
  margin-top: 12px;
  text-align: center;
}
.form-note.success {
  display: block;
  background: rgba(3,164,237,0.1);
  color: #03799e;
}
.form-note.error {
  display: block;
  background: rgba(255,105,95,0.12);
  color: #b83f36;
}
.rx-ajax-form button[disabled] { opacity: 0.6; pointer-events: none; }
.subscribe .form-note { max-width: 500px; margin-left: auto; margin-right: auto; }
.rx-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.info-card {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.info-card .info-pill {
  flex: 1 1 220px;
  background: #fafafa;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.info-card .info-pill .rx-icon { color: #03a4ed; flex: 0 0 auto; }
.info-card .info-pill span, .info-card .info-pill a {
  font-size: 14.5px;
  font-weight: 600;
  color: #2a2a2a;
  line-height: 20px;
}

/* =========================================================
   Responsive fixes
   ========================================================= */
@media (max-width: 1199px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .why-us .why-card { margin-bottom: 24px; }
  .page-section, .section { margin-top: 80px; }
  .header-area .main-nav .logo img { width: 165px; }
}

@media (max-width: 767px) {
  .section-heading h2 { font-size: 24px; line-height: 34px; }
  .section-heading span { font-size: 22px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .category-card { padding: 22px 14px; }
  .brands-strip .brands-row { gap: 10px 22px; }
  .subscribe form { flex-direction: column; }
  .subscribe form input, .subscribe form button { flex: 1 1 auto; width: 100%; }
  .info-card { flex-direction: column; }
  .header-area .main-nav .logo img { width: 150px; }
  footer .about .logo img { width: 150px; }
  .pricing-tables .item { text-align: center; }
}

@media (max-width: 575px) {
  .category-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .category-card h4 { font-size: 14.5px; }
  .category-card p { font-size: 12.5px; line-height: 20px; }
  .why-us .why-card { padding: 26px 16px; }
  .section-heading h2 { font-size: 21px; line-height: 30px; }
  .main-banner .item h2 { font-size: 30px !important; line-height: 40px !important; }
  .header-area .main-nav .logo img { width: 80px; }
  .down-buttons .call-button a { font-size: 14px; }
}

@media (max-width: 420px) {
  .category-grid { grid-template-columns: 1fr; }
}
