h1,h2,h3,h4,h5,h6 {
		font-weight: 600 !important;
}
h1 {
	font-size: 3rem;	
}
h2 {
	font-size: 1.75rem;
}

/* Sections */

section {
	padding: 80px 0px;
}

@media (min-width: 576px) {
	section {
		padding: 90px 0;
	}
}


@media (min-width: 1200px) {
	section {
		padding: 120px 0;
	}
}


/* Header */

.loader {
  width: 66px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 #fff;
  animation: l2 5s infinite linear;
  position: relative;
}

.loader:before,
.loader:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 #fff;
  animation: inherit;
  animation-delay: -1.66s;
}

.loader:after {
  animation-delay: -3.33s;
}

@keyframes l2 {
  100% {
    box-shadow: 0 0 0 60px #0000;
  }
}

.section_banner {
	background: linear-gradient(89.53deg, #314779 0.41%, #6385C3 99.59%);
	height: auto;
	padding: 160px 0px;
}

.section_banner p {
	color: #fff;
	font-size: 1.5rem;
	font-weight: 200;
}
.box_intro {
    /* 1. Force the box to calculate padding inwards */
    box-sizing: border-box; 
    
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 100%), var(--Secondary-Soft-teal, #60C1C8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 
        0 10px 30px -5px rgba(57, 110, 114, 0.3), 
        0 20px 40px -10px rgba(57, 110, 114, 0.2);
    padding: 40px; 
}

/* 2. Apply box-sizing to the children to prevent overflow */
.box_intro *, .box_intro *::before {
    box-sizing: border-box;
}

.box_intro ul {
    list-style: none;
    margin: 0;
    /* 3. Optional: If you have a title in the box and want the icons 
       to align with it, increase this padding-left (e.g., 8px) */
    padding: 0; 
}

.box_intro li {
    color: #ffffff; 
    font-weight: 500; 
    line-height: 1.6;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); 
    
    padding: 16px 0;
    margin: 0;
    
    display: flex;
    align-items: flex-start; 
    /* 4. Use 'gap' instead of margins on the icon for strict containment */
    gap: 16px; 
    
    border-bottom: 1px solid rgba(255, 255, 255, 0.15); 
    transition: transform 0.3s ease;
}

.box_intro li:hover {
    transform: translateX(4px); 
}

.box_intro li:first-child {
    padding-top: 0;
}

