/* Custom Table Style by mandy Ulat */
.custom-table-blue {
  border-collapse: collapse;
  width: 100%;
  /* max-width: 1000px; */
  margin: auto;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  border-radius: 0.5rem;
  overflow:  hidden;
}

.custom-table-blue thead {
  background-color: #007acc;
  color: white;
}

.custom-table-blue th, 
.custom-table-blue td {
  padding: 0.75rem 1rem; 
  text-align: left;
}

.custom-table-blue tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

.custom-table-blue tbody tr:nth-child(even) {
  background-color: #d9eaff; /* light blue */
}

.custom-table-blue tbody tr:hover {
  background-color: #a8cfff;
  /* transition: background-color 0.3s ease; */
   transform: translateX(4px); /* this is to make the row move */
}

 /* Cursor pointer on clickable rows */
  .custom-table-blue tbody tr[data-href] {
   cursor: pointer;
}

.nopadding
{
	padding: 0; 
}


.table_item_features 
	{
		display: flex;
		flex-wrap: wrap;
		gap: 0.5rem;
	}
        
.table_item_feature 
{
	background-color: #4299e1;
	color: white;
	padding: 0.25rem 0.5rem;
	border-radius: 0.25rem;
	font-size: 0.75rem;
}

.table_item_feature_pink
{
	background-color: #E6248A;
	color: white;
	padding: 0.25rem 0.5rem;
	border-radius: 0.25rem;
	font-size: 0.75rem;
}
.table_item_feature_green
{
	background-color: #3D854D;
	color: white;
	padding: 0.25rem 0.5rem;
	border-radius: 0.25rem;
	font-size: 0.75rem;
}

.table_item_feature_orange
{
	background-color: #F68B3C;
	color: white;
	padding: 0.25rem 0.5rem;
	border-radius: 0.25rem;
	font-size: 0.75rem;
}


.featured-product 
{
	position: relative;
}

.featured-badge 
{
	position: absolute;
	top: 0;
	right: 0;
	background-color: #dd6b20;
	font-weight: bold;
	color: white;
	padding: 0.25rem 0.5rem;
	font-size: 0.75rem;
	border-radius: 0 0 0 0.25rem;
}


	
/* Custom button Style by mandy Ulat */
     .btn-like {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: white;
    border: 2px solid #007bff;
    color: #007bff;
    padding: 0.8em 1.2em;
    border-radius: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    cursor: pointer;
    box-shadow:
      0 4px 6px rgba(0, 123, 255, 0.25),
      0 1px 3px rgba(0, 123, 255, 0.15);
    text-align: left;
    user-select: none;
    max-width: 280px; /* limit max width for wrapping */
    transition: background-color 0.3s ease, color 0.3s ease,
                box-shadow 0.3s ease, border-color 0.3s ease;
  }

  .btn-like:hover, .btn-like:focus {
    background-color: #007bff;
    color: white;
    border-color: #0056b3;
    box-shadow:
      0 8px 15px rgba(0, 86, 179, 0.4),
      0 4px 8px rgba(0, 86, 179, 0.3);
    outline: none;
  }

  .btn-like:active {
    background-color: #004494;
    border-color: #00306b;
    box-shadow:
      0 2px 6px rgba(0, 48, 107, 0.6);
  }

  .btn-like img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .btn-text {
    display: inline-block;
    line-height: 1.3;
  }
  .btn-text .line1 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
  }
  .btn-text .line2 {
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.2;
  }

/* Custom rounded box Style by mandy Ulat */
.rounded-box {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: white;
  border: 2px solid #272164;
  color: #272164; 
  padding: 0.8em 1.2em;
  border-radius: 14px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  user-select: none;
  max-width: 600px;
  text-align: left;
  width: 600px; 
  box-shadow:
    0 4px 6px rgba(0, 123, 255, 0.25),
    0 1px 3px rgba(0, 123, 255, 0.15);
}

.rounded-box img {
  width: 250px;
  height: 250px;
  object-fit:fill;
  flex-shrink: 0;
}

.rounded-box .box-text
{
  display: inline-block;
  line-height: 1.3;
  font-weight: 600;
}
.rounded-box .box-text .line1
 {
  border-bottom: 2px solid #272164;;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
}
.rounded-box .box-text .line2
 {
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.2;
}






