/* ===================================================================================

* Theme Name: Instive Child
* Theme URI: https://themeforest.net/user/tripples/portfolio
* Author: Tripples
* Author URI: http://themewinter.com
* Description: Instive is a Insurance WordPress Theme
* Version: 1.0
* Template: instive
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Tags: one-column, right-sidebar, left-sidebar, custom-menu, featured-images, post-formats, sticky-post, translation-ready

* We encourage you to create Child theme for any modifications you will want to do.

* Why use Child theme?

* Because of future updates we may provide for this theme that will overwrite your
* modifications and all your custom work.

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
* http://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

====================================================================================== */
/*home template*/





/* quote page css*/


.quote-page-wrapper {
  font-family: "DM Sans", system-ui, sans-serif;
}
.quote-page-wrapper * {
  box-sizing: border-box;
}
.quote-page-wrapper :root {
  --navy: #0E2343;
  --navy-mid: #1a3560;
  --crimson: #8C1C1C;
  --crimson-h: #a52424;
  --gold: #B8922A;
  --off: #F8F9FC;
  --light: #EDF0F7;
  --border: #E2E8F2;
  --text: #1a2236;
  --muted: #64738c;
  --fh: "Playfair Display", Georgia, serif;
  --fb: "DM Sans", system-ui, sans-serif;
  --sm: 0 2px 12px rgba(14, 35, 67, .07);
  --md: 0 8px 32px rgba(14, 35, 67, .12);
  --lg: 0 20px 60px rgba(14, 35, 67, .18);
  --r: 12px;
  --rl: 20px;
}

.quote-hero {
  background: #0E2343;
  padding: 60px 32px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 95px; 
}
.quote-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(184, 146, 42, .08) 0%, transparent 50%);
  pointer-events: none;
}
.quote-hero-in {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.quote-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.5px;
  margin-bottom: 16px;
}
.quote-hero h1 em {
  font-style: normal;
  color: #B8922A;
}
.quote-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, .75);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}

.quote-section {
  padding: 80px 32px 100px;
  background: #F8F9FC;
}
.quote-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.quote-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}
.quote-row:last-child {
  margin-bottom: 0;
}
.quote-row-label {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 800;
  color: #0E2343;
  text-transform: none;
  letter-spacing: -.5px;
  margin-bottom: 28px;
  margin-top: 48px;
  text-align: center;
  position: relative;
  padding-bottom: 18px;
}
.quote-row-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #8C1C1C, #B8922A);
  border-radius: 2px;
}
.quote-row-label:first-of-type {
  margin-top: 0;
}

.quote-card {
  background: #fff;
  border: 2px solid #E2E8F2;
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  transition: all .3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.quote-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #8C1C1C;
  transform: scaleX(0);
  transition: transform .3s;
  transform-origin: left;
}
.quote-card:hover {
  border-color: #8C1C1C;
  box-shadow: 0 20px 60px rgba(14, 35, 67, .18);
  transform: translateY(-4px);
}
.quote-card:hover::before {
  transform: scaleX(1);
}

.quote-card-icon {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1;
}
.quote-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #0E2343;
  margin-bottom: 12px;
}
.quote-card p {
  font-size: 15px;
  color: #64738c;
  line-height: 1.6;
  margin-bottom: 24px;
}
.quote-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #8C1C1C;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 4px 16px rgba(140, 28, 28, .25);
}
.quote-card-btn:hover {
  background: #a52424;
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}

.help-section {
  background: #fff;
  padding: 60px 32px;
  text-align: center;
}
.help-wrap {
  max-width: 680px;
  margin: 0 auto;
}
.help-section h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: #0E2343;
  margin-bottom: 12px;
}
.help-section p {
  font-size: 16px;
  color: #64738c;
  line-height: 1.7;
  margin-bottom: 28px;
}
.help-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.help-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0E2343;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 8px 32px rgba(14, 35, 67, .12);
}
.help-btn:hover {
  background: #1a3560;
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}
.help-btn-secondary {
  background: #8C1C1C;
  box-shadow: 0 4px 16px rgba(140, 28, 28, .25);
}
.help-btn-secondary:hover {
  background: #a52424;
}

@media (max-width: 768px) {
  .quote-row {
    grid-template-columns: 1fr;
  }
  .quote-hero {
    padding: 40px 20px 60px;
  }
  .quote-section {
    padding: 60px 20px;
  }
}