/****************************************
 * claims.css
 * Styles specific to the Claims page
 ****************************************/

/*---------------------------------------------
  1) Claims Hero
---------------------------------------------*/
.claims-hero {
    background: var(--color-section-offwhite);
    padding: 8rem 2rem;
    text-align: center;
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .claims-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background-color: var(--color-accent);
    color: #fff;
    font-size: 0.875rem;
    box-shadow: 0 2px 5px var(--color-black-05);
  }
  
  .claims-title {
    font-size: 3rem;
    margin: 0;
  }
  
  .claims-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    color: var(--color-midtext);
  }
  
  /*---------------------------------------------
    2) Claims Info (Full-Service vs Self-Managed)
  ---------------------------------------------*/
  .claims-info {
    background: var(--color-white);
    padding: 4rem 2rem;
    text-align: center;
  }
  
  .claims-info-header {
    max-width: 800px;
    margin: 0 auto 2rem;
  }
  
  .claims-info-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .claims-info-header p {
    font-size: 1rem;
    color: var(--color-subtext);
    line-height: 1.6;
  }
  
  .claims-options {
    display: flex
;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    flex-direction: row-reverse;
}
  
  .claims-box {
    background: #f9ebdd42;
    border: 1px solid #e8e8e8;
    padding: 2rem;
    border-radius: 8px;
    text-align: left;
    flex: 1 1 300px;
    min-width: 280px;
    box-shadow: 0 2px 5px var(--color-black-05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .claims-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--color-black-08);
  }
  
  .claims-box h3 {
    font-size: 1.4rem;
    font-weight: 600;
  }
  
  .claims-box ul {
    list-style: disc inside;
    margin-bottom: 1rem;
    line-height: 1.5;
    color: var(--color-text);
  }
  
  .claims-box p {
    color: var(--color-midtext);
    line-height: 1.6;
  }
  
  .claims-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
  }
  
  /*---------------------------------------------
    3) Claims-Section (Docs/Packages)
  ---------------------------------------------*/
  .claims-section {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #fff;
  }
  
  .claims-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto 2rem;
  }
  
  .claims-header h2 {
    font-size: 3rem;
    margin: 1rem 0;
  }
  
  .claims-header p {
    margin-bottom: 2rem;
    font-size: 1rem;
    color: var(--color-subtext);
    max-width: 600px;
  }
  
  /* Cards for claim documents (AOB, ACI, etc.) */
  .claims-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1640px;
    margin: 0 auto 2rem;
    margin-bottom: 80px;
  }
  
  @media (max-width: 600px) {

    form.quote-form{
      min-width: 0px !important;
    }

    .claims-grid {
      grid-template-columns: 1fr;
      margin-bottom: 40px;
    }
  }
  
  .claim-card {
    border: 1px solid #e8e8e887;
    background: #f9ebdd42;
    padding: 2rem;
    border-radius: 8px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .claim-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--color-black-08);
  }
  
  .claim-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
  }
  .claim-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
  }
  .claim-title {
    font-size: 1.2rem;
    font-weight: 600;
  }
  
  /****************************************
 * Enhanced Coverage Packages Tiers
 ****************************************/
