/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: #2c3e50;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #feb224;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #e49f1e;
}

h1, h2, h3, h4 {
  margin-bottom: 20px;
  color: #2c3e50;
}

h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background-color: #feb224;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.5rem;
  color: #2c3e50;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 25px;
}

.nav-menu a {
  font-weight: 600;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #feb224;
}

.nav-menu .active {
  color: #feb224;
}

.cta-button {
  background-color: #2a94c2;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #2a94c2;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

/* Why Choose Us */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 3rem;
  color: #feb224;
  margin-bottom: 20px;
}

/* Insurance Categories */
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.insurance-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.insurance-card:hover {
  transform: translateY(-10px);
}

.insurance-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.insurance-card-content {
  padding: 20px;
}

.insurance-card h3 {
  margin-bottom: 15px;
}

.insurance-card p {
  margin-bottom: 15px;
}

/* Testimonials */
/* General Styles */
.testimonials {
  background-color: #f9f9f9;
  padding: 50px 0;
  text-align: center;
}

.testimonials .container {
  max-width: 900px;
  margin: 0 auto;
}

.section-title h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
}

/* Testimonial Slider Container */
.testimonial-container {
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.testimonial {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.testimonial.active {
  display: block;
  opacity: 1;
}

/* Testimonial Text */
.testimonial-text {
  font-size: 1.125rem;
  color: #555;
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-author {
  font-size: 1rem;
  color: #333;
  font-weight: bold;
}

/* Testimonial Navigation Dots */
.testimonial-nav {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #bbb;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.testimonial-dot.active {
  background-color: #007bff;
}

.testimonial-dot:hover {
  background-color: #0056b3;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
  .section-title h2 {
    font-size: 1.75rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .testimonial-author {
    font-size: 0.9rem;
  }
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 20px;
}

.blog-card-content p {
  margin-bottom: 20px;
}


.blog-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  color: #7f8c8d;
  font-size: 0.9rem;
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: white;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: white;
  margin-bottom: 20px;
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: #feb224;
  bottom: -10px;
  left: 0;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #bdc3c7;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #feb224;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #34495e;
  color: #bdc3c7;
}

/* About Page */
.about-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/page-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  height: 40vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
}

.about-hero h1 {
  color: #fff;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: #feb224;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: white;
  border: 4px solid #feb224;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

.right::after {
  left: -16px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.mission-vision-card {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.team-member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-member-content {
  padding: 20px;
}

.team-member h3 {
  margin-bottom: 5px;
}

.team-member p {
  color: #7f8c8d;
}

/* FAQ Page */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-search {
  margin-bottom: 40px;
}

.faq-search input {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.faq-category {
  margin-bottom: 30px;
}

.faq-category h3 {
  margin-bottom: 20px;
  color: #feb224;
}

.accordion {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-item {
  border-bottom: 1px solid #eee;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.accordion-header:hover {
  background-color: #f8f9fa;
}

.accordion-icon {
  transition: transform 0.3s;
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.accordion-content.active {
  padding: 20px;
  max-height: 500px;
}

.accordion-icon.active {
  transform: rotate(180deg);
}

/* Blog Page */
.blog-page-container {
 max-width: 1000px;
}

/*.blog-sidebar {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-section {
  margin-bottom: 30px;
}

.sidebar-section h3 {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.sidebar-section ul {
  list-style: none;
}

.sidebar-section ul li {
  margin-bottom: 10px;
}

.sidebar-section ul li a {
  color: #7f8c8d;
  transition: color 0.3s;
}

.sidebar-section ul li a:hover {
  color: #feb224;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background-color: #f1f2f6;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #7f8c8d;
  transition: background-color 0.3s, color 0.3s;
}

.tag:hover {
  background-color: #feb224;
  color: white;
}

/* Blog Post Page */
.blog-post-hero {
  height: 500px;
  position: relative;
}

.blog-post-hero img {
  
  height: 100%;
  object-fit: cover;
}

.blog-post-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.blog-post-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  color: #7f8c8d;
}

.blog-post-body {
  font-size: 1.1rem;
  line-height: 1.8;
}

.blog-post-body p {
  margin-bottom: 20px;
}

.related-posts {
  margin-top: 60px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* Contact Page */
.contact-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  height: 40vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
}

.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 40px 0;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trust-badge i {
  font-size: 2.5rem;
  color: #feb224;
  margin-bottom: 10px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.contact-info-card {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.contact-info-card i {
  font-size: 2rem;
  color: #feb224;
  margin-bottom: 15px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }
  
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }
  
  .left::after, .right::after {
    left: 15px;
  }
  
  .right {
    left: 0%;
  }
  
  .blog-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/********************Newsletter**************/

        .newsletter-section {
            margin: 30px 0;
            padding: 20px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .form-group {
            margin-bottom: 15px;
        }

        .form-group label {
            font-size: 14px;
            color: #333;
        }

        .form-group input,
        .form-group button {
            width: 100%;
            padding: 10px;
            margin-top: 5px;
            border-radius: 4px;
            border: 1px solid #ccc;
        }

        .form-group input[type="checkbox"] {
            width: auto;
        }

        

        .popup-form {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            width: 400px;
        }

        .popup-form input {
            width: 100%;
        }

        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            display: none;
        }

        .confirmation-message {
            display: none;
            text-align: center;
            color: green;
            font-size: 16px;
        }

        .close-popup {
            cursor: pointer;
            padding: 5px 10px;
            background-color: #f44336;
            color: white;
            border: none;
            margin-top: 15px;
        }

        .close-popup:hover {
            background-color: #e53935;
        }