.box_intro li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.box_intro ul li::before {
    font-family: "bootstrap-icons";
    content: "\F633";
    font-weight: normal; 
    font-size: 1.1rem;
    color: #ffffff;
    text-shadow: none; 
    background: rgba(0, 0, 0, 0.15); 
    
    width: 32px;
    height: 32px;
    border-radius: 50%;
    
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; 
	margin-left:0;
    
    /* Removed margin-right (handled by gap above) */
    margin-top: 2px; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* Process */
/* ==========================================================================
   1. SECTION CONTAINER STYLES
   ========================================================================== */
.section_process {
    background: var(--colour-Misc-Grey-grey-lighten-4, rgba(245, 245, 245, 1));
    position: relative;
    padding: 100px 0; 
    overflow: hidden; 
}

.box_process_parent {
    position: relative;
    z-index: 2;
}


/* ==========================================================================
   2. PREMIUM PROCESS CARDS (BASE / MOBILE STYLES)
   ========================================================================== */
.box_process {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 30px; 
    background: #FFFFFF;
    
    /* Perfect spacing for stacked layout views (under 992px wide) */
    margin-bottom: 40px; 
    
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(51, 60, 77, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
    border-radius: 12px; 
    border: none; 
    outline: none; 
    
    background-repeat: no-repeat;
    background-position: right 24px top 24px;
    overflow: hidden; 
    
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
}

/* Hover physics */
.box_process_parent .box_process:hover {
    transform: translateY(-6px) scale(1.01); 
    box-shadow: 0 30px 60px rgba(51, 60, 77, 0.15), 0 12px 24px rgba(0, 0, 0, 0.06);
}


/* ==========================================================================
   3. BOTTOM GRADIENT BAR ACCENTS (FIXED HEIGHT)
   ========================================================================== */
.box_process::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px; 
    background: linear-gradient(90deg, #6385C3 -0.01%, #40CBCE 100.01%);
    border-radius: 0px 0px 12px 12px; 
}


/* ==========================================================================
   4. STEP COUNTER BADGE
   ========================================================================== */
.box_counter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px; 
    height: 56px;
    background: linear-gradient(135deg, rgba(48, 187, 178, 0.15), rgba(48, 187, 178, 0.05));
    border: 1px solid rgba(48, 187, 178, 0.2);
    border-radius: 50%; 
    
    font-weight: 700;
    font-size: 1.25rem;
    color: #314779;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5); 
}


/* ==========================================================================
   5. DESKTOP SPACING & STAGGERED ASYMMETRY (992px+)
   ========================================================================== */
@media (min-width: 992px) {
    /* Synchronized precisely with Bootstrap lg grid layout initialization */
    .box_process_parent {
        padding-left: 40px;
        padding-right: 40px;
    }

    /* Vertical gap within columns on side-by-side desktop screens */
    .box_process {
        margin-bottom: 80px; 
    }
    
    /* Safely staggers the even cards down 100px beneath the AOS layer using margin-top */
    .box_process_parent:nth-child(even) .box_process {
        margin-top: 100px;
        margin-bottom: 0; /* Prevents trailing container gaps */
    }
}


/* ==========================================================================
   6. PREMIUM DYNAMIC SVG CONNECTOR
   ========================================================================== */
.connector {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; 
}

.connector path {
    fill: none;
    stroke: url(#connector-gradient); 
    stroke-width: 3; 
    stroke-dasharray: 12 8; 
    animation: connectorFlow 60s linear infinite; 
}

@keyframes connectorFlow {
    from {
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dashoffset: 0;
    }
}


/* ==========================================================================
   7. CLEAN INTERIOR TYPOGRAPHY POLISH
   ========================================================================== */
.box_process h4 {
    font-weight: 600;
    margin-bottom: 14px;
    color: #2c3e50; 
}

.box_process p {
    color: #64748b; 
    line-height: 1.6;
    margin-bottom: 0;
}

/* Contact */

.box_contact {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px -10px rgba(49, 71, 121, 0.12), 
                0 20px 40px -15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.04);
}

/* --- The Padding Fix --- */
/* This inner wrapper bypasses Bootstrap 4.5 .no-gutters restriction completely */
.box_contact_inner {
    padding: 60px !important;
}

/* --- Left Column: Your Original Blue Gradient --- */
.box_contact_left {
    background: linear-gradient(180deg, #314779 0%, #6385C3 100%) !important;
}

.box_contact_left h2, 
.box_contact_left h3 {
    color: #ffffff !important;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.box_contact_left p {
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.65;
}

/* --- Right Column: Form Workspace Styling --- */
.box_contact_right {
    background: #ffffff;
}

/* --- Overriding Theme Form Inputs & Textareas --- */
.box_contact_right .nf-form-content input:not([type="button"]):not([type="submit"]), 
.box_contact_right .nf-form-content textarea {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 12px 18px !important;
    height: 52px !important; /* Overrides the theme's flat 50px height with clean padding distribution */
    transition: all 0.25s ease-in-out !important;
    color: #334155 !important;
    font-size: 16px !important;
}

.box_contact_right .nf-form-content textarea {
    height: auto !important; /* Allows textareas to scale properly */
}

/* Focused input glow mapping to your brand blue */
.box_contact_right .nf-form-content input:not([type="button"]):not([type="submit"]):focus, 
.box_contact_right .nf-form-content textarea:focus {
    background-color: #ffffff !important;
    border-color: #314779 !important;
    box-shadow: 0 0 0 4px rgba(49, 71, 121, 0.15) !important;
    outline: none !important;
}

/* Input Labels Styling */
.box_contact_right .nf-field-label label {
    font-weight: 500 !important;
    color: #475569 !important;
    font-size: 0.9rem !important;
    margin-bottom: 8px !important;
}

/* --- Absolute Specificity Fix for the Teal Submit Button --- */
/* Chaining selectors here ensures we thoroughly defeat your theme's .nf-form-content overrides */
.box_contact_right .ninja-forms-form-wrap .nf-form-content input[type="submit"]#nf-field-14,
.box_contact_right #nf-field-14 {
    background-color: rgb(122, 214, 217) !important;
    color: rgb(61, 87, 105) !important;
    padding: 14px 36px !important;
    height: auto !important; /* Breaks the theme's input height rule */
    border-radius: 8px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-block !important;
    width: auto !important;
    box-shadow: 0 4px 12px rgba(122, 214, 217, 0.25) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* --- Absolute Specificity Fix for the Button Hover State --- */
/* This blocks your theme from turning the button into that default #c4c4c4 gray on hover */
.box_contact_right .ninja-forms-form-wrap .nf-form-content input[type="submit"]#nf-field-14:hover,
.box_contact_right #nf-field-14:hover {
    background-color: rgb(102, 194, 197) !important;
    background: rgb(102, 194, 197) !important; /* Force override background shorthands */
    color: rgb(61, 87, 105) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(122, 214, 217, 0.4) !important;
}

/* --- Mobile Responsiveness Adjustments --- */
@media (max-width: 767.98px) {
    .section_content {
        padding: 60px 0;
    }
    .box_contact_inner {
        padding: 40px 24px !important; /* Gives breathing space on tight dynamic screen dimensions */
    }
}

/* Case Studies */

/* --- Case Studies Section Base --- */
.section_case_studies {
    background: var(--colour-Misc-Grey-grey-lighten-4, rgba(245, 245, 245, 1));
}

/* Enforce cinematic 16:9 aspect ratio on the image */
.section_case_studies .card-img-top {
    aspect-ratio: 16 / 9;
    object-fit: cover; /* Prevents the image from squishing or stretching */
    width: 100%;
    height: auto;
}

/* --- Case Studies Premium Hover Effects --- */

/* Smoothly lift the white card and deepen its shadow */
.section_case_studies .card.transition-all {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

.section_case_studies .card.transition-all:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.06) !important;
}

