
/* ==========================================================================
   05. HERO SECTION
   ========================================================================== */
/* ==========================================
   HERO
   ========================================== 
   
@media screen and (min-width: 481px) and (orientation: landscape) { /* Styles for landscape phones */ }
@media screen and (min-width: 768px) and (orientation: portrait) {  /* Styles for portrait tablets */}
@media screen and (min-width: 768px) and (orientation: landscape) {  /* Styles for landscape tablets */}
@media screen and (min-width: 1025px) and (any-hover: hover)  {  /* Styles for laptops */}
@media screen and (min-width: 1201px) {  /* Styles for large desktops */}
@media screen and (min-width: 1441px) { /* Styles for large screens / 4K / Ultra-wide */ }
Top, Right, Bottom, Left
 */

/* ------------------------------------------
   Layout
   ------------------------------------------ */
.hero {
	padding-left: 1rem;
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: left; 
    justify-content:flex-start; 
    min-height:80vh;
    padding-top:12rem;
    padding-bottom:8rem;
    box-sizing: border-box;	
}
.hero-container {
    padding: 5rem 1rem 0 2rem; 
    width: 100%;
    position: relative;
    z-index: 2;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
	}
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    max-width: 1200px;
	width: 56%;
}	
@media screen and (min-width: 768px) and (orientation: portrait) { 

    .hero {
        padding-top:2rem;
        padding-bottom:0;
		justify-content: center; 
    }
	.hero-container {    
	   /* 4. REDUCE THIS if you want the text even closer to the physical screen edge */
		padding:8rem 0rem 0  7rem;  
	}
    .hero-content {
        width: 100%;
    }
}
@media screen and (min-width: 768px) and (orientation: landscape) { 

    .hero {
        padding-top:0;
    }
	.hero-container {    
	   /* 4. REDUCE THIS if you want the text even closer to the physical screen edge */
		padding:15rem 0rem 0rem  8rem;  
		width: 100%;
		position: relative;
		z-index: 2;
		text-align: left;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
    .hero-content {
        width: 80%;
    }
}
@media screen and (min-width: 1200px) {
	.hero-container {
  
	/* 3. CHANGE THIS to remove automatic equal centering margins margin: 0 auto; */
	margin: 0 auto;    
	/* 4. REDUCE THIS if you want the text even closer to the physical screen edge  Top, Right, Bottom, Left*/
	padding: 5rem 0rem 2rem  5rem; 
    height: 100%;
	}
	.hero-content {
		width: 100%;
	}
}
@media screen and (min-width: 1600px) {
	.hero-container {
		padding: 15rem 0rem 2rem  40rem; 

	}

}
/* ------------------------------------------
   Typography
   ------------------------------------------ */

.hero-eyebrow {
	color: var(--lightblue);
	font-family: "Euclid Circular A", "Helvetica Neue", Arial, sans-serif;
	font-size: 0.75em;
	letter-spacing: 0.15em;
	font-weight: 800;
	text-transform: uppercase;
	text-shadow: 1px 1px 1px #425D7B;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
	margin-top: 1.5rem;
    color: var(--white);
	font-size: 1.5rem;
	margin-bottom: 1rem;	
	line-height: 1;
   /* text-shadow: 2px 3px 4px #013281;*/
}
    
.hero-subtitle {
		font-family: "Libre Baskerville", serif;
        font-size: 1.5rem;
        margin-bottom: 1rem;
		color: var(--lightblue);
		font-style: italic;
		font-weight: 400;
		text-shadow: 1px 1px 1px #425D7B;
}

.hero-slogan {
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-size: 1rem;
    margin-top: 1rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,.2);
    animation: slideUp 1s ease-out .2s both;
}

.hero-description {
	font-size: 1rem;
	line-height: 1.2;
	margin-bottom: 1.5rem;
	color: rgba(255,255,255,.95);

	max-width: 700px;
	text-shadow: 0 1px 10px rgba(0,0,0,.2);
	animation: slideUp 1s ease-out .4s both;
}

