/* ============================
   style.css – Core Styles (Find Me PMI)
   Universal base theme + typography + components
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Share+Tech&display=swap');

.share-tech-regular {
  font-family: "Share Tech", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* ----------------------------
   Global background
   ---------------------------- */

body {
  background: linear-gradient(
    180deg,
    #F4F8FC 0%,
    #FFFFFF 100%
  );
}

/* ----------------------------
   Typography
   ---------------------------- */

p,
.card-text {
  font-family: "Share Tech", sans-serif;
  font-size: 18px;
}

li {
  font-family: "Share Tech", sans-serif;
  font-size: 18px;
}

.lead {
  font-family: "Share Tech", sans-serif;
  font-size: 20px;
}

.h3,
.card-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;
}

.display-3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 64px;
}

.display-4 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 50px;
}

.home-two-col-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

/* ----------------------------
   Jumbotron / Hero
   ---------------------------- */

.jumbotron {
  height: 550px;
  min-height: 420px;
  position: relative;
  background-image: url(/Images/hero-image.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.jumbotron::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 32, 58, 0.85),
    rgba(0, 104, 157, 0.75)
  );
  z-index: 0;
}

.jumbotron .container {
  margin-left: 0 !important;
  max-width: 100% !important;
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
  z-index: 1;
}

