/* =============================================
   Post Install Pros – Custom Styles
   ============================================= */

:root {
  --pip-teal:   #2b6872;
  --pip-yellow: #f5c518;
  --pip-dark:   #1a3d42;
  --pip-light:  #f8f9fa;
  --pip-text:   #333333;
}

/* ---------- Global ---------- */
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--pip-text);
  margin: 0;
  padding: 0;
}

a { color: inherit; text-decoration: none; }

/* ---------- Top utility bar ---------- */
.top-bar {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 6px 0;
  font-size: 0.85rem;
}

.top-bar .contact-info a {
  color: var(--pip-teal);
  margin-right: 18px;
}

.top-bar .contact-info i {
  margin-right: 4px;
}

.top-bar .user-actions a {
  color: var(--pip-teal);
  margin-left: 12px;
  font-weight: 600;
}

/* ---------- Navbar ---------- */
.navbar {
  background: #fff !important;
  border-bottom: 3px solid var(--pip-yellow);
  padding: 10px 0;
}

.navbar-brand img {
  height: 70px;
}

.navbar-brand .brand-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pip-teal);
  line-height: 1.25;
  max-width: 220px;
}

.nav-link {
  color: var(--pip-teal) !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 14px !important;
  border-radius: 4px;
  transition: background 0.2s;
}

.nav-link:hover,
.nav-link.active {
  background: var(--pip-teal);
  color: #fff !important;
}

.nav-link.active-page {
  background: var(--pip-yellow);
  color: var(--pip-dark) !important;
}

.cart-icon {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--pip-yellow);
  color: var(--pip-dark);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero / Attention Banner ---------- */
.hero-section {
  background: var(--pip-yellow);
  padding: 50px 0 40px;
}

.hero-section .attention-box {
  background: #000;
  color: #fff;
  display: inline-block;
  padding: 6px 16px;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 2px solid red;
  color: red;
}

.hero-section p {
  font-size: 1rem;
  color: #222;
  max-width: 500px;
}

.hero-section .btn-pip {
  background: var(--pip-teal);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 600;
  width: 100%;
  max-width: 340px;
  margin-bottom: 12px;
  display: block;
  text-align: center;
  transition: background 0.2s, transform 0.1s;
}

.hero-section .btn-pip:hover {
  background: var(--pip-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Section Divider ---------- */
.gold-divider {
  height: 4px;
  background: var(--pip-yellow);
  border: none;
  margin: 0;
}

/* ---------- Services Section ---------- */
.services-section {
  padding: 60px 0;
  background: #fff;
}

.services-section h2 {
  color: var(--pip-teal);
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card {
  border: none;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
}

.service-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.service-card .card-title {
  color: var(--pip-teal);
  font-weight: 700;
}

.service-card .btn-card {
  background: var(--pip-teal);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 8px 20px;
  font-weight: 600;
  transition: background 0.2s;
}

.service-card .btn-card:hover {
  background: var(--pip-dark);
  color: #fff;
}

/* ---------- Policy Banner ---------- */
.policy-section {
  background: var(--pip-teal);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}

.policy-section h2 {
  font-weight: 700;
  margin-bottom: 10px;
}

.policy-section .btn-policy {
  background: var(--pip-yellow);
  color: var(--pip-dark);
  font-weight: 700;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  margin-top: 16px;
  font-size: 1rem;
  transition: background 0.2s;
}

.policy-section .btn-policy:hover {
  background: #e0b000;
}

/* ---------- Why Choose Us ---------- */
.why-section {
  background: var(--pip-light);
  padding: 60px 0;
}

.why-section h2 {
  color: var(--pip-teal);
  font-weight: 700;
}

.why-card {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.07);
  height: 100%;
}

.why-card i {
  font-size: 2.5rem;
  color: var(--pip-teal);
  margin-bottom: 14px;
}

.why-card h5 {
  font-weight: 700;
  color: var(--pip-dark);
}

/* ---------- Form Pages ---------- */
.form-page-header {
  background: #fff;
  border-bottom: 4px solid var(--pip-yellow);
  padding: 30px 0 20px;
}

.form-page-header h1 {
  color: var(--pip-teal);
  font-weight: 700;
}

.form-page-header .service-img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 8px;
}

.policy-notice {
  background: #fff8e1;
  border-left: 5px solid var(--pip-yellow);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 30px;
}

.policy-notice h5 {
  color: var(--pip-dark);
  font-weight: 700;
}

.form-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  padding: 36px;
}

.form-card .form-label {
  font-weight: 600;
  color: var(--pip-dark);
}

.form-card .form-control,
.form-card .form-select {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.95rem;
}

.form-card .form-control:focus,
.form-card .form-select:focus {
  border-color: var(--pip-teal);
  box-shadow: 0 0 0 0.2rem rgba(43,104,114,0.2);
}

.btn-submit {
  background: var(--pip-teal);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 40px;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: var(--pip-dark);
  color: #fff;
}

/* ---------- Footer ---------- */
footer {
  background: var(--pip-dark);
  color: #cdd8da;
  padding: 40px 0 20px;
}

footer .footer-brand img {
  height: 60px;
  margin-bottom: 10px;
}

footer h6 {
  color: var(--pip-yellow);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

footer a {
  color: #cdd8da;
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--pip-yellow);
}

footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 28px;
  padding-top: 16px;
  font-size: 0.82rem;
  color: #8da8ad;
}

footer .footer-bottom a {
  display: inline;
  color: var(--pip-yellow);
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }
  .hero-section .btn-pip {
    margin: 0 auto 12px;
  }
  .hero-section p {
    margin: 0 auto 20px;
  }
  .form-card {
    padding: 22px 16px;
  }
  .top-bar .contact-info {
    font-size: 0.78rem;
  }
}
