
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: Arial, sans-serif;
    }

    /*top header*/
    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 40px 80px; 
      background-color: #f0f6fc;
      border-bottom: 1px solid #0050a5;
      flex-wrap: wrap;
      gap: 200px;
    }
  
    .nav-left,
    .nav-right {
      display: flex;
      align-items: center;
      gap: 30px;
    }
  
    .nav-left {
      flex: 1;
      justify-content: flex-end; 
    }
  
    .nav-right {
      flex: 1;
      justify-content: flex-start; 
    }
  
    .nav-left a,
    .nav-right a {
      text-decoration: none;
      color: #000;
      font-weight: bold;
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: 16px;
      transition: color 0.3s ease;
    }
  
    .nav-left a:hover,
    .nav-right a:hover {
      color: #0050a5; 
    }
  
    .logo {
      text-align: center;
      font-size: 22px;
      font-weight: bold;
    }
  
    .logo span {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      font-size: 24px; 
    }
  
    .logo img {
      height: 40px; 
      vertical-align: middle;
    }
  
    @media (max-width: 768px) {
      header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
      }
  
      .nav-left,
      .nav-right {
        justify-content: center;
        margin: 10px 0;
        flex-wrap: wrap;
      }
  
      .logo {
        margin: 15px 0;
      }
    }




    /*hero section about*/
    
    .about-hero {
      position: relative;
      height: 450px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      overflow: hidden;
    }

    .about-hero img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
    }

    .dark-overlay {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 1;
    }

    .about-overlay {
      position: relative;
      z-index: 2;
      max-width: 800px;
      padding: 0 20px;
    }

    .about-overlay h1 {
      color: white;
      font-size: 38px;
      font-weight: bold;
      line-height: 1.3;
      margin: 0;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    }

    @media (max-width: 768px) {
      .about-overlay h1 {
        font-size: 26px;
      }
    }


/*video section*/
.final-expense-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 40px;
  max-width: 1200px;
  margin: auto;
}

.content {
  flex: 1 1 500px;
}

.content h2 {
  color: #0050a5;
  font-size: 32px;
  margin-bottom: 20px;
}

.content p {
  color: #292929;
  line-height: 1.6;
  margin-bottom: 10px;
}

.content ul {
  color: #292929;
  margin-top: 10px;
  padding-left: 20px;
}

.content ul li {
  margin-bottom: 8px;
}

.image {
  flex: 1 1 500px;
}

.image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .final-expense-section {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px;
  }
}
   
/*freequotes*/
section {
  padding: 40px 0;
}

.freequotes-heading {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  font-weight: bold;
  color: #0050a5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 20px;
}

.form-box {
  flex: 1;
  background-color: #fff;
  padding: 40px 40px 20px 40px;
  border-right: 1px solid #ddd;
}

.form-box h2 {
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: bold;
  color: #111;
}

.form-box p {
  color: #444;
  font-style: italic;
  margin-bottom: 30px;
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

form label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 15px;
  color: #222;
}

form input,
form select {
  padding: 10px;
  font-size: 15px;
  border: 1px solid #ccc;
  width: 100%;
}

.full-width {
  grid-column: 1 / -1;
}

.submit-btn {
  grid-column: 1 / -1;
  text-align: center;
}

.submit-btn button {
  background-color: #0050a5;
  color: white;
  font-weight: bold;
  padding: 12px 30px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  width: 300px;
}

.submit-btn button:hover {
  background-color: #007ab6;
}

.image-box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-box img {
  max-width: 100%;
  object-fit: cover;
}

.terms-box {
  font-size: 14px;
  color: #444;
  margin-top: -10px;
}

.terms-box a {
  color: #007bff;
  text-decoration: underline;
}

.terms-box label {
  font-weight: normal;
  display: flex;
  align-items: flex-start;
  line-height: 1.6;
}

.terms-box input[type="checkbox"] {
  margin-top: 5px;
  margin-right: 10px;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .form-box {
    border-right: none;
    border-bottom: 1px solid #ddd;
  }

  .image-box {
    padding: 20px 0;
  }
}
/*final expense*/

.faq-section {
  padding: 40px 40px 20px 40px;
}

.container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
  flex-wrap: wrap;
}

.text-content {
  flex: 2;
}

.image-content {
  flex: 1;
  display: flex;
  align-items: start;
  justify-content: center;
}

.image-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

h1 {
  color: #0050a5;
  font-size: 26px;
  margin-bottom: 20px;
}

h3 {
  color: #0050a5;
  font-size: 18px;
  margin-top: 25px;
}

ul {
  padding-left: 20px;
  margin-bottom: 30px;
}

ul li {
  margin-bottom: 10px;
}

a {
  color: #0050a5;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .image-content {
    margin-top: 30px;
    justify-content: center;
  }
}



/*table style*/
.rates-section {
  max-width: 1100px; 
  padding: 40px;
  color: #333;
  margin: 0 auto;
}

