@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;700&display=swap');

/* Global and Layout Styles */
body {
    font-family: 'Nunito Sans', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Header and Navigation Bar */
header {
    transition: background-color 0.1s;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    height: 100px
}


.navbar {
    background-color: transparent !important; /* Transparent when page is unscrolled */
}

.navbar.scrolled {
    background-color: #ffffff !important; /* Change to #244e79 when page is scrolled */
    
}

.container-fluid {
  padding-left: 2rem;
  padding-right: 2rem;
  max-width: 100vw;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section-wrapper {
  padding: 2rem;
  max-width: 100vw;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .section-wrapper {
    padding: 2rem;
  }
}



.navbar .container {
    width: 100%; /* Make the container take up all available horizontal space */
}

.navbar {
    display: flex;
    justify-content: space-between;
    padding: 0 0px; /* Adjust this value to change the padding */
}

.navbar-brand {
    
    flex-grow: 0;
}

.navbar-brand img {
    height: 65px;
    padding: 15px 0;
}

.navbar-nav {
    margin-left: auto;
    
}

@media (min-width: 992px) {
    .navbar-extra {
        display: none;
    }
}


#dynamic-quote {
    transition: opacity 0.5s ease-in-out;
    min-height: 10rem; /* Adjust as needed */
    font-size: 2rem !important; /* Change the font size */
    color: #000b21 !important; /* Change the color */
    font-weight: 400 !important; /* Make the text bold */
    /* Add more styles as needed */
}

#dynamic-quote:hover {
    text-decoration: none !important; /* Remove underline on hover */
}

.fade-out {
    opacity: 0;
}
@media (max-width: 992px) {
    #copyright-info.navbar-extra.copyright-info .nav-link {
        font-size: 0.8rem !important; /* Adjust as needed */
        font-weight: 300 !important; /* Adjust as needed */
        color: #ffffff !important; /* Adjust as needed */
        text-decoration: none !important; /* Remove underline */
        padding-top: 3rem !important /* Adjust as needed */
        
    }
}

@media (min-width: 992px) {
    #copyright-info.navbar-extra.copyright-info {
        display: none !important;
    }
}

.logo-container {
    display: flex;
    justify-content: left;
}



.navbar.scrolled .nav-link {
    color: gray !important; /* Change this to your desired color */
}


.navbar.toggled .nav-link {
    
    color: #626b72 !important; /* Change this to your desired color */
    font-size: 1rem;
    font-weight: 300;
}


.navbar-nav .nav-link {
    color: #ffffff;
    margin-right: 2rem !important; /* Adjust this value to change the spacing */
    font-family: Nunito Sans;
    font-weight: 300;
    font-size: 1rem
}

/* When the navbar is scrolled, the hover effect should be black color with underline */
.navbar.scrolled .nav-link:hover {
    color: black !important;
    text-decoration: underline;
    text-decoration-thickness: 1px; /* Adjust as needed */
    text-underline-offset: 10px; /* Adjust as needed */
}

/* When the navbar is unscrolled, the hover effect should be gray color */
.navbar .nav-link:hover {
    color: gray !important;
}
.navbar.toggled .navbar-nav .nav-item:first-child .nav-link {
    color: rgb(255, 255, 255) !important;
    margin-top: 2rem !important; /* Adjust as needed */
}
.navbar.toggled .nav-link:hover {
    color: #001120 !important;
    text-decoration: underline;
    text-decoration-thickness: 2px; /* Adjust as needed */
    text-underline-offset: 10px; /* Adjust as needed */
}

.navbar-nav .nav-link:last-child {
    margin-right: 0; /* Remove the right margin from the last nav link */
}
.navbar-toggler.active .navbar-toggler-icon {
    display: none;
}

.navbar-toggler.active .toggler-close {
    display: inline-block;
}

.navbar-toggler.active #whiteLogo,
.navbar-toggler.active #coloredLogo {
    display: none;
}

.navbar-toggler.active #toggledLogo {
    display: block;
}

body.no-scroll {
    overflow: hidden;
    height: 100%;
  }

@media (min-width: 992px) {
    body.no-scroll {
        overflow: auto;
        height: auto; // Revert to normal on larger screens
    }
}

/* style.css */


@media (min-width: 992px) {
    body.no-scroll {
        overflow: auto;
        height: auto;
    }
}

.navbar-collapse {
    transition: opacity 0.01s ease, visibility 0.01s ease; /* Adjust duration as needed */
}