@media screen and (min-width: 768px) and (orientation: portrait) {
	.hero-eyebrow {
		font-size: 1em;
		text-shadow:none;
	}	
    .hero-title {
        font-size: 2.5rem;
    }	
    .hero-subtitle {
        font-size: 2.5rem;
		
    }    
	.hero-slogan {
        font-size: 1rem;
    }
    .hero-tagline {
        font-size: 1.2rem;
    }
}
@media screen and (min-width: 768px) and (orientation: landscape) {
	.hero-eyebrow {
		font-size: 1em;
	}	
    .hero-title {
        font-size: 2.5rem;
    }	
    .hero-subtitle {
        font-size: 2.5rem;
		text-shadow:none;
    }    
	.hero-slogan {
        font-size: 1rem;
    }
    .hero-tagline {
        font-size: 1.2rem;
    }
}
@media screen and (min-width: 1025px) and (any-hover: hover) { 
	.hero-eyebrow {
		font-size: 1em;
	}
	.hero-title {
		font-size: 3rem;
	}
    .hero-subtitle {
        font-size: 3rem;
    }
	.hero-slogan {
		font-size: 1.3rem;
		text-shadow: 3px 3px 4px #013281;
	}	
	.hero-tagline {	
		font-size: 1.3rem;
	}
	.hero-description {
		font-size: 1.2rem;
		line-height: 1.5;
		margin-bottom: 2rem;
    }	
}
@media screen and (min-width: 1441px) {
	.hero-eyebrow {
		font-size: 1em;
		letter-spacing: 0.25em;	
	}
	.hero-title {
		font-size: 4rem;
		margin-bottom: 1.5rem;
	}
    .hero-subtitle {
        font-size: 4rem;
    }
	.hero-slogan {
		font-size: 2rem;
		text-shadow: 3px 3px 4px #013281;
	}	
	.hero-tagline {	
		font-size: 1.5rem;
	}
	.hero-description {
		font-size: 1.2rem;
		line-height: 1.5;
		margin-bottom: 2rem;
    }	
}

/* ------------------------------------------
   Background Assets
   ------------------------------------------ */

/* Desktop / Tablet Background */
.hero-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: block;
}

/* Mobile Background */
.hero-background_m {
    display: none;
}

/* ------------------------------------------
   Video Layer
   ------------------------------------------ */

.video-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
	
}

.video-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}


/* ------------------------------------------
   Language Toggle Animation
   ------------------------------------------ */

.french,
.english {
    transition: color 500ms linear;
}

.french {
    animation: toggleFrench 2.5s infinite alternate;
}

.english {
    animation: toggleEnglish 2.5s infinite alternate;
}

/* ------------------------------------------
   Actions
   ------------------------------------------ */

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: slideUp 1s ease-out .6s both;
}

/* ------------------------------------------
   Stats
   ------------------------------------------ */

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 3rem auto 0;
    animation: slideUp 1s ease-out .8s both;
}

.stat-item {
    width: 100%;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: all .3s;
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray);
    text-shadow: 0 2px 10px rgba(0,0,0,.2);
}

.stat-text {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.8;
}

/* ------------------------------------------
   The Counter
   ------------------------------------------ */

        .metrics-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }

        .metric {      
			/*background: var(--white);   */
			/* 1. Set a strict maximum width so the box cannot stretch too wide */
			max-width: 220px; 
			
			/* 2. Centers the smaller box inside its grid column grid cell */
			margin: 0 auto; 
			
			/* 3. Keeps internal spacing small so the box stays compact */
			padding: 1.25rem; 
			
			border-radius: 12px;
			text-align: center;
			box-shadow: 0 2px 10px rgba(0,0,0,0.06);
			transition: all 0.3s;
        }

        .metric:hover {
            box-shadow: 0 15px 30px rgba(0,0,0,0.12);
            transform: translateY(-5px);
        }

        .metric-value {
			font-family: 'Inter', sans-serif;
			font-size: 1.5rem;
			font-weight: 400;
			margin-bottom: 0.5rem;
			color: var(--white);				
        }

        .metric-desc {
           color: var(--white);
            font-size: 1rem;
        }
/* ------------------------------------------
   Scroll Indicator
   ------------------------------------------ */

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    stroke: var(--white);
    stroke-width: 2;
    fill: none;
}

/* ------------------------------------------
   Animations
   ------------------------------------------ */

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%,20%,50%,80%,100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(10px);
    }

    60% {
        transform: translateX(-50%) translateY(5px);
    }
}

@keyframes toggleFrench {
    from { color: white; }
    to   { color: var(--secondary); }
}

@keyframes toggleEnglish {
    from { color: var(--secondary); }
    to   { color: white; }
}


/* ------------------ impact band -------------------
---------------------------------------------------------*/
.impact-band{
    background:#fff;
    color:#fff;
    text-align:center;
    padding:70px 20px;
}

.impact-band h3{
    font-size:2rem;
    font-weight:300;
    letter-spacing:2px;
}
.hero-divider{
    height:120px;
    line-height:0;
}

.hero-divider svg{
    width:100%;
    height:120px;
    display:block;
}
/* ------------------ WHY ULTREAU -------------------
---------------------------------------------------------
.why-ultreau {
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
    background: #f8fafc;
    font-family: "Montserrat", sans-serif;
}-*/
.why-ultreau{
    position:relative;
    padding:140px 20px 120px;
    background:
        linear-gradient(
            to bottom,
            #ffffff 0%,
            #f4f9ff 100%
        );
}


.background-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at left bottom,
            rgba(85, 180, 255, .12) 0%,
            transparent 35%),
        radial-gradient(circle at right center,
            rgba(85, 180, 255, .05) 0%,
            transparent 40%);
    pointer-events: none;
}