.rates-section h2 {
  color: #0050a5;
  font-size: 28px;
  margin-bottom: 10px;
}

.rates-section p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.rates-section h3 {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin: 30px 0 10px 0;
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  text-align: left;
}

.rates-table thead tr {
  background-color: #0050a5;
  color: white;
}

.rates-table th,
.rates-table td {
  padding: 12px 15px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.rates-table tbody tr.alt {
  background-color: #e0f2e9;
}

.rates-section .note {
  font-size: 14px;
  color: #555;
  font-style: italic;
}

/* ✅ Responsive Table Styles */
@media (max-width: 768px) {
  .rates-table thead {
    display: none;
  }

  .rates-table,
  .rates-table tbody,
  .rates-table tr,
  .rates-table td {
    display: block;
    width: 100%;
  }

  .rates-table tr {
    margin-bottom: 15px;
    border-bottom: 2px solid #ccc;
  }

  .rates-table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }

  .rates-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    font-weight: bold;
    text-align: left;
  }
}
/*chart*/
.funeral-section {
  padding: 40px;
  max-width: 1100px;
  margin-left: 70px;
}

.funeral-section h2 {
  color: #0050a5;
  font-size: 28px;
}

.funeral-section p {
  margin-top: 20px;
  font-size: 16px;
  margin-bottom: 20px;
}

.highlight-green {
  color: #0050a5;
  text-decoration: underline;
}

.funeral-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.funeral-left,
.funeral-right {
  flex: 1;
  min-width: 300px;
}

.funeral-box {
  background: #0050a5;
  padding: 20px;
  color: #fff;
  position: relative;
}

.funeral-box h3 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 15px;
}

.chart-img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.chart-note {
  color: #000;
  background: #fff;
  padding: 10px;
  font-weight: bold;
}

.funeral-right ul {
  list-style-type: disc;
  padding-left: 20px;
}

.bold-green {
  color: #0050a5;
  font-weight: bold;
}

.bold {
  font-weight: bold;
}

/* Responsive styles */
@media (max-width: 768px) {
  .funeral-content {
    flex-direction: column;
  }

  .funeral-section {
    padding: 20px;
  }

  .funeral-section h2 {
    font-size: 24px;
  }

  .funeral-section p {
    font-size: 15px;
  }

  .funeral-box h3 {
    font-size: 18px;
  }

  .chart-note {
    font-size: 14px;
  }
}



/*testimonial section*/

.testimonial-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #f0f6fc;
}

.testimonial {
  max-width: 800px;
  margin: 0 auto;
  display: none;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  padding: 0 10px;
}

.testimonial.active {
  display: block;
  opacity: 1;
}

.testimonial h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
  color: #333;
}

.stars {
  color: #f5c518;
  margin-bottom: 20px;
  font-size: 20px;
}

.testimonial p {
  font-style: italic;
  color: #444;
  font-size: 16px;
  line-height: 1.6;
}