.navbar-collapse.collapsing {
    display: block !important;
    opacity: 0;
}

.navbar-collapse.show {
    opacity: 1;
}

.nav-link, .navbar-toggler-icon {
    transition: color 0.3s ease; /* Ensures text color transitions smoothly */
}



@media (max-width: 992px) { /* Adjust this value to match the breakpoint at which your navbar toggles */
    .navbar-nav {
        margin-bottom: 200vh; /* Adjust this value as needed */
    }
}
body.no-scroll {
    overflow: hidden;
 
  }
  
  @media (min-width: 992px) { /* Adjust this value to match the breakpoint at which your navbar stops toggling */
    body.no-scroll {
      background: initial;
    }
  }


/* Style for the navbar-toggler button */

.navbar-toggler.scrolled {
    color: rgb(134, 134, 134)!important
}

.navbar-toggler {
    border: none; /* Remove the default button border */
    background: transparent; /* Make the button background transparent */
}

/* Style for the SVG icons */
.navbar-toggler .icon {
    color: #ffffff; /* Change the color of the icons */
    transition: color 0.3s ease; /* Add a transition effect when the color changes */
}

/* Change the color of the icons when the button is hovered over */
.navbar-toggler:hover .icon {
    color: #d6e9ff; /* Change the color to blue */
}


/* Style for the "icon-times" (cross) icon when navbar is toggled */
.navbar-toggler:not(.collapsed) .icon-times {
    color: #626b72; /* Change the color to white */
}

/* Style for the "icon-bars" (hamburger) icon when navbar is scrolled and not toggled */
.navbar.scrolled .navbar-toggler.collapsed .icon-bars {
    color: #949494; /* Change the color to black */
}

#home-banner {
    position: relative;
    height: 100vh; /* Adjust the height as needed */
    color: #fff;
    text-align: left;
    padding: 0;
    margin: 0;
    overflow: hidden;
    
    
}

.banner-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    
}



@keyframes zoomIn {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1); /* Adjust scaling factor as needed */
    }
}


#home-banner h1 {
    position: absolute; /* Make the h1 text fixed */
    top: 45%; /* Set the bottom edge of the h1 text to 40% of the viewport height */
    font-size: 4.5rem; /* Adjust the font size as needed */
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400; /* Nunito Sans Light */
    color: #fff; /* Text color */
    margin: 0; /* Remove default margin */
    width: auto; /* Auto width based on content */
    animation: fadeIn 2s; /* Initial fade-in animation */
    padding-left: 2rem;
    padding-right: 2rem;
    margin-bottom: 2rem;
    overflow: hidden; /* Add a scrollbar if the content overflows */
}
/* Media query for mobile devices */
@media (max-width: 768px) {
    #home-banner h1 {
        font-size: 3rem; /* Set the font size to 2.5rem for mobile devices */
        top: 45%; /* Set the top edge of the h1 text to 40% of the viewport height */
    }

}
/* Style for Media & Insights Heading to match 'Who We Are' */
#media-insights h2 {
    /* Overriding Bootstrap classes like .display-6 and .fw-bold */
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.2rem;
    color: #000; /* Ensuring the color is black */
}

#sector-text {
    display: inline-block;
    height: 100%;
}


.highlight {
    color: #ffffff; /* Adjust as needed */
}

#request-quote {
    display: inline-block;
    position: absolute;
    font-size: 1.2rem; /* Adjust as needed */
    background: rgba(255, 255, 255, 0.0); /* Semi-transparent white background */
    color: #ffffff; /* Adjust as needed */
    border: 1.5px solid rgb(255, 255, 255);
    top: calc(45% + 4.5rem + 2rem); /* H1's top + H1's font size + desired gap */
    padding: 15px 30px; /* Adjust as needed */
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 5rem;
    text-decoration: none;
    margin-left: 2rem;
    margin-top: 2rem;
    font-weight: 500;
}

#request-quote:hover {
    background: linear-gradient(-45deg, #0c84d6 -37.83%, #3748ff -15.36%, #22f3d3 101.37%); /* Adjust as needed */
    color: white;
    border: none;
}

@media (max-width: 768px) {
    #request-quote {
        font-size: 1rem; /* Adjust as needed */
        top: calc(20% + 3rem + 2rem); /* H1's top + H1's font size + desired gap */
        padding: 10px 20px; /* Adjust as needed */
    }
    
}


/* Move both the H1 and the button into one absolutely-positioned wrapper */
.col-12.text-left {
  position: absolute;
  top: 30%;
  }