/* Subtle elegant zoom on the featured image */
.section_case_studies .group-hover img {
    transform: scale(1);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.section_case_studies .card:hover .group-hover img {
    transform: scale(1.04);
}

/* Nudge the action arrow to the right on hover */
.section_case_studies .action-link .arrow-icon {
    transition: transform 0.2s ease;
    display: inline-block;
}

.section_case_studies .card:hover .action-link .arrow-icon {
    transform: translateX(5px);
}



/* Discover */

/* ==========================================================================
   Discover Section - Base Styles
   ========================================================================== */
.section_discover {
	background-color: #253541; /* Clean hex equivalent to rgba(37, 53, 65) */
	padding: 4rem 0; /* Generous breathing room top and bottom */
}	

.section_discover h2 {
	color: #ffffff;
	margin-bottom: 1rem;
	letter-spacing: -0.5px; /* Tighter tracking for a more premium, modern feel */
}

/* ==========================================================================
   Premium Clickable Cards (Ultra-Soft Transitions)
   ========================================================================== */
.box_discover {	
	display: flex;
	flex-direction: column;
	
	/* Explicitly use rgba with 0 opacity instead of 'transparent' for smooth color math */
	background-color: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12); /* Soft starting border */
	border-radius: 12px;
	padding: 24px; /* Generous internal whitespace */
	text-decoration: none; 
	
	/* Set an invisible starting shadow so it fades in smoothly rather than popping */
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0); 
	
	/* Unified 0.5s ease-out makes everything glide together gently */
	transition: 
		transform 0.2s ease-out, 
		background-color 0.2s ease-out, 
		border-color 0.2s ease-out,
		box-shadow 0.2s ease-out;
}

/* Hover State */
.box_discover:hover {
	background-color: rgba(255, 255, 255, 0.08); /* Subtle glow */
	border-color: rgba(255, 255, 255, 0.2); /* Slightly brighter border */
	transform: translateY(-3px); /* Gentle breath-like lift, reduced from 4px */
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15); /* Soft, feathered shadow to ground it */
	text-decoration: none;
}

/* Ensure text doesn't get underlined on hover (Bootstrap override) */
.box_discover:hover h5, 
.box_discover:hover p, 
.box_discover:hover .discover_link {
	text-decoration: none;
}

/* ==========================================================================
   Card Internal Elements
   ========================================================================== */
.box_discover img {
	border-radius: 8px; /* Slightly rounded to match the outer card */
	margin-bottom: 1.5rem;
	width: 100%;
}

.box_discover h5 {
	color: #ffffff;
	font-weight: 600;
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
}

.box_discover p {
	color: rgba(255, 255, 255, 0.75); /* Muting paragraph text creates visual hierarchy */
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

/* ==========================================================================
   Call to Action (Footer Link)
   ========================================================================== */
.box_discover_footer {
	margin-top: auto; /* Pushes the footer to the bottom, aligning all links perfectly */
}

.discover_link {
	color: #ffffff;
	font-weight: 500;
	font-size: 0.95rem;
	display: inline-flex;
	align-items: center;
}

/* The Arrow Icon */
.discover_link .arrow {
	display: inline-block;
	margin-left: 6px;
	/* Match the 0.5s ease-out timing of the main card hover */
	transition: transform 0.5s ease-out; 
}

/* Slide the arrow to the right when the card is hovered */
.box_discover:hover .discover_link .arrow {
	transform: translateX(6px); 
}

/* Case studies */

.image_rounded {
	border-radius: 5px;
}