/* Heading & subtext (centered, like screenshot) */
.coverage-heading {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-text);
  }
  
  .coverage-subtext {
    text-align: center;
    color: var(--color-midtext);
    max-width: 800px;
    margin: 0 auto 2rem;
  }
  
  /* The packages container: 3 columns on desktop, 2 on tablets, 1 on mobile */
  .coverage-packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1640px;
    margin: 0 auto;
    text-align: left;
    margin-bottom: 40px;
    
  }
  
  @media (max-width: 992px) {
    .coverage-packages {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (max-width: 600px) {

    .coverage-package ul{
        padding-left: 0px !important;
    }

    .coverage-packages {
      grid-template-columns: 1fr;
    }
  }

  .coverage-package.recommended .package-desc{
    color: white;
  }
  
  /* Each package card */
  .coverage-package {
    background: #fff;
    color: var(--color-text);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 5px var(--color-black-05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    display: flex
;
    flex-direction: column;
    border: 1px solid var(--color-accent);
    align-items: center;
  }
  
  /* Hover lift & shadow */
  .coverage-package:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px var(--color-black-08);
  }
  
  /* Title & optional subtitle */
  .coverage-package h4 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
  }
  
  .package-desc {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--color-midtext);
  }
  
  /* Replace bullet points with Font Awesome check icons (optional) */
  .coverage-package ul {
    padding-left: 24px;
    width: 100%;
    list-style: none;
    margin: 0;

    margin-bottom: 1rem;
  }
  
  .coverage-package ul li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 2rem;
  }
  
  /* Use ::before to inject a check icon for each li */
  .coverage-package ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free"; /* or 5 Free, depending on your version */
    font-weight: 900;
    color: var(--color-accent);
    position: absolute;
    left: 0;
    top: 0.1rem;
  }

    /* Container holding all service items */
    .services-container {
      display: flex;
      flex-direction: column;
      gap: 2rem;
      max-width: 1400px;
      margin: 0 auto;
      padding-top: 60px;
    }
    
    /* Each .service-item row: image on one side, text on the other (stack on mobile) */
    .service-item {
      height: 400px;
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 2px 5px var(--color-black-05);
      padding: 2rem;
      align-items: center;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
  
    .service-details .btn p{
      color: white !important;
    }
  
    .cta{
      display: flex
      ;
          margin-top: 16px;
    }
  
    .services-outro .btn-primary p{
      color: white;
  
    }
  
  
    .service-item:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 10px var(--color-black-08);
    }
    
    /* The image side */
    .service-image-container {
      border-radius: 6px;
      flex: 1 1 400px;
      text-align: center;
      height: 100%;
      overflow: hidden;
      display: flex
  ;
      justify-content: center;
      align-items: center;
    }
    
    .service-image {
      max-width: 100%;
      border-radius: 6px;
      object-fit: cover;
    }
    
    /* The text side */
    .service-details {
      flex: 1 1 400px;
      text-align: left;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    
    .service-details h3 {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }

    @media (max-width: 992px) {
      .service-item {
        flex-direction: column;
        height: auto;
      }
      .service-image-container,
      .service-details {
        flex: 1 1 100%;
      }
      .service-image-container{
          max-height: 280px;
      }
    }
    
    @media (max-width: 600px) {
      .services-title {
        font-size: 2.2rem;
      }
    
      .services-intro h2 {
        font-size: 2rem;
      }
    }
    
  
    
    .service-details p {
      line-height: 1.6;
      color: var(--color-text);
    }
    
    .service-details .btn {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-weight: 600;
      margin-top: 0.5rem;
    }
  
    #services-wrapper {
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }
    #services-wrapper.page-loaded {
      opacity: 1;
      pointer-events: auto;
    }
    

  .coverage-package ul .error::before {
    content: "\f00d" !important;
    font-family: "Font Awesome 6 Free"; /* or 5 Free, depending on your version */
    font-weight: 900;
    color: black !important;
    position: absolute;
    left: 0;
    top: 0.1rem;
  }
  
  /* Price note or final line */
  .price-note {
    text-align: center;
    width: 100%;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-subtext);
    padding-top: 1rem;
    border-top: 1px solid var(--color-black-05);
  }
  
  /* The recommended plan in your accent color. White text. */
  .coverage-package.recommended {
    background: var(--color-accent);
    color: var(--color-white);
  }
  
  .coverage-package.recommended h4 {
    color: var(--color-white);
  }
  
  .coverage-package.recommended ul li {
    color: var(--color-white);
  }
  .coverage-package.recommended ul li::before {
    color: var(--color-white);
  }
  
  /* The "Recommended" label at the top-right corner */
  .recommended-tag {
    position: absolute;
    top: -12px;
    /* right: 1rem; */
    background: var(--color-accent-secondary);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    box-shadow: 0 2px 5px var(--color-black-05);
  }
  
  /* If you have a “most homeowners choose” note near the bottom */
  .note {
    margin-top: auto;
    color: #f9f3ee; /* slightly lighter text on accent background */
    font-size: 0.9rem;
    padding-top: 1rem;
    opacity: 0.9;
    margin-bottom: 16px;
  }
  


   /****************************************
 * Quote Section (Home)
 ****************************************/
 .quote-section {
    background: var(--color-quote-section-bg); /* e.g. #16233a or your chosen color */
    color: var(--color-white);
    padding: 4rem 2rem; /* matches services/claims spacing */
    text-align: center;
  }
  
  /* Header area, akin to claims-header or services-header */
  .quote-header {
    max-width: 800px;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  /* A small badge up top, like .claims-badge or .price-badge */
  .quote-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background-color: var(--color-accent);
    color: #fff;
    font-size: 0.875rem;
    box-shadow: 0 1px 3px var(--color-black-05);
  }
  
  /* H2 for the main heading, p for subtle subtitle */
  .quote-header h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
  }
  
  .quote-subtitle {
    font-size: 1.2rem;
    max-width: 600px;

  }
  
  /* 
    The content container: 
    left side for "quote-details" (cards),
    right side for "quote-form".
  */
  .quote-content {
    display: flex
;
    flex-wrap: nowrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    flex-direction: row;
    justify-content: flex-start;

  }
  
  /* The left column with call/email boxes */
  .quote-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* more space between boxes */
  }
  
  /* Each box with icon + title, like .claim-card or .service-card */
  .quote-box {
    background: var(--color-quote-box-bg); /* e.g. #1c2b45 or something slightly lighter/darker */
    padding: 1.5rem;
    border-radius: 6px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 2px 5px var(--color-black-05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  /* Slight hover lift */
  .quote-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--color-black-08);
  }
  
  /* Icon + Title row, like .claim-card-header or .service-card-header */
  .quote-box-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  .quote-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
  }
  
  .quote-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
  }
  
  /* CONTACT FORM STYLES */
  form.quote-form-2{
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--color-black-05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  form.quote-form {
    gap: 24px;
    display: flex
;
    min-width: 457px;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: center;
  }
  
  /* Keep consistent spacing and styling for form fields */
  .quote-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  
  .quote-form .form-group label {
    font-weight: 600;
    color: var(--color-text);
  }
  
  .quote-form .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-input-border);
    font-size: 1rem;
    color: var(--color-text);
    transition: border-color 0.3s ease;
    border-radius: 8px;
  }
  
  /* Focus states with accent color outline */
  .quote-form .form-group input:focus,
  .form-group textarea:focus {
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 0 2px var(--color-accent-outline);
  }
  
  /* Button at full width, consistent with your other forms */
  .quote-form .btn-primary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .quote-section form.quote-form-2{
    margin: 0px;
    text-align: left;
    max-width: 630px;
    width: 100%;
    background-color: var(--color-quote-box-bg);
    color: white;
    border: none;
  }

  .quote-section form.quote-form-2 input{
    background-color: #313f59fa;
    border: none;
    color: white;
    

  }
  .quote-section form.quote-form-2 textarea{
    background-color: #313f59fa;
    border: none;
    color: white;
    

  }

  .quote-section form.quote-form-2 label{
    color: white;
  }
  
  /* RESPONSIVENESS */
  @media (max-width: 640px) {
    .claims-cta {
        margin-top: 2rem;
        display: flex
    ;
        gap: 1rem;
        justify-content: center;
        flex-direction: column;
    }
    .quote-header h2 {
      font-size: 2.2rem;
    }
  
    .quote-details {
      margin-bottom: 2rem; /* Some spacing before the form */
    }

    .quote-details {
        display: flex
    ;
        flex-direction: row;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .quote-content {
        display: flex
    ;
        flex-wrap: wrap;
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
        justify-content: center;
        flex-direction: row;
        justify-content: flex-start;
    }

    .quote-box {
        width: 100%;
    }
  }