/* Reset the H1 and button to static flow inside that wrapper */
#home-banner h1,
#request-quote {
  position: static;
  margin: 0;
}

/* Add the spacing you want between them */
#request-quote {
  margin-top: 2rem;
  margin-left: 2rem;
  /* everything else can stay the same */
}



/* Container Styling */
#who-we-are {
    background-color: #f8f9fa; /* Light gray background */
    padding-top: 2rem; /* Padding inside the container */
    padding-bottom: 2rem; /* Padding inside the container */
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    margin-left: 0rem; /* Margin outside the container */
    margin-right: 2.5rem;
}

/* Row Styling */
#who-we-are .row {
    display: flex;
    flex-wrap: wrap;
}

/* Column Styling */
#who-we-are .col-lg-6 {
    display: flex; /* Make columns flex containers */
    flex-direction: column; /* Stack children vertically */
    padding: 0; /* Reset padding */
}

/* Image Container Styling */
#who-we-are .about-us-image-container {
    flex: 1; /* Expand to fill available vertical space */
    overflow: hidden; /* Hide overflow */
}

/* Image Styling */
#who-we-are .about-us-image-container img {
    width: 100%; /* Full width of its container */
    height: auto; /* Auto height to maintain aspect ratio */
    object-fit: cover; /* Cover the full area of the container */
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 0.5); /* Add transition effect */
}

#who-we-are .about-us-image-container:hover img {
    transform: scale(1.1); /* Zoom in the image on hover */
}

/* Content Container Styling */
#who-we-are .about-us-content-container {
    
    flex: 1; /* Expand to fill available vertical space */
    background-color: #ffffff; /* White background */
    box-shadow: 0 0 0px rgba(0, 0, 0, 0.1); /* Slight shadow for depth */
    padding: 2rem; /* Padding inside the content container */
    display: flex; /* Make this a flex container */
    flex-direction: column; /* Align children vertically */
    justify-content: center; /* Center content vertically */
}

/* Heading Styling */
#who-we-are h2 {
    font-size: 1rem; /* Large font size */
    margin-bottom: 5rem; /* Space below the heading */
    font-weight: 300;
    letter-spacing: 0.2rem;

}

/* Paragraph Styling */
#who-we-are p {
    margin-bottom: 20px; /* Space below each paragraph */
    font-weight: 300;
    color: #949494;
    font-size: 1.2rem;
}

.line-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.about-us-button.line-scroll {
    transition-delay: 1s; /* Delay the transition for the button */
}

/* Button Styling */
#who-we-are .btn {
    background-color: transparent; /* No background */
    color: #383838; /* Blue text */
    border: none; /* No border */
    margin-top: 1.2rem; /* Ensure space above the button */
    padding: 0;
    text-decoration: none; /* Remove underline from links */
    transition: color 0.3s ease, fill 0.3s ease; /* Smooth transition on hover */
}

#who-we-are .btn:hover {
    color: #0056b3; /* Darker blue on hover */
    text-decoration: underline; /* Underline on hover */
    text-underline-offset: 0.30em; /* Add space between text and underline */
    
}

#who-we-are .btn svg {
    height: 0.7rem; /* Same height as the text */
    width: auto; /* Maintain aspect ratio */
    vertical-align: middle; /* Align with the middle of the text */
    fill: currentColor; /* SVG color matches the text color */
}

#who-we-are .btn:hover svg {
    fill: #0056b3; /* SVG color changes on hover */
    transform: translateX(2.5px); /* Move button slightly to the right */
}

@media (max-width: 992px) {
    #who-we-are .col-lg-6 {
        flex-direction: column; /* Stack children vertically */
    }
    #who-we-are p {
        margin-bottom: 20px; /* Space below each paragraph */
        font-weight: 300;
        color: #949494;
        font-size: 1rem;
    }
}


/* Styles for desktop */
body, html {
    overflow-x: hidden;
}


#what-we-do .container-fluid {
    display: flex;
    padding-left: 2rem;
    padding-right: 2rem;
}

#what-we-do .row .col-10 {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

#what-we-do .row {
    margin: 0;
    padding: 0;
    gap: 0;
}

.title-block {
    display: flex;
    flex-direction: row; /* Elements side by side */
    justify-content: space-between;
    align-items: start;
    width: 100%;
    margin-bottom: 4rem;
}

