/*General  Insurance*/

body {
    font-family: 'Public Sans', sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}


section {
    padding: 4rem 1rem;
}

.gi-section_title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}


.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.benefit {
    background-color: var(--accent-color);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 500;
    color: var(--text-primary);
}

.benefit i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}


/*Life Insurance*/



a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.li-section_title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}


.types-section {
    background-color: #eef5ff;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.grid-two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.grid-item {
    background: #fff;
    border-left: 5px solid var(--primary-color);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.grid-item h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}


.two-col-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.two-col {
    background-color: var(--accent-color);
    padding: 1.5rem;
    border-radius: 8px;
}

.two-col ul {
    padding-left: 1rem;
}

.two-col li {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .two-col-wrap {
        grid-template-columns: 1fr;
    }
}



/*Health Insurance*/
:root {
    --primary-color: #28a745;
    --secondary-color: #f5f5f5;
    --background-color: #ffffff;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --accent-color: #dff0e2;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* .highlight-section {
  background-color: var(--accent-color);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.two-column-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.type-card {
  background: #fff;
  padding: 1.5rem;
  border-left: 6px solid var(--primary-color);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.type-card:hover {
  transform: translateY(-4px);
}

.type-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
} */

.hi-section_title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.hi-highlight-section {
    background-color: var(--accent-color);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

/* Change this from flex to grid */
.hi-types-flex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.type-card {
    background: #fff;
    padding: 1.5rem;
    border-left: 6px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.type-card:hover {
    transform: translateY(-4px);
}

.type-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}


.vertical-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* Align to left for natural flow */
  gap: 0.5rem;                 /* Reduce space between items */
  padding: 0;                  /* Remove internal padding */
  margin: 0 auto;              /* Center block */
}

.vertical-banner span {
  flex: 1 1 calc(33.333% - 0.5rem); /* 3 per row on large, adjusts on small */
  text-align: center;
  padding: 0.5rem;
  font-weight: 600;
  color: #fff;
  border-radius: 4px;
  font-size: 0.85rem;
  white-space: nowrap;         /* Prevent breaking */
}

.info-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card {
    background: var(--accent-color);
    padding: 1.5rem;
    border-radius: 6px;
}

.info-card h4 {
    margin-bottom: 1rem;
}

.info-card ul {
    padding-left: 1.2rem;
}

.info-card li {
    margin-bottom: 0.5rem;
}


.footer-cta {
  background: linear-gradient(90deg, #e0f7fa, #e8f5e9);
  /* Light teal to green */
  text-align: center;
  padding: 30px 20px;
  font-family: 'Segoe UI', sans-serif;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin: 40px auto;
  max-width: 800px;
  color: #1b5e20;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-cta p {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #212121;
  font-weight: 700;
}

.footer-cta strong {
  font-size: 1.1rem;
  color: #2e7d32;
}

.animated-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 32px;
  border: 4px solid;
  border-color: transparent;
  font-size: 12px;
  margin-top: 20px;
  background-color: #1f387e;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  color: white;
  box-shadow: 0 0 0 2px #ffffff;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  text-decoration: none;
}

.animated-button svg {
  position: absolute;
  width: 24px;
  fill: white;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
  right: 16px;
}

.animated-button .arr-2 {
  left: -25%;
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 15px;
  height: 15px;
  background-color: #c5e5e4;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #212121;
  border-radius: 12px;
}

.animated-button:hover .arr-1 {
  right: -25%;
}

.animated-button:hover .arr-2 {
  left: 16px;
}

.animated-button:hover .text {
  transform: translateX(12px);
}

.animated-button:hover svg {
  fill: #1f387e;
}

.animated-button:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px greenyellow;
}

.animated-button:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}


@media screen and (max-width: 768px) {
  /* Card Grids (General Insurance) */
  .card-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .card {
    padding: 1rem;
    font-size: 1rem;
  }

  /* Benefits Grid */
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }

  /* Life Insurance Grid */
  .grid-two-column {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .grid-item {
    padding: 1rem;
  }

  /* Two-column wrap */
  .two-col-wrap {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .two-col {
    padding: 1rem;
  }

  /* Health Insurance Cards */
  .hi-types-flex {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .type-card {
    padding: 1rem;
  }

  /* Info Split Cards */
  .info-split {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .info-card {
    padding: 1rem;
  }

  /* Footer CTA */
  .footer-cta {
    padding: 20px 10px;
    font-size: 1rem;
    max-width: 95%;
  }

  .footer-cta p {
    font-size: 1.2rem;
  }

  .footer-cta strong {
    font-size: 1rem;
  }

  .animated-button {
    padding: 10px 24px;
    font-size: 13px;
  }

  .animated-button svg {
    width: 20px;
  }
}

@media only screen and (max-width: 600px) {

    .types-section {
    padding: 0 !important;
    margin: 0;
    border-radius: 0;
  }

  .grid-two-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 per row */
    gap: 0.5rem;
    padding: 0 !important;
    margin: 0 !important;
  }

  .grid-item {
    padding: 0.75rem !important;
    font-size: 13px !important;
    border-radius: 6px;
  }

  .grid-item h4 {
    font-size: 14px !important;
    margin-bottom: 4px;
  }

  .grid-item p {
    font-size: 12px !important;
  }

  .li-section_title {
    font-size: 1.25rem !important;
    padding: 0 0.5rem;
  }
  
  .benefit-grid {
    grid-template-columns: 1fr;
  }
    .hi-highlight-section {
    padding: 10px;            /* No internal padding */
    margin: 0px;             /* No outer margin */
    border-radius: 0;      /* Flush to screen edges */
  }

  .hi-types-flex {
    padding: 0 !important;
    margin: 0 !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem; /* reduce spacing between cards */
  }

  .type-card {
    padding: 0.5rem !important;
    font-size: 13px !important;
    border-radius: 4px;
    margin: 0; /* no extra margin around cards */
  }

  .type-card h4 {
    font-size: 13px !important;
    margin-bottom: 3px;
  }

  .type-card p {
    font-size: 11px !important;
    margin: 0;
  }

  .hi-section_title {
    font-size: 1.1rem !important;
    padding: 0.25rem 0.5rem;
    margin: 0 0 0.5rem 0;
  }
  .vertical-banner span {
    width: 100%;
    font-size: 0.95rem;
  }

  .hi-section_title,
  .li-section_title,
  .gi-section_title {
    font-size: 1.5rem;
  }

  .underlined-text {
    margin-left: 30px;
    font-size: 1.5rem;
  }
  .container-2 p{
    margin-left: 20px;
  }
}