.QuoteNow {
  margin-left: 0 !important;
  display: inline-block;
  position: relative;
  z-index: 1;
  font-family: "Share Tech", sans-serif;
  font-size: 28px;
  background: linear-gradient(
    135deg,
    rgba(0, 20, 45, 0.96),
    rgba(0, 80, 130, 0.96)
  );
  color: #ffffff;
  border-radius: 0px 50px 30px 0px;
  padding: 20px 26px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* ----------------------------
   Buttons – unified system
   ---------------------------- */

:root {
  --btn-main: #17a2b8;
  --btn-main-hover: #138496;
}

.btn {
  font-family: "Share Tech", sans-serif;
  font-size: 24px;
  font-weight: 700;
  border-radius: 50px;
  padding: 12px 28px;
}

.btn-primary {
  background-color: var(--btn-main);
  border-color: var(--btn-main);
  color: #ffffff;
}

.btn-info {
  background-color: var(--btn-main);
  border-color: var(--btn-main);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-info:hover,
.btn-info:focus {
  background-color: var(--btn-main-hover);
  border-color: var(--btn-main-hover);
  color: #ffffff;
}

.btn-secondary {
  background-color: #ffffff;
  border-color: #ccd5e3;
  color: #05203a;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #f4f8fc;
  border-color: #b6c3d8;
  color: #05203a;
}

.btn-lg {
  padding: 14px 32px;
}

.btn-sm {
  padding: 6px 16px;
  font-size: 18px;
}

/* ----------------------------
   Contact Form submit button
   ---------------------------- */

.contact-content button[type="submit"] {
  background-color: var(--btn-main);
  border: 1px solid var(--btn-main);
  color: #fff;
  font-family: "Share Tech", sans-serif;
  font-size: 1.2rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  margin-top: 1rem;
}

.contact-content button[type="submit"]:hover,
.contact-content button[type="submit"]:focus {
  background-color: var(--btn-main-hover);
  border-color: var(--btn-main-hover);
}

/* ----------------------------
   Success message "Back home" button
   ---------------------------- */

.success-message .home-button {
  display: inline-block;
  background-color: var(--btn-main);
  border: 1px solid var(--btn-main);
  color: #fff;
  font-family: "Share Tech", sans-serif;
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.success-message .home-button:hover,
.success-message .home-button:focus {
  background-color: var(--btn-main-hover);
  border-color: var(--btn-main-hover);
}

/* ----------------------------
   Cards & logos
   ---------------------------- */

.card {
  border: none;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  background-color: #ffffff;
}

.card-title {
  font-size: 36px;
  font-family: "Bebas Neue", sans-serif;
}

.card-text {
  font-size: 24px;
  font-family: "Share Tech", sans-serif;
}

.card img,
.insurer-logo {
  max-height: 250px;
  width: auto;
  padding: 10px;
}

.card img.card-img-top {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
}

.card .card-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card .btn {
  align-self: center;
}

/* ----------------------------
   Contact Form
   ---------------------------- */

.contact-content {
  max-width: 700px;
  margin: 4rem auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.contact-content h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #05203a;
}

.contact-content label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-family: "Share Tech", sans-serif;
  font-size: 1.1rem;
  color: #05203a;
}

.contact-content input[type="text"],
.contact-content input[type="email"],
.contact-content textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccd5e3;
  border-radius: 6px;
  font-size: 1rem;
  font-family: "Share Tech", sans-serif;
  background-color: #f6f8fb;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.contact-content input:focus,
.contact-content textarea:focus {
  outline: none;
  border-color: #3BA268;
  background-color: #ffffff;
}

.contact-content button[type="submit"] {
  background-color: #3BA268;
  color: #fff;
  border: none;
  font-family: "Share Tech", sans-serif;
  font-size: 1.2rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

.contact-content button[type="submit"]:hover {
  background-color: #2f8655;
}

/* ----------------------------
   Success message page
   ---------------------------- */

.success-message {
  max-width: 600px;
  margin: 5rem auto;
  padding: 3rem 2rem;
  background-color: #ffffff;
  border: 1px solid #dde6f1;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  font-family: "Share Tech", sans-serif;
}

.success-message h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.5rem;
  color: #3BA268;
  margin-bottom: 1.5rem;
}

.success-message p {
  font-size: 1.25rem;
  color: #05203a;
  margin-bottom: 2rem;
}

.success-message .home-button {
  display: inline-block;
  background-color: #3BA268;
  color: #fff;
  font-family: "Share Tech", sans-serif;
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.success-message .home-button:hover {
  background-color: #2f8655;
}

/* ----------------------------
   Responsive tweaks – contact form
   ---------------------------- */

@media (max-width: 576px) {
  .contact-content {
    padding: 1rem;
  }

  .contact-content h1 {
    font-size: 2rem;
  }

  .contact-content label,
  .contact-content input,
  .contact-content textarea {
    font-size: 1rem;
  }
}

/* ----------------------------
   Global responsive type scale
   ---------------------------- */

:root {
  --fs-body: clamp(16px, 1.6vw, 20px);
  --fs-lead: clamp(18px, 2vw, 24px);
  --fs-h3: clamp(20px, 2.2vw, 24px);
  --fs-display-4: clamp(28px, 4vw, 48px);
  --fs-display-3: clamp(34px, 6vw, 72px);
  --fs-card-title: clamp(18px, 2.4vw, 36px);
  --fs-card-text: clamp(14px, 1.9vw, 24px);
}

p,
.card-text { font-size: var(--fs-body); }

.lead { font-size: var(--fs-lead); }

.h3,
.card-title { font-size: var(--fs-h3); }

.display-4 { font-size: var(--fs-display-4); }

.display-3 { font-size: var(--fs-display-3); }

.card-title { font-size: var(--fs-card-title); }

.card-text { font-size: var(--fs-card-text); }

.card-title,
.card-text,
.lead,
.display-4,
.display-3 {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.jumbotron .container {
  max-width: 100% !important;
}

.QuoteNow {
  padding: clamp(14px, 2.2vw, 20px);
}

/* ----------------------------
   Breakpoint refinements
   ---------------------------- */

@media (max-width: 992px) {
  .display-3 { font-size: clamp(30px, 6vw, 52px); }
  .display-4 { font-size: clamp(24px, 4.8vw, 38px); }
  .lead { font-size: clamp(16px, 2.4vw, 20px); }
  .QuoteNow { border-radius: 0 36px 24px 0; }
  .insurer-logo { max-height: 180px; }
}

@media (max-width: 768px) {
  .jumbotron { min-height: 360px; }
  .QuoteNow { padding: 14px 16px; }
  .card img.card-img-top { max-height: 220px; }
  .card .card-body { padding: 0.75rem 1rem; }
}

@media (max-width: 576px) {
  .jumbotron { min-height: 320px; }
  .display-3 { font-size: clamp(26px, 8vw, 40px); }
  .display-4 { font-size: clamp(22px, 7vw, 32px); }
  .lead { font-size: clamp(15px, 4.3vw, 18px); }
  .card-title { font-size: clamp(16px, 5vw, 22px); }
  .card-text { font-size: clamp(14px, 4.2vw, 18px); }
  .insurer-logo { max-height: 140px; }
  .QuoteNow { border-radius: 0 28px 18px 0; }
}

@media (max-width: 400px) {
  .display-3 { font-size: 24px; }
  .display-4 { font-size: 20px; }
  .lead,
  .card-text { font-size: 14px; }
}