.title-block .title-block--content.title-small,
.title-block .title-block--content.title-large {
    width: 50%; /* Half width for desktop */
    display: flex;
    flex-direction: column;
    margin-top: 2rem; /* Set the same top margin for consistency */
    color: #949494;
    box-sizing: border-box; /* Include padding and borders in the element's total width and height */
    font-size: 1.2rem;

}

/* Adjust the padding for .title-large to not affect alignment */
.title-block .title-block--content.title-large {
    margin-top: 5rem;
    padding-left: 0rem;
    padding-right: 6rem;
    /* margin-top is already set above */
}

.title-block .title-block--content.title-small {
    margin-top: 2.5rem;
    padding-left: 0rem;
    padding-right: 3rem;
    /* margin-top is already set above */
}

.title-block h4, .title-block p.section-name {
    width: 100%; /* Full width within their container */
}

.title-block .paragraph-xlarge, .title-block .set-of-buttons {
    width: 100%; /* Adjusted to full width of their container */
}

main {
  padding-top: 120px; /* Adjust this to your actual navbar height */
}


/* Mobile styles */
@media screen and (max-width: 992px) {
    .title-block {
        flex-direction: column; /* Stack elements on mobile */
        margin-bottom: 2rem;
    }

    .title-block .title-block--content.title-small,
    .title-block .title-block--content.title-large,
    .title-block .paragraph-xlarge,
    .title-block .set-of-buttons {
        width: 100%; /* Full width on mobile */
        padding: 0; /* Adjust padding for mobile, if needed */
        margin-top: 1rem; /* Adjust the top margin for mobile consistency */
    }

    .title-block .title-block--content.title-large {
        padding-left: 2rem;
        padding-right: 6rem;
    }
    .title-block .title-block--content.title-small {
        padding-left: 2rem;
        padding-right: 4rem;
        line-height: 1.6;
    }
    .title-block.wide-mode.align-left {
        margin-top: 1rem;
    }

}

#what-we-do {
    height: auto;
}

#what-we-do .section-name {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    color: #000000;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 0.2rem;
}

#what-we-do-text {
    font-family: 'Nunito Sans', serif;
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    padding-right: 3rem;
    /* Gradient shine effect only here */
    color: transparent;
    -webkit-mask-image: linear-gradient(-75deg, rgba(0,0,0,.6) 30%, #000 50%, rgba(0,0,0,.6) 70%);
    -webkit-mask-size: 200%;
    animation: shine 2s infinite;
    background: linear-gradient(-45deg, #0564a4 -37.83%, #1bf7da -15.36%, #0350e9 101.37%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

@keyframes shine {
    from {
        -webkit-mask-position: 150%;
    }
    to {
        -webkit-mask-position: -50%;
    }
}
#what-we-do p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.2rem;
    color: #949494;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Responsive font size adjustments */
@media screen and (max-width: 992px) {
    

    .title-block--content h4 {
        font-size: 2rem; /* Smaller font size for mobile */
    }

    #what-we-do p {
        font-family: 'Nunito Sans', sans-serif;
        font-size: 1rem;
        color: #949494;
        font-weight: 300;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    

} 

.button.primary {
    background-color: transparent; /* No background */
    color: #383838; /* Blue text */
    font-size: 1rem; /* Adjust as needed */
    border: none; /* No border */
    margin-top: 1rem; /* Ensure space above the button */
    padding: 0;
    text-decoration: none; /* Remove underline from links */
    transition: color 0.3s ease, fill 0.3s ease; /* Smooth transition on hover */
}

.button.primary:hover {
    background-color: transparent; /* No background */
    color: #0056b3; /* Blue text */
    border: none; /* No border */
    margin-top: 1rem; /* Ensure space above the button */
    padding: 0;
    text-decoration: underline; /* Remove underline from links */
    text-underline-offset: 0.30em; /* Add space between text and underline */
    transition: color 0.3s ease, fill 0.3s ease; /* Smooth transition on hover */
}

.button.primary svg {
    height: 0.7rem; /* Same height as the text */
    width: auto; /* Maintain aspect ratio */
    vertical-align: middle; /* Align with the middle of the text */
    fill: currentColor; /* SVG color matches the text color */
}

.button.primary:hover svg {
    fill: #0056b3; /* SVG color changes on hover */
    transform: translateX(2.5px); /* Move button slightly to the right */
}


.card-container {
  margin: 1rem 0;
}



@keyframes gradient {
    0% {
        background-position: 100% 0%;
    }
    50% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 100% 0%;
    }
}

.card .btn {
    margin-right: 2rem;
    margin-bottom: 2rem;
}
.aspect-ratio-box {
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
}

.card-body {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-title {
    font-size: 4rem;
    margin-bottom: 0rem;
    color: #ffffff;
}

/* only hide inside our .square-card product cards */
.square-card .card-text,
.square-card .btn {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #ffffff;
}


.card:hover .card-text, .card:hover .btn {
    display: block;
    opacity: 1;
}

@media (max-width: 992px) {
    .card-container {
        margin: 1rem 0; /* This will result in a 2rem gap between cards */
    }
}



#cards-section .card {
    border: none;
    box-shadow: 0 4px 8px 0 rgba(112, 112, 112, 0.1);
    border-radius: 0REM;
    
}

#cards-section .card .aspect-ratio-box {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
}

