
/* ---------------------------
   BASE (mobile-first <576px)
---------------------------- */

.ef-hero-home {
	
	position: relative;
	overflow: hidden;
  	display: flex;
  	align-items: center;
  
  	width: 100%;
  	height: 462px;
      
  	margin-left: auto;
  	margin-right: auto;
    background-image:

      /* --- TOP FADE --- */
        linear-gradient(
	      to bottom,
	      #003b4b 0px,
	      rgba(0,59,75,0.95) 20px,
	      rgba(0,59,75,0.75) 50px,
	      rgba(0,59,75,0.45) 90px,
	      rgba(0,59,75,0.15) 120px,
	      rgba(0,59,75,0) 150px
	    ),

      var(--hero-bg);

    background-size: cover;
    background-position: center;    
}

/* Uniform see-through overlay */
.ef-hero-home::after{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 59, 75, 0.70);
    pointer-events: none;
    z-index: 1;
    opacity: 1; 
  	transition: opacity .2s ease;  
}

.ef-hero-home__content{
	
	position: relative;
  	z-index: 2;
  	
  	padding: 28px 18px;
  	max-width: 100%;
  	
  	
  	
  	width: max-content; /* shrink to content width */
  	margin-left: auto;
  	margin-right: auto; 
}

.ef-hero-home__title,
.ef-hero-home__lead,
.ef-hero-home__link{
  	color: #fff !important;
}
  
.ef-hero-home__title { 
	
	text-align: center;
	font-weight: 700;
	line-height: 1.1;
	margin: 0 0 18px 0;
	font-size: 28px;
	text-shadow:
        0 2px 4px rgba(0, 59, 75, 0.8),
        0 6px 16px rgba(0, 59, 75, 0.4);
}

.ef-hero-home__title .highlight {
	color: var(--secondary-color);
}

.ef-hero-home__lead {
	
	text-align: center;
  	font-size: 19px;
  	line-height: 1.55;
  	margin: 0 0 28px 0;
  	max-width: 500px;
  	text-shadow:
		0 2px 4px rgba(0, 59, 75, 0.8),
        0 6px 16px rgba(0, 59, 75, 0.4);
}

.ef-hero-home__bullets {
	
	display: flex;
	flex-direction: column;
	gap: 14px;
	
	width: max-content; /* shrink to widest row */
	margin: 16px auto 32px auto;
	align-items: flex-start;
}

.ef-hero-home__bullet {
	
	display: flex;
	align-items: center;
	gap: 14px;
	
	font-size: 18px;
	font-weight: 500;
	color: #fff;
	text-shadow:
		0 2px 4px rgba(0, 59, 75, 0.8),
	 	0 6px 16px rgba(0, 59, 75, 0.4);
	
	white-space: nowrap;
}

.ef-hero-home__icon {
	width: 32px;
	height: 32px;
	min-width: 32px;
	border-radius: 50%;
	
	display: flex;
	align-items: center;
	justify-content: center;
	
	/* Solid brand tone (slightly lighter than #003b4b so it stands out) */
	background-color: #0f5c6e;
	
	/* Depth */
	box-shadow:
		0 4px 12px rgba(0,0,0,0.35),
		0 0 10px rgba(0,140,170,0.25);
	
	position: relative;
}

/* Subtle inner ring */
.ef-hero-home__icon::after {
	
	content: "";
	position: absolute;
	inset: 2px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.15);
	pointer-events: none;
}

/* Check icon */
.ef-hero-home__icon i {
	
	color: var(--secondary-color);
	font-size: 14px;
}

/* Micro-interaction */
.ef-hero-home__bullet:hover .ef-hero-home__icon {
	transform: scale(1.07);
	transition: transform .2s ease;
}

/* ACTIONS */
.ef-hero-home__actions {
	
	display: flex;
	gap: 18px;
	align-items: center;
	flex-wrap: nowrap;
	
	width: max-content; /* shrink to button width */
	margin: 0 auto;
}

.ef-hero-home__btn {
	
	padding: 10px 20px;
	font-weight: 600;
	border-radius: 8px;
}

