/*--------------------- Google fonts ------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


/* --------------------- CSS Global variables ------------*/
:root
{
	/*------------ Colors -------------*/
	--primary-color: #963cdd;     /*---- Purple ----*/
	--secondary-color: #1668b8;   /*---- Blue ------*/
	--third-color: #000000;       /*----- Black ------*/
	--fourth-color: #ffffff;      /*---- White ------*/
	--blue-color: #2540ce;    /*---- Button Blue -----*/
	--yellow-color: #fcb900;  /*---- Button Yello ----*/


	/*------------ Font Size --------------*/
	--heading-font-size: 1.5rem;
	--paragraph-font-size: 1rem;
}

*
{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html
{
	font-size: 16px;
}

body
{
	font-family: 'Poppins', sans-serif;
}

.container
{
	padding: 2rem;
}

.heading
{
	font-size: 2.2rem;
	font-weight: 600;
	line-height: 1.2;
	padding: 1rem 0;
}

.sub-heading
{
	color: var(--secondary-color);
	font-size: 1rem;
	font-weight: 500;
	text-transform: uppercase;
}

img
{
	max-width: 100%;
	height: 80px;
}

h1, h2, h3, h4, h5, h6
{
	font-family: 'Poppins', sans-serif;
}

p
{
	font-family: 'Inter', sans-serif;
}

.white
{
	color: #ffffff;
}

.para-line
{
	font-size: 1rem;
	line-height: 1.5;
}

.btn
{
	padding: 0.8rem 2rem;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.btn a
{
	font-size: 1rem;
	font-weight: 500;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 1px;
}


/*-------------------------- Menu style -------------------------*/
.menu-container
{
  width: 1152px;
  max-width: 90%;
  margin: 0 auto;
}

.nav-wrapper
{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-wrapper ul.nav-list
{
  list-style-type: none;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-wrapper ul.nav-list li 
{
  margin-left: 30px;
  padding: 20px 0;
  position: relative;
}

.nav-wrapper ul.nav-list li a
{
  color: var(--third-color);
  text-decoration: none;
  letter-spacing: 1px;
  transition: all .5s ease-in-out;
}

.nav-wrapper ul.nav-list li a:hover, .nav-wrapper ul.nav-list li.active a
{
  color: var(--blue-color);
}

nav ul.dropdown-list
{
  list-style-type: none;
  display: block;
  background: whitesmoke;
  padding: 6px 16px;
  position: absolute;
  width: max-content;
  z-index: 9999;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
}

.nav-wrapper ul.dropdown-list li
{
  margin-left: 0;
  padding: 5px 0;
}

.nav-wrapper ul.dropdown-list li a
{
  color: var(--third-color);
}

.nav-wrapper ul.nav-list li:hover .dropdown-list
{
  opacity: 1;
  pointer-events: auto;
  animation: moveUp .5s ease-in-out forwards;
}


.nav-wrapper .nav-list li .btn a
{
	color: var(--fourth-color);
}

.nav-wrapper .nav-list li .btn:hover a
{
	color: var(--third-color);
}

@keyframes moveUp
{
  0%
  {
    opacity: 0;
    transform: translateX(-50%) translateY(50px);
  }
  100%
  {
    opacity: 1;
    transform: translateX(-50%) translateY(20px);
  }
}

.hamberger
{
  display: none;
}

.mobile .hamberger
{
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  cursor: pointer;
}

.mobile .hamberger span
{
  background: var(--third-color);
  width: 28px;
  height: 2px;
  margin-bottom: 8px;
}

.mobile ul.nav-list
{
  background: -webkit-linear-gradient(45deg, #f5f6fa, #dcdde1);
  background: linear-gradient(45deg, #f5f6fa, #dcdde1);
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  opacity: 0;
  pointer-events: none;
  transition: All .3s ease-in-out;
}

.hamberger, .brand
{
  z-index: 9999;
}

.mobile ul.nav-list.open
{
  opacity: 1;
  pointer-events: auto;
  z-index: 999;
  overflow-y: auto;
}


.mobile .hamberger span
{
  transform-origin: left;
  transition: all .3s ease-in-out;
}

.mobile ul.nav-list li a
{
  font-size: 20px;
}

.mobile ul.dropdown-list
{
  position: relative;
  background: transparent;
  text-align: center;
  height: 0;
  overflow-y: hidden;
  transition: opacity 1s ease-in-out;
  padding-top: 0;
}

.mobile .nav-wrapper ul li:hover .dropdown-list
{
  height: max-content;
  padding-top: 6px;
}

.mobile ul.nav-list li
{
  margin-left: 0;
  text-align: center;
}

.mobile .nav-wrapper ul.dropdown-list li a
{
  color: #7f8fa6;
}

.mobile .nav-wrapper ul.dropdown-list li a:hover
{
	color: var(--third-color);
}
/*-------------------------- Menu style -------------------------*/


/*----------- Scroll to top --------------*/
#topBtn
{
  position: fixed;
  bottom: 40px;
  right: 40px;
  font-size: 22px;
  width: 40px;
  height: 40px;
  background: var(--blue-color);
  color: white;
  border: none;
  cursor: pointer;
  display: none;
}

#topBtn ion-icon
{
	color: #fff;
}
/*----------- Scroll to top --------------*/

/*-------- Blue button ---------*/
.btn-blue
{
	background: var(--blue-color);
	transition: 0.3s ease-in-out;
}

.btn-blue:hover
{
	background: var(--yellow-color);
}

.btn-blue a
{
	color: var(--fourth-color);
}

.btn-blue:hover > a
{
	color: var(--third-color);
}

.btn-blue
{
	background: var(--blue-color);
	transition: 0.3s ease-in-out;
}

.btn-blue:hover
{
	background: var(--yellow-color);
}

.btn-blue a
{
	color: var(--fourth-color);
}

.btn-blue:hover > a
{
	color: var(--third-color);
}

/*---------- Yellow btn ----------*/
.btn-yellow
{
	background: var(--yellow-color);
	transition: 0.3s ease-in-out;
}

.btn-yellow:hover
{
	background: var(--blue-color);
}

.btn-yellow > a
{
	color: #000;
}

.btn-yellow:hover > a
{
	color: var(--fourth-color);
}

.btn-yellow
{
	background: var(--yellow-color);
	transition: 0.3s ease-in-out;
}

.btn-yellow:hover
{
	background: var(--blue-color);
}

.btn-yellow a
{
	color: var(--third-color);
}

.btn-yellow:hover > a
{
	color: var(--fourth-color);
}

/*------------ Full width button ------------*/
.btn-full-w
{
	padding: 1.2rem 2rem;
	display: block;
	width: 100%;
	box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}



/* ----------------- Hero section styling ---------------- */
/* ----------------- Hero section styling ---------------- */
.hero {
	background: linear-gradient(rgba(150, 60, 221, 0.4), rgba(22, 104, 184, 0.9)),
		url("../img/Insurancee.jpg");
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
}

/* Adjust hero content positioning */
.hero .hero-container {
	width: 100%;
	height: 90vh;
	display: flex;
	justify-content: flex-start;
	align-items: center; /* lifted slightly higher */
	padding-top: 3rem;
}

/* Layout */
.hero-container .row > .col {
	display: flex;
	flex-direction: column;
	gap: 1.4rem;
}

.hero-content {
	padding: 0 2rem;
}

/* Headings */
.hero-heading {
	font-size: 2.8rem;
	line-height: 1.1;
	text-align: center;
}

.hero-heading .brand-title {
	display: block;
	width: 100%;
	font-size: 1.9rem;
	font-weight: 800;
	margin-bottom: 1.2rem;
	white-space: nowrap;
	text-align: center;
	color: #fff;
	letter-spacing: 0.5px;
}

/* Paragraph */
.para-line {
	font-size: 1rem;
	line-height: 1.6;
	text-align: center;
}

/* ---------- Responsive Tuning ---------- */
@media (max-width: 900px) {
	.hero-heading {
		font-size: 2.2rem;
	}

	.hero-heading .brand-title {
		font-size: 1.6rem;
		white-space: normal; /* allow wrap if needed */
	}
}

@media (max-width: 600px) {
	.hero .hero-container {
		align-items: flex-start; /* move text higher on phones */
		padding-top: 6rem;
	}

	.hero-content {
		padding: 0 1.2rem;
	}

	.hero-heading {
		font-size: 2rem;
		line-height: 1.15;
	}

	.hero-heading .brand-title {
		font-size: 1.5rem;
		margin-bottom: 0.8rem;
	}

	.para-line {
		font-size: 0.95rem;
		line-height: 1.5;
	}
}




/*----------------- Hero section styling ----------------*/


/*----------------- Why Us section styling ---------------*/
.why-us
{
	background-image: linear-gradient(
	  155deg,
	  hsl(215deg 100% 98%) 0%,
	  hsl(215deg 100% 98%) 30%,
	  hsl(215deg 100% 98%) 38%,
	  hsl(215deg 100% 98%) 43%,
	  hsl(215deg 100% 98%) 47%,
	  hsl(215deg 100% 98%) 48%,
	  hsl(215deg 100% 98%) 50%,
	  hsl(215deg 100% 98%) 50%,
	  hsl(215deg 100% 99%) 50%,
	  hsl(215deg 100% 99%) 50%,
	  hsl(215deg 100% 99%) 50%,
	  hsl(215deg 100% 99%) 50%,
	  hsl(215deg 100% 99%) 50%,
	  hsl(215deg 100% 99%) 50%,
	  hsl(215deg 100% 99%) 50%,
	  hsl(215deg 100% 99%) 50%,
	  hsl(215deg 100% 99%) 51%,
	  hsl(215deg 100% 100%) 53%,
	  hsl(215deg 100% 100%) 55%,
	  hsl(215deg 100% 100%) 60%,
	  hsl(215deg 100% 100%) 68%,
	  hsl(0deg 0% 100%) 96%
	);
}

.why-us-col ion-icon
{
	font-size: 2rem;
	color: var(--fourth-color);
	background: var(--yellow-color);
	padding: 1rem;
	border: none;
	border-radius: 50px;
}

.why-us-highlight-heading
{
	font-size: 1.4rem;
	font-weight: 600;
}

.lead-form
{
	border: none;
	border-radius: 12px;
	margin: 2.5rem 0;
	padding: 3rem 1.6rem;
	box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}

.input-field
{
	display: flex;
	flex-direction: column;
	margin: 1rem 0;
}

.input-field label
{
	font-size: 0.8rem;
	font-weight: 600;
	margin: 0.3rem 0;
	text-transform: uppercase;
}

.input-field input
{
	font-size: 1rem;
	border: none;
	border-radius: 5px;
	padding: 1rem;
	background: #f3f8ff;
}
/*----------------- Why Us section styling ---------------*/



/*----------------- Services section styling ---------------*/
.service-img
{
	border-radius: 5px;
	margin: 0 0 2rem 0;
}

.our-services .services
{
	margin: 2rem 0;
}

.services .service
{
	border: none;
	border-radius: 10px;
	margin: 1.5rem 0;
	padding: 1.8rem;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

.services .service:hover
{
	box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
}

.service ion-icon
{
	color: var(--yellow-color);
	font-size: 2.6rem;
}

.service .service-heading
{
	font-weight: 600;
}
/*----------------- Services section styling ---------------*/



/*----------------- Overline section styling ---------------*/
.overline
{
	background: linear-gradient(rgba(10, 17, 79, 0.9), rgba(10, 17, 79, 0.9)), url("../img/Insurancee.jpg");
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	text-align: center;
}

.insurance-policies
{
	border-radius: 6px;
}

.overlines .row .col
{
	margin: 2.6rem 0;
}

.overlines .row .col ion-icon
{
	font-size: 2.6rem;
}

.overline-heading
{
	color: var(--yellow-color);
	font-size: 1.3rem;
	font-weight: 600;
}
/*----------------- Overline section styling ---------------*/


/*----------------- About us section styling ---------------*/
.about-highlights
{
	margin: 2rem 0;
}

.about-highlight-line
{
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 1rem 0;
}

.highlight-line-heading
{
	font-size: 1rem;
	font-weight: 600;
}

.partners
{
	margin: 2rem 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Adjusts based on available space */
    gap: 2rem; /* Adds space between items */
    justify-items: center; /* Centers the images horizontally */
}

.partner-img {
    width: 150px; /* Set a fixed width for the images */
    height: 150px; /* Set a fixed height for the images */
    object-fit: contain; /* Ensures the image retains its aspect ratio and fits within the container */
    display: block;
    margin: 0 auto; /* Centers the image in its container */
}

/*----------------- About us section styling ---------------*/



/*----------------- Testimonial section styling --------------*/
.testimonial
{
	background: linear-gradient(rgba(10, 17, 79, 0.9), rgba(10, 17, 79, 0.9)), url("../img/Insurancee.jpg");
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	text-align: center;
}

.testimonial-profile
{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	margin: 1rem;
}

.profile-img
{
	border-radius: 50px;
}

.client-name
{
	font-size: 1rem;
	font-weight: 600;
	text-align: left;
}

.client-location
{
	text-align: left;
}

.stars ion-icon
{
	color: var(--yellow-color);
}
/*----------------- Testimonial section styling --------------*/


/*----------------- Agent card styling -----------------------*/
.agent-card
{
	text-align: center;
}

.agent-img
{
	border-radius: 50%;
}

.agent-name
{
	font-size: 2rem;
	font-weight: 600;
}

.agent-number, .agent-email
{
	margin: 1rem 0;
	font-size: 0.9rem;
}
/*----------------- Agent card styling -----------------------*/


/*----------------- Footer styling ------------------*/
footer
{
	background: #251963;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0.6rem 0;
}
/*----------------- Footer styling ------------------*/






/*--------------------------------------------------------------*/
/*-------------------- Desktop Screen Styling ------------------*/
/*--------------------------------------------------------------*/
@media screen and (min-width: 789px)
{
	.container, .hero-container
	{
		max-width: 1180px;
		margin: 0 auto;
	}

	.container
	{
		padding: 4rem 0;
	}

	.heading
	{
		font-size: 3.2rem;
	}

	.para-line
	{
		line-height: 1.8;
	}

	.sub-heading
	{
		font-size: 1rem;
	}

	.row
	{
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		gap: 2rem;
	}

	.row .col
	{
		width: 100%;
	}

	.inner-row
	{
		display: flex;
		gap: 2rem;
	}


	/*-------------- Hero section styling ------------------*/
	.hero-container .row > .hero-content
	{
		width: 140%;
	}

	.hero-heading
	{
		font-size: 4rem;
	}

	.hero
	{
		background: linear-gradient(rgba(150, 60, 221, 0.2), rgba(13, 14, 56, 0.9)), url("../img/Insurancee.jpg");
		background-position: center top;
		background-repeat: no-repeat;
		background-size: cover;
	}
	/*-------------- Hero section styling ------------------*/


	/*-------------- Why us styling ---------------------*/
	.why-us .container .row
	{
		gap: 5rem;
	}

	.why-us .container .row .why-us-content
	{
		width: 150%;
	}

	.why-us-content .inner-row
	{
		margin-top: 2rem;
	}

	.lead-form
	{
		background: var(--fourth-color);
		padding: 3rem !important;
	}

	.input-field
	{
		margin: 1.5rem 0;
	}
	/*-------------- Why us styling ---------------------*/


	/*-------------- Services section styling --------------*/
	.our-services
	{
		text-align: center;
	}

	.our-services .container .head-desc
	{
		max-width: 66%;
		margin: 0 auto;
	}

	.services, .partners-grid
	{
		display: grid;
		grid-template-rows: repeat(2, 1fr);
		grid-template-columns: repeat(3, 1fr);
		grid-gap: 2rem;
	}
	/*-------------- Services section styling --------------*/



	/*-------------- About section styling ------------------*/
	.about .container .row
	{
		gap: 4rem;
	}

	.partners
	{
		margin-top: 4rem;
	}
	/*-------------- About section styling ------------------*/


	/*-------------- Testimonial section styling ---------------*/
	.testimonial .container .para-line
	{
		max-width: 840px;
		margin: 0 auto;
		font-size: 1.1rem;
	}

	.testimonial
	{
		padding: 4rem 0;
	}
	/*-------------- Testimonial section styling ---------------*/
	.enquiry-section {
		background: linear-gradient(rgba(10, 17, 79, 0.9), rgba(10, 17, 79, 0.9)), url("../img/Insurancee.jpg");
		padding: 30px;
		margin: 20px auto;
		max-width: 600px;
		border-radius: 8px;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
		text-align: center;
		color: white;
		width: 90%; /* Ensures it takes full width on smaller screens */
		box-sizing: border-box; /* Prevents unwanted overflow */
	}
	
	.enquiry-section h2 {
		color: white;
		margin-bottom: 20px;
	}
	
	form {
		display: flex;
		flex-direction: column;
		width: 100%;
	}
	
	input, textarea {
		width: 100%; /* Ensures inputs and textareas take full width */
		padding: 12px;
		margin: 10px 0;
		border: 1px solid #ccc;
		border-radius: 5px;
		font-size: 16px;
		color: black;
		background-color: rgba(255, 255, 255, 0.9); /* Improved contrast */
		box-sizing: border-box;
	}
	
	/* Ensure proper spacing and usability */
	textarea {
		resize: vertical;
		min-height: 120px;
	}
	
	button {
		background-color: #007BFF;
		color: white;
		padding: 12px;
		border: none;
		border-radius: 5px;
		font-size: 16px;
		cursor: pointer;
		transition: background 0.3s;
		width: 100%;
		box-sizing: border-box;
	}
	
	button:hover {
		background-color: #0056b3;
	}
	
	@media (max-width: 768px) {
		.message-container {
		  display: flex;
		  align-items: center;
		  width: 100%;
		  flex-direction: column; /* Ensures elements stack on smaller screens */
		}
	  
		.message-label {
		  width: 100%;
		  text-align: left; /* Aligns label properly */
		  margin-top: 0px; /* Adds spacing */
		}
	  
		.message-textarea {
		  width: 100% !important; /* Ensures full width */
		  min-height: 100px; /* Adjust as needed */
		  box-sizing: border-box; /* Prevents overflow issues */
		}
	  
		.submit-button {
		  color: white !important;
		  align-items: center;
		  width: 100%; /* Ensures button spans full width if needed */
		}
	}
	
  }
  