.wu-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.wu-header {
    text-align: center;
    margin-bottom: 10px;
}

.wu-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #003a8c;
    margin: 0;
}

.wu-header h2 span {
    color: #168bff;
}

.wu-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    gap: 5px;    
}

.wu-subtitle span {
    width: 60px;
    height: 1px;
    background: #63b3ff;
}

.wu-subtitle p {
    margin: 0;
    letter-spacing: 1px;
	font-size: 0.8rem;
}
.gap_text h3 {
	/*font-family: "Euclid Circular A", "Helvetica Neue", Arial, sans-serif;*/
	font-size: 1.1rem;
	font-weight: 300;
}
@media screen and (min-width: 481px) and (orientation: landscape) { 
    .wu-subtitle {
        gap: 10px;
    }   
}

@media screen and (min-width: 768px) and (orientation: portrait) { 
    .why-ultreau{
        position:relative;
        padding:10px 5px 10px 5px;
    }
    .wu-subtitle {
        gap: 20px;
    }    
}
@media screen and (min-width: 768px) and (orientation: landscape) { 
	.wu-header h2 {
		font-size: 1.5rem;
	}

	.wu-subtitle p {
		margin: 0;
		letter-spacing: 2px;
		font-size: 1rem;
	}	
    .wu-subtitle {
        gap: 20px;
    }        
}

@media screen and (min-width: 1025px) and (any-hover: hover)  { 
	.wu-header h2 {
		font-size: 3rem;
	}
}

@media screen and (min-width: 1441px) {
	.wu-header h2 {
		font-size: 2rem;
	}
	.wu-subtitle {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 20px;
		margin-top: 15px;
	}

	.wu-subtitle span {
		width: 80px;
		height: 2px;
		background: #63b3ff;
	}

	.wu-subtitle p {
		margin: 0;
		letter-spacing: 3px;
		font-size: 1rem;
	}	
	.gap_text h3 {
		font-size: 2rem;
	}	
}
/* ------------------ process-row -------------------
---------------------------------------------------------*/
.process-row {
	margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 30px;
}


		
 .process-card {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 20px;
        text-align: left; /* Align text left so it reads nicely next to the icon */
        align-items: center; /* Centers the icon vertically against the text block */
    }

.icon-circle {
    min-width: 60px;
    height: 60px;
    border: 1px solid var(--secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
	margin: 0;
    color: var(--secondary);
}
.icon-circle img {
    width: 50px;
    height: 50px;
}
.process-card h3 {
    margin-top: 0;
    color: #0054d1;
    font-size: 1rem;
	margin-bottom: 2px;
}

.process-card h4 {
    color: #001f66;
    margin-bottom: 2px;
    line-height: 1.2;
	font-size: 1rem;
}
.process-card p {
    max-width: 100%;
    margin: 0;
    line-height: 1.6;
	font-size: 0.8rem;
}


.arrow {
	display: none; 
}

hr {
    margin: 70px 0;
    border: 0;
    border-top: 1px solid #dbe5f0;
}
@media screen and (min-width: 481px) and (orientation: landscape) {
    .process-row {
    	margin-left: 8rem;
    	margin-right: 4rem;
    }
}
@media screen and (min-width: 768px) and (orientation: portrait) {  
    .process-row {
    	margin-left: 10rem;
    	margin-right: 2rem;
    }
}

@media screen and (min-width: 1025px) and (any-hover: hover)  { 
    .process-row {    
    	margin-left: 2rem;
        margin-right: 2rem;
    }
    .icon-circle img {
        width: 80px;
        height: 80px;
    }
    
}


@media screen and (min-width: 1441px) {
	.process-row {
		display: grid;
		flex-direction: row;
		grid-template-columns: 1fr auto 1fr auto 1fr;
		gap: 20px;
		align-items: start; /* Changed from center to start */
	}	

	.process-card {
		display: block;
		text-align: center; /* Align text left so it reads nicely next to the icon */
		align-items: center;  /* Centers the icon vertically against the text block */	
		gap: 20px;

	}	
	.icon-circle {
		width: 90px;
		height: 90px;
		border: 2px solid var(--secondary);
		border-radius: 50%;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 36px;
		margin: auto;          /* Puts the circle back in the middle of the card */
		margin-bottom: 15px;
	}


	.process-card h3 {
		margin-top: 20px;
	
	}

	.process-card h4 {
	
		margin-bottom: 5px;

	}

	.process-card p {
		max-width: 320px;
		margin: auto;
	
	}

	.arrow {
	   /* font-size: 50px;*/
	   display: flex;
		color:var(--secondary);
		align-self: start;
		margin-top: 60px; /* Adjust this number to perfectly center the arrow with your 150px circles */
		font-size: 50px;  /* Optional: makes the arrow larger and clearer */
	}

	hr {
		margin: 70px 0;
		border: 0;
		border-top: 1px solid #dbe5f0;
	}
}

/* ------------------ service-row -------------------
---------------------------------------------------------*/

.comprehensive-service {
    flex: 1;
    display: flex;
    align-items: center;
	justify-content: center;
	margin: 1rem 0 1rem 0;
}
.comprehensive-service h4 {
	font-size: 1.2rem;
	text-align: center;
}
.service-row {
    display: flex;
	flex-direction: column;
    align-items: center;
	margin: 1rem 1rem 2rem 1rem;
}

.service-icon {
    display: none !important;
}
.service-card h4 {
	font-size: 1rem;
}

.service-card .p {
	font-size: 0.8rem;
}
.dots {
    color: #68aef6;
    font-size: 30px;
}
@media screen and (min-width: 481px) and (max-width: 767px) and (orientation: landscape) {
  /* Styles for horizontal phones */
    .service-row {
        display: grid;
        grid-template-columns: 1fr auto 1fr auto 1fr;
        gap: 8px;
        align-items: center;  
    	margin: 1rem 1rem 2rem 1rem;
    }

  /* Target specific columns to align to the top instead of the center */
  .service-row .service-card {
    align-self: flex-start;   /* Overrides center alignment to align at the top */
  }    
    .comprehensive-service {
    	margin: 2rem 0 1rem 0;
    }
    .dots {
        padding-right: 2px;
    }
}
@media screen and (min-width: 768px) and (orientation: portrait) {  /* Styles for portrait tablets */
    .service-row {
        display: grid;
        grid-template-columns: 1fr auto 1fr auto 1fr;
        gap: 8px;
        align-items: center;  
        margin-left: 1rem;
    	margin-right: 1rem;
    }
     .service-row .service-card {
        align-self: flex-start;   
    }   
    .service-card h4 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 1rem; /* Slightly larger text on desktop screen */
    }
    .dots {
        padding-right: 2px;
    }}