#cards-section .card .aspect-ratio-box .card-body {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    transition: text-align 0.3s ease;
}

#cards-section .card .aspect-ratio-box .card-body .card-title {
    margin-bottom: 0rem;
}

#cards-section .card:hover .aspect-ratio-box .card-body {
    text-align: left;
}

@media (min-width: 992px) {
    .col-md-6 {
        margin-left: 0rem;
        margin-right: 0rem;
    }
}

#cards-section {
    padding-left: 2rem;
    padding-right: 2rem;
    margin-left: 0rem;
    margin-right: 0rem;
}

#cards-section .card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.1);
}
.card:hover .card-title {
    font-size: 3rem;
}
.card:hover .card-body {
    align-items: flex-start;
}

.card:hover .btn {
    
    align-self: flex-end;
}

.card-title, .card-text {
    margin: 2rem 2rem 2rem 2rem;
}



.btn.btn-primary.mt-auto {
    background: none;
    color: #ffffff;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    margin-right: 2rem;
    margin-bottom: 2rem;
}

.btn.btn-primary.mt-auto:hover {
    color: #ffffff; /* Darker blue on hover */
    text-decoration: underline; /* Underline on hover */
    text-underline-offset: 0.30em; /* Add space between text and underline */
}

.btn.btn-primary.mt-auto:focus {
    outline: none !important;
    box-shadow: none !important;
}


.btn.btn-primary.mt-auto  svg {
    height: 0.7rem; /* Same height as the text */
    width: auto; /* Maintain aspect ratio */
    vertical-align: middle; /* Align with the middle of the text */
    fill: currentColor; /* SVG color matches the text color */
}

.btn.btn-primary.mt-auto:hover svg {
    fill: #ffffff; /* SVG color changes on hover */
    transform: translateX(2.5px); /* Move button slightly to the right */
}


/* ─── SOLID FLIP CARD ─── */
.hidden {
  display: none;
}

.quote-card {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  perspective: 1000px;
  z-index: 2000;
}

 .quote-card-inner {
   width: 360px;
   /* bigger to fit the submit button */
   min-height: 600px;
   transition: transform 0.6s;
   transform-style: preserve-3d;
 }

.quote-card.flipped .quote-card-inner {
  transform: rotateY(180deg);
}

.quote-card-face {
  position: absolute;
  width: 100%; height: 100%;
  backface-visibility: hidden;
  background: #ffffff;           /* solid white */
  border-radius: 0.75rem;        /* rounded corners */
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  padding: 1.5rem;
  box-sizing: border-box;
  font-family: inherit;
}

.quote-card-front {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.quote-card-back {
  transform: rotateY(180deg);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 300;
  font-family: 'Nunito Sans', sans-serif;
}

.quote-card form label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.quote-card form input,
.quote-card form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.25rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  font-family: inherit;
}

.quote-card form button {
  margin-top: 1rem;
  width: 100%;
}