.ef-hero-home__link {
	
	font-weight: 600;
	text-decoration: none;
	padding-left: 0;
	padding-right: 0;
}

.ef-hero-home__link:hover {
	
	text-decoration: underline;
}
  
/* ---------------------------
   ≥576px
---------------------------- */
@media (min-width: 576px) {

	.ef-hero-home {
	  	height: 508px;
	}  
	.ef-hero-home__title { 
		font-size: 32px; 
		line-height: 1.2;
	}
	.ef-hero-home__lead{
	  	font-size: 22px;
	}  
}

/* ---------------------------
   ≥768px
---------------------------- */
@media (min-width: 768px) {


	.ef-hero-home {	  
	  	height: 660px;	  
  	}
  	.ef-hero-home__title { 		
	  	font-size: 40px;
	  	line-height: 1.3;
	}
	.ef-hero-home__lead {
	  	font-size: 24px;
	}  
}

/* ---------------------------
   ≥992px
---------------------------- */
@media (min-width: 992px) {

	.ef-hero-home {
	
	    height: 700px;
	    /*padding-top: 90px;*/  
	    width: calc(100% + 90px);
	    margin-left: 0;  
	    margin-right: -90px;
	    
	    background-image:
	
	    /* --- TOP FADE --- */
	    linear-gradient(
	      to bottom,
	      #003b4b 0px,
	      rgba(0,59,75,0.95) 20px,
	      rgba(0,59,75,0.75) 50px,
	      rgba(0,59,75,0.45) 90px,
	      rgba(0,59,75,0.15) 120px,
	      rgba(0,59,75,0) 150px
	    ),
	    
	   	/* --- RIGHT FADE --- */
		linear-gradient(
		  to left,
		  #003b4b 0px,
		  rgba(0,59,75,0.95) 20px,
		  rgba(0,59,75,0.75) 50px,
		  rgba(0,59,75,0.45) 90px,
		  rgba(0,59,75,0.15) 120px,
		  rgba(0,59,75,0) 150px
		),
	
	    /* --- LEFT BLEND --- */
	    linear-gradient(
	      90deg,
	      #003b4b 0%,
	      #003b4b 26%,
	      rgba(0,59,75,0.85) 35%,
	      rgba(0,59,75,0.45) 45%,
	      rgba(0,59,75,0.15) 55%,
	      rgba(0,59,75,0) 65%
	    ),
	
	    var(--hero-bg);
	
	  	background-size: cover;
	  	background-position: center right;
	  	background-repeat: no-repeat;
    
	}
	
	.ef-hero-home::after{
	    opacity: 0;
	}
	
	.ef-hero-home__content {
  		padding: 48px;
  		max-width: 640px;
  		
  		margin-left: 0;
  		margin-right: 0;
  	}
  
	.ef-hero-home__title { 
		text-align: left;
		font-size: 42px;
		line-height: 1.4;
		margin-bottom: 40px
	}
	
	.ef-hero-home__lead {
		text-align: left;
		font-size: 24px;
		margin-bottom: 40px
	}
	
	.ef-hero-home__bullets{
	    width: auto; /* go back to normal */
	    margin: 0 0 40px 0;
	 }
	
	 .ef-hero-home__bullet{
	  	font-size: 22px;
	    white-space: normal; /* allow wrapping if needed */
	 }
 
 	.ef-hero-home__actions{
		width: auto; /* normal width */
		margin: 0 0 40px 0;
	 }
}

/* ---------------------------
   ≥1200px
---------------------------- */
@media (min-width: 1200px) {
	  	
	.ef-hero-home {	
	    height: 700px;
	    padding-left: 40px
	}
	
	.ef-hero-home__title { 
		font-size: 48px;
	}
	
	.ef-hero-home__lead {
		font-size: 27px;
	}	
}

/* ---------------------------
   ≥1400px
---------------------------- */
@media (min-width: 1400px) {

	.ef-hero-home {	
	    padding-left: 60px
	}	
}
  
  