/* Inter font (system fallback if not available via CDN) */
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: local('Inter');
}

html, body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}

/* Hero styles moved inline into _hero.php */

/* Footer visible */
.footer { display: block; }

/* Why Choose Us */
.why-choose-section {
	background-color: #ffffff;
}

.why-title {
	color: #0b1730;
	letter-spacing: .02em;
}

.why-card {
	background: #ffffff;
	border-radius: 10px;
	padding: 18px 12px;
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.why-icon {
	margin-bottom: 0;
	flex: 0 0 auto;
}

.why-text { flex: 1 1 auto; }

/* Generic section helpers */
.section {
	padding-top: 60px;
	padding-bottom: 60px;
}

.section-title {
	letter-spacing: .02em;
}

.section--dark {
	color: #ffffff;
	background-image: url('/images/bg-img-2.png');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center b;
}

/* About */
.about-section .section-title { color: #ffffff; }
.about-cta { border-radius: 8px; }


/* Section background + spacing */
.services-section {
    background: transparent;
    padding-top: 80px;
    min-height: 80vh;             /* restore original height for the top block */
    position: relative;
  }
  
  
  /* Heading: uppercase, tight tracking, dark navy like screenshot */
  .services-heading{
	color:#1E3A5E !important;            /* deep navy */
	letter-spacing:.04em;
	font-size: clamp(28px,4.2vw,48px);

	margin-bottom: 76px;
  }
  
  /* Card shells */
  .service-card{
	border-radius: 12px;
	padding:22px 32px;
	box-shadow: 0 3px 7px rgba(11,23,48,.18);
	border: 1px solid rgba(11,23,48,.08);
  }
  
  /* Dark (left) card */
  .service-card--dark{
	background: #1E3A5E !important;      /* brand navy */
	color:#fff !important;
	border-color: rgba(255,255,255,.06);
  }
  
  /* Light cards */
  .service-card--light{
	background:#ffffff;
	color:#1E3A5E !important;
  }

  /* Ensure all text inside light cards uses brand navy */
  .service-card--light .service-title,
  .service-card--light .service-text,
  .service-card--light .service-list,
  .service-card--light .service-list li { color:#1E3A5E !important; }

  /* Ensure text on dark card stays white */
  .service-card--dark .service-title,
  .service-card--dark .service-text,
  .service-card--dark .service-list,
  .service-card--dark .service-list li { color:#ffffff !important; }
  
  /* Titles, divider, text */
  .service-title{ line-height:1.15; font-size:1.25rem; margin-bottom:.75rem; }
  .service-divider{
	height:2px; width:72%;
	margin: .35rem auto 1.1rem auto;
	background:#d8e0ea; border:0;
  }
  .service-divider--dark{ background: rgba(255,255,255,.22) !important; }
  
  .service-text{
	font-size:.95rem;
	line-height:1.55;
	margin:0;
  }
  
  /* Bullet list on the right card */
  .service-list{
	list-style: disc;
	padding-left: 1.1rem;
	margin: .25rem auto 0;
	max-width: 88%;
	font-size:.95rem;
	line-height:1.55;
  }
  
  /* Carousel Structure */
  .services-carousel-wrapper {
    position: relative;
    margin: 0 auto;
    max-width: 1400px;
  }

  .services-carousel-container {
    overflow: hidden;
    margin: 0 60px; /* Space for navigation arrows */
    padding: 10px 0 30px 0; /* Extra padding for shadows, especially bottom */
  }

  .services-carousel {
    display: flex;
    transition: transform 0.4s ease-in-out;
    will-change: transform; /* Optimize for smooth animations */
  }

  .service-item {
    flex: 0 0 33.333%; /* 3 items on desktop */
    min-height: 400px;
    padding: 10px 1rem 20px 1rem; /* Top, horizontal, bottom padding - extra bottom for shadows */
  }

  /* Ensure cloned items look identical to originals */
  .service-item.cloned-item {
    flex: 0 0 33.333%;
    min-height: 400px;
    padding: 10px 1rem 20px 1rem;
  }

  /* Navigation arrows positioned outside container */
  .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1E3A5E !important;
    border: 2px solid rgba(255,255,255,.55);
    box-shadow: 0 8px 18px rgba(11,23,48,.25);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
  }

  .carousel-nav:hover {
    background: #122a43 !important;
    box-shadow: 0 10px 22px rgba(11,23,48,.35);
    transform: translateY(-50%) scale(1.05);
  }

  .carousel-nav svg {
    display: block;
  }

  .carousel-nav-left {
    left: 30px;
  }

  .carousel-nav-right {
    right: 30px;
  }

  /* Responsive behavior */
  @media (max-width: 991.98px) {
    .service-item,
    .service-item.cloned-item {
      flex: 0 0 50%; /* 2 items on tablet */
      padding: 5px 0.8rem 15px 0.8rem; /* Reduced padding for tablet */
    }
    
    .services-carousel-container {
      margin: 0 50px; /* Smaller space for navigation arrows */
      padding: 5px 0 20px 0; /* Reduced container padding for tablet */
    }
    
    .carousel-nav {
      width: 48px;
      height: 48px;
    }
    
    /* Moderate reduction in service card padding for tablet */
    .service-card {
      padding: 30px 36px; /* Slightly reduced internal card padding for tablet */
    }

	.carousel-nav-left {
		left: -10px;
	  }
	
	  .carousel-nav-right {
		right: -10px;
	  }
  }

  @media (max-width: 767.98px) {
    .service-item,
    .service-item.cloned-item {
      flex: 0 0 100%; /* 1 item on mobile */
      padding: 5px 0.5rem 10px 0.5rem; /* Much more compact padding for mobile */
    }
    
    .services-carousel-container {
      margin: 0; /* Even smaller space for navigation arrows */
      padding: 5px 0 15px 0; /* Compact container padding for mobile */
    }
    
    .carousel-nav {
      width: 44px;
      height: 44px;
    }
    
    /* Reduce service card internal padding on mobile */
    .service-card {
      padding: 24px 20px; /* Much more compact internal card padding for mobile */
    }
  }


  
  /* Button */

/* Override Bootstrap's .btn-primary */
.btn-primary {
	background: #1E3A5E !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: .2rem !important;
	padding: 0.5rem 1.2rem;
	font-weight: 500;
	transition: background-color 0.25s ease;
	box-shadow: 0 4px 8px rgba(11, 23, 48, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
	background: #122a43 !important;
	color: #fff !important;
	box-shadow: 0 6px 14px rgba(11, 23, 48, 0.3);
}

/* Override Bootstrap .btn-light */
.btn-light {
	background: #ffffff !important;
	color: #1E3A5E !important; /* brand navy text */
	border: 1px solid rgba(11, 23, 48, 0.18) !important;
	border-radius: .2rem !important;
	padding: 0.5rem 1.2rem;
	font-weight: 500;
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
	box-shadow: 0 4px 8px rgba(11, 23, 48, 0.1);
}

.btn-light:hover,
.btn-light:focus {
	background: #f3f6fc !important; /* subtle hover effect */
	color: #122a43 !important;
	box-shadow: 0 6px 14px rgba(11, 23, 48, 0.2);
}

.btn-light:focus,
.btn-light:active {
	box-shadow: 0 6px 14px rgba(11, 23, 48, 0.25) !important;
}

/* Optional: remove Bootstrap default active/focus outline */
.btn-primary:focus,
.btn-primary:active {
	box-shadow: 0 6px 14px rgba(11, 23, 48, 0.3) !important;
}

.btn-link{
	color: #157CAC !important;
	text-decoration: none !important;
	font-weight: 500;
	font-size: 1.2rem;
	border: none;
	border-radius: 0;
	box-shadow: none;
}


  
  /* Make sure white text doesn't leak from .section--dark global rule */
  #_servicesGroup, #_servicesGroup * { color: inherit;}
  
  /* Services cards grid between the two background images */
  #_servicesGridCards{
    position: relative;
    padding-top: clamp(30px, 5vh, 70px);
    padding-bottom: clamp(30px, 5vh, 70px);
    background: transparent;
    z-index: 2;
    min-height: 50vh;             /* occupy a middle band between top/bottom images */
    display: flex;                 /* vertically center its content */
    align-items: center;
  }
  .services-grid .grid-card{
    background:#ffffff;
    color:#1E3A5E;
    border:1px solid rgba(11,23,48,.08);
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(11,23,48,.10);
    overflow: hidden;
  }
  .grid-card-image{
    position: relative;
    height: 170px;
    background:#f3f6fc;
    display:flex; align-items:center; justify-content:center;
  }
  .grid-card-image img{ width:100%; height:100%; object-fit: cover; display:block; }
  .grid-card-title{ font-weight:500; font-size:1.3rem; margin:.9rem .9rem .35rem; line-height:1.2; color:#1E3A5E; }
  .grid-card-text{ 
    font-size:.95rem; 
    margin:0 .9rem 1rem; 
    line-height:1.55; 
    color:#1E3A5E; 
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  /* Services lead section with bg-2 and white overlay */
  .services-lead{
    position: relative;
    padding-top: 70px;
    padding-bottom: 70px;
    color:#1E3A5E;
    background: transparent;
    min-height: 100vh;            /* restore original bottom block height */
    display: flex;
    align-items: center;       /* vertical center */
    justify-content: center;   /* horizontal center of container */
  }
  .services-lead::before{ content:none; }
  /* Decorative bottom curve above overlay */
  .services-lead::after{ content:none; }
  .services-lead .container{ position: relative; z-index: 3; }
  .services-lead-heading{ color:#0B355F; letter-spacing:.02em;  font-size: 2.2rem; text-align:center; }
  .services-lead-text{ max-width: 1220px; color:#20354B; line-height:1.65; font-size: 24px; text-align:center; margin-left:auto; margin-right:auto; }

  @media (max-width: 576px) {  /* Bootstrap's "sm" breakpoint */
	.services-lead-text {
	  font-size: 18px !important; /* adjust to what you want */
	}
  }

/* Services wrapper with vertical split, per-half white overlays, and bottom wave */
.services-wrapper{
    position: relative;
    background:
        linear-gradient(to bottom,
            rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.78) 50%,
            rgba(255,255,255,0.78) 50%, rgba(255,255,255,0.9) 100%
        ),
        url('/images/bg-2.png') center bottom no-repeat,
        url('/images/bg-1.png') center top no-repeat;
    background-size:
        100% 100%,
        100% 60%,
        100% 60%;
}

@media (max-width: 768px) {
	.services-wrapper{
		background:
			linear-gradient(to bottom,
				rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.78) 50%,
				rgba(255,255,255,0.78) 50%, rgba(255,255,255,0.9) 100%
			);
		background-size: 100% 100%;
	}
}
.services-wrapper::after{
	content: "";
	position: absolute; left: 0; right: 0; bottom: 0; height: 200px;
	background: url('/images/bg-bottom-1.png') center bottom / 100% 100% no-repeat;
	z-index: 2; /* above white overlay */
	pointer-events: none;
}
/* ensure content sits above overlays */
.services-wrapper > section{ position: relative; z-index: 3; }


/* Footer */
.site-footer{
	color: #e6edf7;
    background: linear-gradient(270deg, #0E1946 23%, #162F59 93%) !important;
}
.footer-cta-text{
	color: #fff;; font-size: 1.9rem; text-align:left; font-weight: 500; letter-spacing:.02em;
}
.footer-divider{ border: 0; height: 1px; background: white; margin: 1.25rem 0 2rem; }
.footer-heading{ font-weight: 600; color: #ffffff; }
.footer-links{
	text-align: left;
	display: block;
	width: 100%;
	margin: 0;                 /* remove auto-centering */
  }
  .footer-links li{ margin-bottom: .35rem; }
.footer-links a{ color: #c9d6ea; text-decoration: none; }
.footer-links a:hover{ color: #ffffff; text-decoration: underline; }
.footer-bottom{ background: #0B1730; padding: .75rem 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .small{ color:#9fb3d9; }
.footer-bottom-links li{ margin-left: 1rem; }
.footer-bottom-links a{ color:#c9d6ea; text-decoration: none; }
.footer-bottom-links a:hover{ color:#ffffff; text-decoration: underline; }

/* LinkedIn badge */
.linkedin-badge{
	display:inline-flex; align-items:center; justify-content:center;
	width: 20px; height: 20px;
	border: 1px solid rgba(201,214,234,.9);
	border-radius: 4px;
	margin-left: 6px;
	color: #e6edf7; font-weight: 700; font-size: 12px; line-height: 1; text-decoration: none;
	background: transparent;
}
.linkedin-badge:hover{ background: rgba(255,255,255,.12); color: #ffffff; text-decoration: none; }

/* Contact section */
.contact-section {
    background-color: #ffffff;
    color: #1E3A5E;
    position: relative;
    padding-bottom: 200px; /* keep space for the wave */
    background-image: url('/images/building-image.png');
    background-repeat: no-repeat;
    background-position: right bottom; /* Building stays at bottom-right */
    background-size: auto 75%; /* Adjust height, keep aspect ratio */
}

/* Bottom wave */
.contact-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 210px;
    background: url('/images/bg-bottom-2.png') center bottom / 100% 100% no-repeat;
    z-index: 3;
    pointer-events: none;
}

.contact-form .form-control{
	border-radius: 6px;
	border: 1px solid rgba(11,23,48,.18);
	padding:.6rem .75rem;
}
/* keep text above decorative layers */
.contact-section .container{ position: relative; }
.contact-section .row > .col-lg-6:first-child{ position: relative; z-index: 4; }
@media (max-width: 991.98px){

}

/* All Services page */
.all-services-page {
	background: linear-gradient(180deg, rgba(15, 39, 79, 0.08) 0%, rgba(246, 248, 252, 1) 16%);
}

.all-services-top {
	padding-top: 140px;
	padding-bottom: 80px;
	color: #ffffff;
	background: linear-gradient(150deg, #0f274f 0%, #1e3a5e 55%, rgba(18, 41, 83, 0.92) 100%);
}

.all-services-top .container {
	max-width: 860px;
}

.all-services-eyebrow {
	letter-spacing: .2em;
	font-size: 12px;
	font-weight: 600;
	display: inline-block;
	color: rgba(255, 255, 255, .7);
}

.all-services-heading {
	font-size: clamp(40px, 5vw, 56px);
	font-weight: 700;
	letter-spacing: .01em;
	margin-top: 14px;
	margin-bottom: 18px;
}

.all-services-lead {
	font-size: 18px;
	line-height: 1.7;
	color: rgba(224, 233, 250, .9);
	margin: 0 auto;
	max-width: 720px;
}

.all-services-section {
	background: linear-gradient(0deg, rgba(246, 248, 252, 0.7) 0%, rgba(255, 255, 255, 1) 38%);
}

.service-summary {
	background: #ffffff;
	border-radius: 18px;
	border: 1px solid rgba(16, 37, 76, .08);
	padding: 36px 32px;
	box-shadow: 0 18px 36px rgba(18, 41, 83, .08);
	transition: transform .3s ease, box-shadow .3s ease;
}

.service-summary:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 48px rgba(18, 41, 83, .15);
}

.service-summary__title {
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 600;
	color: #0f274f;
	margin-bottom: 12px;
	line-height: 1.25;
}

.service-summary__subtitle {
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	color: #3a4866;
}

.all-services-empty {
	padding: 80px 0;
	color: #0f274f;
}

.all-services-empty p {
	color: #5a6787;
	margin-top: 12px;
}

@media (max-width: 767.98px) {
	.all-services-top {
		padding-top: 110px;
		padding-bottom: 64px;
	}

	.all-services-lead {
		font-size: 16px;
	}

	.service-summary {
		padding: 28px 24px;
	}
}