.quote-card-back ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.quote-card-back li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* Same “shine” gradient you used for WHAT WE DO: */
#products-services-text {
  font-family: 'Nunito Sans', serif;
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1.2;
  /* mask */
  -webkit-mask-image: linear-gradient(
    -75deg,
    rgba(0,0,0,.6) 30%,
    #000 50%,
    rgba(0,0,0,.6) 70%
  );
  -webkit-mask-size: 200%;
  mask-image: linear-gradient(
    -75deg,
    rgba(0,0,0,.6) 30%,
    #000 50%,
    rgba(0,0,0,.6) 70%
  );
  mask-size: 200%;
  animation: shine 2s infinite;

  /* text gradient */
  background: linear-gradient(
    -45deg,
    #0564a4 -37.83%,
    #1bf7da -15.36%,
    #0350e9 101.37%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* make both “WHAT WE DO” and “PRODUCTS & SERVICES” share the exact same heading style */
.section-name,
h2.section-title {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1rem;           /* same size as your WHAT WE DO label */
  font-weight: 300;          /* match the light weight */
  letter-spacing: 0.2rem;    /* same tracking */
  color: #000;               /* same colour */
  text-align: left !important; /* force left-alignment */
  margin-bottom: 1rem;       /* same spacing underneath */
}

/* remove any inline overrides on your Products & Services <h2> */
h2.section-title[style] {
  font-size: inherit !important;
  font-weight: inherit !important;
  margin-bottom: inherit !important;
}

/* flip-card container */
.hidden { display: none; }
.quote-card {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  perspective: 1000px; z-index: 2000;
}
.quote-card-inner {
  width: 360px; min-height: 450px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.quote-card.flipped .quote-card-inner {
  transform: rotateY(180deg);
}

/* shared face styles */
.quote-card-face {
  position: absolute; width: 100%; height: 100%;
  backface-visibility: hidden;
  background: #fff;
  border-radius: .75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  padding: 1.5rem; box-sizing: border-box;
  font-family: 'Nunito Sans', sans-serif;
}

/* front vs back */
.quote-card-front { display: flex; flex-direction: column; }
.quote-card-back {
  transform: rotateY(180deg);
  text-align: center;
  display: flex; flex-direction: column; justify-content: center;
}

/* close “×” button */
.close-cross {
  position: absolute; top: .75rem; right: .75rem;
  background: none; border: none;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  color: #333;
}

/* form labels & inputs */
.quote-card-front form label {
  display: block; margin-bottom: .75rem;
  font-size: .9rem;
}
.quote-card-front form input,
.quote-card-front form textarea {
  width: 100%; padding: .5rem; margin-top: .25rem;
  border: 1px solid #ccc; border-radius: .25rem;
  font-family: inherit;
}

/* submit button */
.submit-btn {
  margin-top: 1.5rem; width: 100%;
}

/* Make sure flip-card buttons are always visible */
#quote-card .btn {
  display: inline-block !important;
  opacity: 1 !important;
}

/* un-hide the flip-card’s buttons */
#quote-card .btn {
  display: inline-block !important;
  opacity: 1          !important;
}
.rad-card {
  position: relative;
  overflow: hidden;
  background-color: #000;
  color: #fff;
  height: 400px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all 0.4s ease-in-out;
  border-radius: 0;
  box-shadow: none;
}

/* Background image */
.rad-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
  border-radius: 0;
  filter: none;
}

/* Overlay container */
.rad-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  overflow: hidden;
}

/* Linear gradient inside ::before for better layering */
.rad-card__overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0564a4, #1bf7da, #0350e9);
  background-size: 400% 400%;
  animation: linearGlow 12s ease-in-out infinite;
  filter: blur(60px);
  opacity: 1;
  transform: scale(2.5); /* expand slightly beyond edges */
  z-index: 1;
}

/* Hover behavior */
.rad-card:hover .rad-card__bg {
  opacity: 0;
}

.rad-card:hover .rad-card__overlay {
  opacity: 1;
}

/* Content */
.rad-card__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  margin-bottom: 8px;
  z-index: 2;
  position: relative;
}

.rad-card__title {
  font-size: 20px;
  font-weight: 600;
  z-index: 2;
  position: relative;
  margin-bottom: 12px;
}

.rad-card__content {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.rad-card__cta {
  display: inline-block;
  margin-top: 12px;
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}

.rad-card:hover .rad-card__content {
  opacity: 1;
  transform: translateY(0);
}

/* Clickable Overlay Buttons */
.rad-card__toggle,
.rad-card__cta-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: none;
  border: none;
  cursor: pointer;
}

/* Keyframe for gradient motion */
@keyframes linearGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Static center title shown by default */
.rad-card__title-static {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Hide static title on hover */
.rad-card:hover .rad-card__title-static {
  opacity: 0;
}

/* Hide dynamic content initially */
.rad-card__label,
.rad-card__title,
.rad-card__content {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Reveal on hover */
.rad-card:hover .rad-card__label,
.rad-card:hover .rad-card__title,
.rad-card:hover .rad-card__content {
  opacity: 1;
  transform: translateY(0);
}


/* Force title block content to expand full width */
#products-and-services .title-block {
  display: block !important;
  width: 100%;
  max-width: 100%;
}

#products-and-services .title-block--content.title-small {
  display: block;
  width: 100%;
  max-width: 100%;
}