.dots {
  margin-top: 30px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.dot.active {
  background-color: #607d8b;
}

/*responsive*/
@media (max-width: 600px) {
  .testimonial-section {
    padding: 40px 15px;
  }

  .testimonial h3 {
    font-size: 16px;
  }

  .stars {
    font-size: 18px;
  }

  .testimonial p {
    font-size: 14px;
  }

  .dot {
    height: 10px;
    width: 10px;
    margin: 0 3px;
  }
}


 /* Main Footer */
 .main-footer {
  background-color: #ffffff;
  padding: 40px 20px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  font-size: 14px;
  color: rgb(46, 46, 46);
  color: #0050a5;
  border-top: 1px solid #ddd;
}

.main-footer p {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
  padding: 0 10px;
}

.main-footer a {
  color: #0050a5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.main-footer a:hover {
  color: #bcdafa;
}

/* Responsive styles */
@media (max-width: 600px) {
  .main-footer {
    padding: 30px 15px;
    font-size: 13px;
  }

  .main-footer p {
    padding: 0 5px;
    font-size: 13px;
  }
}


/* Bottom Footer */
.bottom-footer {
  background-color: #f0f6fc;
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Segoe UI', sans-serif;
  font-size: 13px;
  color: #0050a5;
  border-top: 1px solid #ddd;
  flex-wrap: wrap;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-link {
  color: #0050a5;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #bcdafa;
}

.footer-icons a {
  margin-left: 12px;
  color: #0050a5;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

.footer-icons a:hover {
  color: #bcdafa;
}

/* Responsive behavior for smaller screens */
@media (max-width: 600px) {
  .bottom-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
  }

  .footer-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-links {
    flex-direction: column;
    gap: 6px;
  }

  .footer-icons a {
    margin-left: 0;
    margin-right: 12px;
  }
}

/*content*/
section.final-expense {
 margin-left: 70px;
  padding: 40px 20px 40px 20px;
  
}

section.final-expense h2 {
  color: #0050a5;
  font-size: 26px;
  margin-bottom: 20px;
}

section.final-expense p {
  line-height: 1.7;
  margin-bottom: 15px;
}

section.final-expense strong {
  font-weight: bold;
}

section.final-expense a {
  color: #0050a5;
  text-decoration: none;
}

section.final-expense a:hover {
  text-decoration: underline;
}



section.final-expense-seniors {
 margin-left: 70px;
  padding: 20px 30px;

}

section.final-expense-seniors h2 {
  color: #0050a5;
  font-size: 26px;
  margin-bottom: 20px;
}

section.final-expense-seniors p {
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 16px;
}

section.final-expense-seniors strong {
  font-weight: bold;
}

section.final-expense-seniors em {
  color: #0050a5;
  font-style: normal;
  font-weight: bold;
}

section.final-expense-seniors .highlight {
  color: #0050a5;
  font-weight: normal;
}

/* Responsive styles */
@media (max-width: 768px) {
  section.final-expense-seniors {
    padding: 20px 20px;
    margin: 20px 10px;
  }

  section.final-expense-seniors h2 {
    font-size: 22px;
    line-height: 1.3;
  }

  section.final-expense-seniors p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  section.final-expense-seniors {
    padding: 15px 15px;
  }

  section.final-expense-seniors h2 {
    font-size: 20px;
  }

  section.final-expense-seniors p {
    font-size: 14px;
  }
}

/*privacypolicy*/
.privacy-section {
  
  
  padding: 40px 20px;
  margin-left: 70px;
  margin-right: 70px;
  font-size: 16px;
  color: #3e3e3e;
  line-height: 1.7;
  background-color: #fff;
}

.privacy-section h1,
.privacy-section h3 {
  color: #0050a5;
  font-weight: 600;
  margin-top: 30px;
}

.privacy-section ul {
  margin: 10px 0 20px 20px;
  padding: 0;
  list-style-type: '– ';
}

.privacy-section li {
  margin-bottom: 8px;
}

.privacy-section a {
  color: #0050a5;
  text-decoration: none;
}

@media (max-width: 768px) {
  .privacy-section {
    padding: 20px 15px;
    font-size: 15px;
  }

  .privacy-section h2,
  .privacy-section h3 {
    font-size: 18px;
  }
}


   /* terms&condition */
   .terms-section {
    padding: 40px 20px;
  margin-left: 70px;
  margin-right: 70px;
  font-size: 16px;
  color: #3e3e3e;
  line-height: 1.7;
  background-color: #fff;
  }
  
  .terms-section h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: left;
    color: #0050a5;
  }
  
  .terms-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #0050a5;
  }
  
  .terms-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #444;
  }
  
  /* Responsive tweaks */
  @media (max-width: 768px) {
    .terms-section {
      padding: 30px 4vw;
    }
  
    .terms-section h1 {
      font-size: 1.75rem;
    }
  
    .terms-content h3 {
      font-size: 1rem;
    }
  
    .terms-content p {
      font-size: 0.95rem;
    }
  }
  
  @media (max-width: 480px) {
    .terms-section {
      padding: 25px 3vw;
    }
  
    .terms-section h1 {
      font-size: 1.5rem;
    }
  
    .terms-content p {
      font-size: 0.9rem;
    }
  }



  .contact-container {
    padding: 40px 20px;
    margin-left: 70px;
    margin-right: 70px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .contact-form-box {
    flex: 1 1 60%;
  }

  .contact-form-box h2 {
    margin-bottom: 20px;
    font-size: 30px;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .contactrow {
    display: flex;
    gap: 15px;
  }

  .contactrow input {
    flex: 1;
  }

  input, textarea {
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
  }

  textarea {
    resize: vertical;
    height: 180px;
  }

  button {
    width: 150px;
    padding: 12px;
    background-color: #0b2e4e;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
  }

  .contact-info-box {
    flex: 1 1 35%;
    background-color: #f2f6fe;
    padding: 30px;
    border-radius: 10px;
  }

  .contact-info-box h3 {
    margin-bottom: 20px;
  }

  .contact-info-box p {
    margin: 10px 0;
  }

  .contact-info-box i {
    margin-right: 10px;
    color: #0b2e4e;
  }

  @media (max-width: 768px) {
    .contact-container {
      flex-direction: column;
    }

    .row {
      flex-direction: column;
    }

    button {
      width: 100%;
    }
  }


  /*marketing*/
  .marketing-container {
   
   
    max-width: 1200px;
    margin: auto;
  }

  .marketing-container h2 {
    margin-top: 40px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #0050a5;
  }

  .marketing-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
  }

  .marketing-column {
    flex: 1;
    min-width: 250px;
  }

  .marketing-column ul {
    list-style-type: disc;
    padding-left: 20px;
  }

  .marketing-column li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #000;
  }

  @media (max-width: 768px) {
    .marketing-columns {
      flex-direction: column;
    }
  }
  