/* Custom container with 4 pics box Style by mandy Ulat */
.topic-4pics-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 900px;
    margin: auto;
    padding: 20px;
  }
  .topic {
    margin-bottom: 50px;
  }
  .topic h2 {
    border-bottom: 3px solid #272164;
    padding-bottom: 8px;
    color: #272164;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
  }
  .image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
  }

  .image-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  }

 /* Features Section */
    .features {
        display: grid;
        grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
        gap: 2.5rem;
        margin-bottom: 5rem;
    }

    .autocentergrid
    {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(330px, max-content)); /* this auto fit the content */
        gap: 2.5rem;
        margin-bottom: 2rem;
		margin-top: 2rem;
        justify-content: center;
    }

    .card {
        background-color: #fff;
        /*border-radius: var(--border-radius); */
        border-radius: 14px;
        box-shadow: var(--shadow-medium);
        padding: 2rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        transition: box-shadow 0.3s ease;
		margin-bottom: 2rem;
		margin-top: 2rem;
    }

    .fixed-card 
    {
        background-color: #fff;
        /*border-radius: var(--border-radius); */
        border-radius: 14px;
        box-shadow:grey;
        border-width: thin;
        border-style: solid;
        border-color: #e2e8f0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        transition: box-shadow 0.3s ease;
        /* width: 300px;  this is not working because it will be align to the left on the grid not on the center */
        width: 330px; 
    }

    .fixed-card-detail
    {
        padding-left: 2rem;
        padding-right: 2rem;
        padding-bottom: 2rem;
    }

    .fixed-card h4
    {
        font-weight:bold;
        font-size: 1.3rem;
        color: var(--color-primary); 
        border-bottom: 2px solid #e2e8f0;  /*this is the line in between */
    }

   
    .card:hover
    ,.card:focus-within
    ,.fixed-card:focus-within
    ,.fixed-card:hover
    {
        box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    }

    .card .icon
    , .fixed-card .icon {
        font-size: 2rem;
        color: var(--color-primary);
        flex-shrink: 0;
        line-height: 1;
    } 

    .card .headerimage
    ,.fixed-card .headerimage
    {
        width: 100%;
        height: 200;
        object-fit:fill;
        transition: transform 0.4s ease;
        border-top-left-radius: 14px;
        border-top-right-radius: 14px;
        /* padding-bottom: 1rem;  this is the line in between */
        /* border-bottom: 1px solid #e2e8f0;  this is the line in between */
    }
    .card h3
    ,.fixed-card h3 {
        margin: 0;
        font-weight: 700;
        font-size: 1.5rem;
        color: var(--color-primary);
    }
   
  .card p
  ,.fixed-card p {
    margin: 0;
    color: var(--color-text);
    font-size: 14px;
    flex-grow: 1;
  }

.image-wrapper {

    margin: 1,1,1,1;
    border-radius: 25px; /*0.75rem;*/
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    box-shadow: 0 6px 12px rgb(0 0 0 / 0.1);
  }
 
 
 
 .div-center 
 {
	top: 50%;
	text-align: center;
	padding: 10px;
 }

 .full-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
  }
  .full-image img:hover,
  .full-image img:focus
	{
    transform: scale(1.05);
    outline: none;
  }


  /* benefit card for insurance */

.rounded-box2:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}


/* card with picture on left and details on right side*/

.rowcardstyle 
	{
		border-top: 5px solid #272164;
		display: flex;
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
		width: 500px;
		margin-bottom: 2rem;
		margin-top: 2rem;
    }


.rowcardstyle:hover
,.image-wrapper:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }
		
.rowcardstyle-image 
{
    flex: 1;
    min-height: 300px;
	width: 400px;
    position: relative;
}
.rowcardstyle-image img
{
    /*width: 100%;
    height: 100%; */
	width: 400px;
	height: 500px;
    object-fit:cover;
    display: block;
	
}
.rowcardstyle-content 
{
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
	width: 200px;
}


/*  list items with check mark*/
.check-item 
{
    position: relative;
    padding-left: 2rem;
}
        
.check-item ::before {
    content: "✓";
    position: absolute;
    left: 0;
	color: var(--accent);
	font-weight: bold;
}

/* cta inquire now */
.cta-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 24px;
}
.cta-heading 
{
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 24px;
}
.cta-text 
{
	font-size: 1.25rem;
	margin-bottom: 32px;
}
.cta-buttons 
{
	display: flex;
	flex-direction: column;
	gap: 16px;
	justify-content: center;
}


@media (min-width: 768px) {
    .cta-buttons {
	flex-direction: row;
	}
	}


.cta-button-primary {
    background: white;
    color: var(--primary);
    font-weight: bold;
    padding: 12px 32px;
    border-radius: 9999px;
    }


.cta-button-secondary {
	border: 2px solid white;
	color: white;
	font-weight: bold;
	padding: 12px 32px;
	border-radius: 9999px;
	}


/* page card */
.page-card 
{
	max-width: 1200px;
	margin: 40px auto;
	padding: 0 20px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	background: linear-gradient(135deg, var(--light-blue) 0%, white 100%);
}


.section-header 
{
	/* background: var(--primary-blue);*/
	background: #2D38A9
};
	padding: 25px 30px;
	color: white;
}
        
.section-header h2 {
	font-size: 28px;
	margin-bottom: 10px;
	position: relative;
	display: inline-block;
	color: white;
}


.section-header h2:after 
{
	content: '';
	position: absolute;
	bottom: -8px;
	left: 0;
	width: 60px;
	height: 4px;
	background-color: var(--accent-yellow);
	border-radius: 2px;
}
@media (max-width: 768px) 
{
	.content-grid {
		grid-template-columns: 1fr;
	}

	.section-header h2 {
		font-size: 24px;
	}
}