.console-underscore {
    font-family: 'Nunito Sans', serif;
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.2;
    /* Gradient shine effect only here */
    color: black;

}

/* Visually hides for screen readers */
.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

#ps-title {
  font-size: 3.0rem;
  font-weight: 300;
  color: #383c43;
  overflow-wrap: break-word;
  perspective: 500px;
  position: relative;
  z-index: 1;
}

/* make the section a clipping context so our row can slide out */
#products-and-services {
  position: relative;
  overflow: hidden;
}



/* title sits behind */
#products-and-services .title-block--content {
  position: relative;
  z-index: 1;
}

/* cards sit in front */
#products-and-services .row {
  position: relative;
  z-index: 10;
}

/* optional: give the section a min-height so you can scroll through it */
/* tweak as needed — here we ensure it's at least 200vh so there's room to scroll */
#products-and-services {
  min-height: 0vh;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}


/* Styling for each word span */
#ps-title span.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0px);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.promo-banner.gradient-bg {
  background: linear-gradient(135deg, #0350e9, #1bf7da);
  position: relative;
  overflow: hidden;
}

.promo-heading {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 400;
  font-size: 2.2rem;
}

.promo-description {
  font-size: 1.2rem;
  font-weight: 300;
}

.promo-link {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 400;
  transition: color 0.3s ease;
}

.promo-link:hover {
  color: #d6f5f5;
}


#media {
  background-color: #f0f0f0; /* or use your custom black tone */
}


.media-card h6 {
  font-size: 1.1rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
}

.media-card .arrow-group {
  transition: transform 0.3s ease;
}

.media-card:hover .arrow-group {
  transform: translateX(4px);
}


/* Horizontal Scroll on Mobile */
.media-scroll-wrapper {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.media-scroll-card {
  scroll-snap-align: start;
  width: 90vw;
  max-width: 320px;
}

/* Remove margins at full width */
@media (max-width: 768px) {
  #media .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100vw;
  }
}
.news-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 0.25rem;
  width: 288px;
}

/* For Swiper spacing */
.swiper-slide {
  width: auto;
  margin-right: 1rem;
}

.object-fit-cover {
  object-fit: cover;
  height: 250px;
}

.card-title {
  font-size: 1.1rem;
  line-height: 1.5;
}

#media-insights .card {
  transition: all 0.3s ease-in-out;
}

#media-insights .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}


#media-insights .card-title span {
  all: unset;
  display: inline;
  font-size: inherit;
  line-height: inherit;
  white-space: normal;
}
#media-insights .card-title {
  font-size: 1rem; /* Large font size */
  margin-bottom: 5rem; /* Space below the heading */
  font-weight: 300;
  letter-spacing: 0.2rem;
}

.media-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  height: 100%;
  transition: transform 0.3s ease;
}

.media-card:hover {
  transform: translateY(-4px);
}

.media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 1.5rem 1rem;
  transition: transform 0.4s ease;
  transform: translateY(0%);
  z-index: 2;
  min-height: 110px;
}



.media-meta {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.4s ease;
}

.media-date {
  font-size: 0.75rem;
  color: #666;
  margin-top: 0.5rem;
}

.media-excerpt {
  font-size: 0.875rem;
  color: #444;
  margin-top: 0.25rem;
}

.read-more {
  color: #007BFF;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 0.5rem;
}

.media-card:hover .media-overlay {
  transform: translateY(-40%);
}

.media-card:hover .media-meta {
  opacity: 1;
  max-height: 200px;
}