@media screen and (min-width: 768px) and (orientation: landscape) {  /* Styles for landscape tablets */
    .comprehensive-service {
    	margin: 2rem 0 1rem 0;
    }
    .comprehensive-service h4 {
	font-size: 1.6rem;
    }
    .compre_service{
    padding-left: 1px;
        padding-right: 1px;
}
    .service-row {
        display: grid;
        grid-template-columns: 1fr auto 1fr auto 1fr;
        gap: 15px;
        align-items: center;
        padding-left: 1px;
        padding-right: 1px;
    }
    .service-icon {
       /* display: flex !important;
        min-width: 90px;
        height: 90px;
        border-radius: 50%;
        border: 2px solid #1d6fff;        
        align-items: center;
        justify-content: center;
        font-size: 36px;*/
    }
	.service-card h4 {
		font-size: 1rem;
	}

	.service-card p {
		font-size: 0.8rem;
	}
}
@media screen and (min-width: 1025px)  {  /* Styles for laptops */
    .comprehensive-service {
    	margin: 2rem 0 1rem 0;
    }
}

@media screen and (min-width: 1201px) {  /* Styles for large desktops */}

@media screen and (min-width: 1441px) { /* Styles for large screens / 4K / Ultra-wide */ }


/* ------------------ quality-box -------------------
---------------------------------------------------------*/
.quality-box {
    margin-top: 60px;
    border: 1px solid #d9e5f2;
    border-radius: 24px;
    display: flex;
    padding: 35px;
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(10px);
}

.quality-item {
    flex: 1;
    display: flex;
    align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
}
.quality-item h4 {
	font-size: 1.2rem;
}

.quality-item p {
	font-size: 0.8rem;
}
.quality-icon {
    width: 70px;
    height: 70px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
}

@media screen and (min-width: 1441px) { 
	.quality-box h4 {
		font-size: 1.6rem;
	}
	.quality-box p {
		font-size: 1rem;
	}
}
.divider {
    width: 1px;
    background: #d9e5f2;
    margin: 0 40px;
}

/* ------------------ bottom-banner -------------------
---------------------------------------------------------*/
.bottom-banner {
    margin-top: 50px;
    background: linear-gradient(90deg,#002f8e,#0047d8);
    color: #fff;
    text-align: center;
    border-radius: 22px;
    padding: 10px;
}

.bottom-banner span {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: block;
    font-size: 1rem;
    letter-spacing: 1px;
}

.bottom-banner strong {
 	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
   display: block;
    margin-top: 10px;
    color:  var(--primary);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.btn-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
  background: var(--white);
  color: var(--secondary);
  border: 2px solid var(--white);
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;  
}

.btn-banner:hover {
  background: var(--white);
  color: var(--secondary);
  border-color: var(--white);
}