.media-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  height: 350px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-card-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  color: #000;
  z-index: 2;
  padding: 1.5rem;
  transform: translateY(0%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.media-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.media-meta {
  opacity: 0;
  pointer-events: none;
}

.media-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.media-tag {
  background-color: #007bff10;
  border: 1px solid #007bff;
  color: #007bff;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  font-weight: 500;
}

.media-date {
  font-size: 0.85rem;
  color: #333;
  margin-bottom: 0.25rem;
}

.media-excerpt {
  font-size: 0.9rem;
  color: #222;
}

.read-more {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: #007bff;
  text-decoration: none;
}


.section-gap {
  height: 100px;
}

@media (max-width: 768px) {
  .section-gap {
    height: 60px;
  }
}
.media-card {
  box-shadow: none !important;
}
.media-card-overlay {
  box-shadow: none !important;
}

.hero { min-height: 60vh; }
    .logo-column, .text-column { padding: 2rem; }

    /* ─── Logo styles ─── */
    #uniprocLogo {
      max-width: auto;
      width: auto;
      height: auto;
    }
    #uniprocLogo .st0 {
      vector-effect: non-scaling-stroke;
      stroke-width: 6;
      stroke: #0d6efd;
      fill: none;
    }

    /* ─── Text column ─── */
    .text-column {
      display: flex;
      justify-content: center;
      align-items: center;
      background: #e7f4ff;
      overflow: hidden;
      text-align: center;
    }
    .logo-column {
      background: #fbfcf6;
    }
    .main-text {
      display: inline-block;
      white-space: normal;
      word-wrap: break-word;
      font-size: 2rem;
      font-weight: 800;
      line-height: 1.2;
      color: #000;
      opacity: 0;
    }
    @media (min-width: 768px) {
      .main-text { font-size: 3rem; }
    }
/* leave global spans alone by default */
.highlight {
  color: inherit;
}

/* but inside the GSAP carousel only, apply the blue highlight */
.text-column .highlight {
  color: #0d6efd;
}


/* in css/style.css (or inside <head><style>…) */

#page-container.blurred {
  filter: blur(5px);
  transition: filter .3s ease;
}



/* Overlay */
#quote-card {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1050;
  background-color: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
  justify-content: center;
  align-items: flex;
  padding: 2rem;
}

/* Form container */
#quote-card > .bg-white {
  background-color: rgba(255, 255, 255, 0.0) !important;
  max-width: 500px;
  width: 100%;
  max-height: calc(100vh - 4rem); /* 2rem top + bottom */
  overflow-y: auto;
  border-radius: 0.75rem;
  box-shadow: 0 1rem 2rem rgba(0,0,0,0.2);
  padding: 1.5rem;
  position: relative;
}

/* Move close button to top-left */
#quote-card .btn-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: auto;
  z-index: 10;
}


/* ─── Footer CSS ─── */
.w-1200 { max-width: 1200px; }

#footer {
  font-size: 0.95rem;
  background-color: #f1f9ff;
  color: #ccc;
}
#footer a {
  color: #626b72;
  text-decoration: none;
  transition: color .2s;
}
#footer a:hover { color: #001120; }

/* Left-col elements */
.footer-desc {
  line-height: 1.5;
}


/* Headings & lists */
.footer-heading {
  font-weight: 600;
  font-size: 1.2rem;
  color: #001120;
  margin-bottom: .75rem;
}
.footer-list li + li { margin-top: 0.4rem; }

/* Global links */
#footer .small {
  color: #959ca1;
}
#footer .small a:hover { color: #aaa; }

/* Social icons */
.social-link {
  font-size: 1.2rem;
  transition: color .2s;
}
.social-link:hover { color: #fff; }

/* Responsive spacing */
@media (max-width: 575px) {
  #footer .mb-5 { margin-bottom: 3rem !important; }
}

/* ─── Footer link hover animation ─── */
/* 1) Prep each link to carry a CSS var and position for the underline */
/* default pink */
#footer .footer-list a {
  position: relative;
  --u: 0;
  color: #626b72;               /* your pinky tone */
  transition: color .2s ease;   /* smooth fade to white */
}

/* underline “bar” */
#footer .footer-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: calc(var(--u) * 100%);
  height: 2px;
  background: #001120;
  pointer-events: none;
  will-change: width;
}

/* on hover—pure CSS for text color */
#footer .footer-list a:hover {
  color: #001120;
}

/* Tint footer logo via CSS filter */
.footer-logo-img {
  /* target your dark-gray (“#001120”) default */
  filter: brightness(0) saturate(100%) invert(44%) sepia(7%) saturate(623%) hue-rotate(164deg) brightness(90%) contrast(87%);
}

/* on hover → bootstrap blue (#007bff) */
.footer-logo-img:hover {
  filter: brightness(0) saturate(100%) invert(13%) sepia(18%) saturate(6173%) hue-rotate(182deg) brightness(101%) contrast(109%);
}

.rad-card__cta {
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  font-weight:600;
  text-decoration:none;
  position:relative;
  transition:color .25s ease;
}

.rad-card__cta .rad-card__arrow path {
  fill: currentColor;
  transition: transform .35s ease;
}

.rad-card:hover .rad-card__cta .rad-card__arrow path,
.rad-card:focus-within .rad-card__cta .rad-card__arrow path {
  transform: translateX(4px);
}
