body {
    background-color: #fafbfb;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 1.5em;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-align: left;
	max-width: 750px;
	margin: auto;
}

ul {
	
	list-style-type: disc; 
	margin-left: 20px; 
	max-width: 750px; 
	font-weight:bold; 
	margin: auto; 
	text-align:left; 
	line-height:1.5rem;
}

li {
	margin-top:15px;
}

/* Initially set images to grayscale */
.image-tile img {
    filter: grayscale(100%);
    transition: filter 0.2s ease-in-out; /* Transition for a smooth effect */
	    -webkit-tap-highlight-color: transparent; /* For Safari */
    tap-highlight-color: transparent;
    outline: none;

}

/* Add an active class to remove grayscale when in focus */
.image-tile img.in-focus {
    filter: grayscale(0%);
}

/* Adjusted Gradient Background */
.gradient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #d4d4d4 30%, #fafbfb 70%);
    z-index: -1;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

/* Top Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    opacity: 1;
    margin-left: 15px;
}
.logo img {
    height: 40px;
}
.hamburger {
    cursor: pointer;
    font-size: 30px;
    color: #444;
    margin-right: 15px;
}

/* Fade-in text for Senior UX Designer */
.senior-ux-designer-text {
    font-size: 1.5rem;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #666666;
    font-weight: normal;
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
    animation-delay: 3s;
}

/* Existing code for the side navigation */
.side-nav {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #333;
    overflow-x: hidden;
    transition: width 0.5s ease; /* For sliding the menu open */
    padding-top: 60px;
    z-index: 11;
}

/* When closing, keep right: 0, but set opacity to 0 */
.side-nav.closing {
    opacity: 0;
}

/* Hide the content initially */
.side-nav .side-nav-content {
    opacity: 0;
    transition: opacity 0.5s ease 0.5s; /* Delay the fade-in until after the slide-out */
}

/* Show the content when side-nav is open */
.side-nav.open .side-nav-content {
    opacity: 1;
}

/* Fade out content when closing */
.side-nav.closing .side-nav-content {
    opacity: 0;
    transition: opacity 0.0s ease; 
	/* Fade out immediately */
}
	
	/* New class to disable transitions */
.side-nav.no-transition {
    transition: none !important; /* Disable all transitions */
}
/* Adjust the transition of menu width and content */
.side-nav.open {
    width: 250px; /* Open the menu fully */
	    z-index: 13;

}

.side-nav p {
    padding: 15px;
    font-size: 1rem;
    color: #fff;
    text-align: center;
    line-height: 1.8;
}
.side-nav a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 25px;
    color: #fff;
    display: block;
    transition: 0.3s;
    text-align: center;
}
.side-nav a:hover {
    background-color: #575757;
}
.side-nav .close-btn {
    position: absolute;
    top: 0;
    right: 16px;
    font-size: 36px;
    margin-left: 50px;
    margin-top: 10px;
    color: #c8c2bd;
    cursor: pointer;
}


.main-content {
    margin-top: 100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Fade-in text */
.small-text {
    font-size: 1.9rem;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #666666;
    font-weight: normal;
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
    animation-delay: 0s;
}

/* Fade-in text */
.small-text-white {
    font-size: 1.9rem;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #ECEBE6;
    font-weight: normal;
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
    animation-delay: 0s;
}

/* Large text with gradient transition */
.large-text {
    font-size: 3rem;
	line-height: 3.5rem;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 800;
    color: #333333;
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards, gradientTransition 4s ease-in-out 2s forwards;
    animation-delay: 1.5s;
}

/* Gradient fade-in effect */
@keyframes gradientTransition {
    0% {
        background: none;
        color: #333333;
    }
    100% {
        background: linear-gradient(to top, #fafbfb 10%, #333333 100%);
        color: transparent;
        -webkit-background-clip: text;
    }
}

/* Optional homepage video hero */
.homepage-video-hero {
    width: min(92vw, 1380px);
    margin: 42px auto 12px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 24px;
    background: #111;
    box-shadow: 0 18px 50px rgba(20, 24, 28, 0.10);
    opacity: 0;
    transform: translateY(18px);
    animation: homepageHeroVideoIn 0.8s ease 0.15s forwards;
}
.homepage-video-hero-media {
    display: block;
    width: 100%;
    height: 100%;
    background: #111;
}
.homepage-video-hero--cover .homepage-video-hero-media { object-fit: cover; }
.homepage-video-hero--contain .homepage-video-hero-media { object-fit: contain; }
@keyframes homepageHeroVideoIn {
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 720px) {
    .homepage-video-hero {
        width: calc(100vw - 28px);
        margin-top: 28px;
        border-radius: 16px;
        box-shadow: 0 12px 34px rgba(20, 24, 28, 0.09);
    }
}
@media (prefers-reduced-motion: reduce) {
    .homepage-video-hero { animation: none; opacity: 1; transform: none; }
}

/* Image grid container */
.image-grid {
    width: 90%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    margin-top: 40px;
    margin-bottom: 30vh;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    visibility: hidden;
}
.image-grid.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}
.image-tile-container {
    text-align: center;
}
.image-tile {
    position: relative;
    cursor: pointer;
	    user-select: none; /* Prevent selecting image tiles */
    -webkit-user-select: none; /* Safari */

}
.image-tile img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}
.image-tile:hover img {
    transform: scale(1.05);
}

.role-title-small {
    font-size: 1.1rem;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #B5B5B5;
}

/* Titles under each image */
.image-title-small {
    font-size: 1.1rem;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #B5B5B5;
    margin-top: -120px;
}

/* Titles under each image */
.image-title-small-white {
    font-size: 1.1rem;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #D3CCCC;
}
.title-small {
    font-size: 0.9rem;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #B5B5B5;
}
.image-title-large {
    font-size: 1.5rem;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 600;
    color: #868686;
    margin-bottom: 40px;
}

/* Style for the popup container */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden; /* Hidden by default */
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1000;
}

/* Style for the popup when active */
.popup.active {
    visibility: visible;
    opacity: 1;
}

/* Style for the popup content */
.popup-content {
    background-color: #eeeeee;
    padding: 20px;
    max-width: 80%;
    max-height: 80%;
    overflow-y: auto; /* Enable vertical scrolling */
    position: relative; /* Establish a new containing block for absolute positioning */
    border-radius: 10px;
}

/* Style for the close button */
.popup .close-btn {
    position: absolute;
    top: 1px;
    right: 10px;
    font-size: 100px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    z-index: 1001; /* Ensure it stays above other content */
	    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);

}

/* Adjust the popup-content to have appropriate padding */
.popup-content {
    padding-top: 40px; /* Add top padding to avoid overlap with the close button */
}

.popup-content h2 {
    margin-top: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 800;
}

/* Ensure the close button stays fixed at the top right */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 90px;
    color: #333;
    cursor: pointer;
}

/* Custom scrollbar styles for the popup */

/* For Chrome, Edge, and Safari */
.popup-content::-webkit-scrollbar {
  width: 6px; /* Adjust the width as needed */
}

.popup-content::-webkit-scrollbar-track {
  background: transparent; /* Transparent track */
}

.popup-content::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2); /* Semi-transparent thumb */
  border-radius: 10px; /* Rounded corners */
}

.popup-content::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.4); /* Darker on hover */
}

/* For Firefox */
.popup-content {
  scrollbar-width: thin; /* Thinner scrollbar */
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent; /* Thumb and track colors */
}


/* Custom scrollbar styles */

/* For Chrome, Edge, and Safari */
::-webkit-scrollbar {
  width: 8px; /* Adjust the width to make it thinner or thicker */
}

::-webkit-scrollbar-track {
  background: transparent; /* Makes the track transparent */
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2); /* Semi-transparent thumb */
  border-radius: 10px; /* Rounded corners for a modern look */
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.4); /* Darker thumb on hover */
}

/* For Firefox */
body {
  scrollbar-width: thin; /* Makes the scrollbar thinner */
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent; /* Thumb and track colors */
}


/* Carousel in popups */
.carousel {
    position: relative;
    width: 100%;
    margin-top: 20px;
}
.carousel-slide {
    display: none;
}
.carousel-slide.active {
    display: block;
}
.carousel-thumbnails {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.carousel-thumbnails img {
    width: 75px;
    height: auto;
    margin: 0 5px;
    cursor: pointer;
    border: 2px solid transparent;
}
.carousel-thumbnails img.active {
    border-color: #333;
}

/* Testimonials Side Navigation */
.testimonials-nav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 3;
    top: 0;
    right: 0;
    background-color: #333;
    overflow-x: hidden;
    overflow-y: auto; /* Enable vertical scrolling */
    transition: 0.5s;
}

.testimonials-nav.open {
    width: 85%; /* Adjust the width as needed */
}

.testimonials-nav .close-btn {
    position: fixed;
    top: 20px;
    right: 25px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    z-index: 1;
}

.testimonials-nav .side-nav-content {
    padding: 20px;
    padding-top: 70px; /* Adjust to prevent overlap with close button */
}

/* Testimonial Item */
.testimonial {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: #fff;
}

.testimonial-icon {
    margin-right: 10px;
    font-size: 24px;
}

.testimonial-text {
    flex: 1;
    font-size: 16px;
}

/* Mobile Responsive Styles */
@media (max-width: 600px) {
    .testimonial {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .testimonial-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .testimonial-text {
        font-size: 18px; /* Optional: adjust font size */
		margin-right:50px;
		text-align:left;
    }
	
	.image-title-small {
    font-size: 1.1rem;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #B5B5B5;
    margin-top: -100px;
}
}

.navbar {
  display: flex;
  justify-content: space-between; /* Push logo to the left and icons to the right */
  align-items: center; /* Center everything vertically */
  padding: 10px;
}

.right-icons {
  display: flex;
  align-items: center; /* Align the person icon and hamburger vertically */
	color: #fff;
}

.person-icon {
  margin-right: 20px; /* Space between the person icon and the hamburger menu */
}
.icon-person-speech-bubble {
  fill: #FF6347; /* Change this to any color */
}
.navbar .person-icon {
    font-size: 30px;
    cursor: pointer;
    margin-left: 20px;
    color: #151515; /* Change this to your desired color */
}



.logo {
  /* Your logo styling */
  width: 150px; /* Example width for the logo */
}

/* Adjust the padding/margins if needed to make the spacing just right */


/* Responsive adjustments */
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .popup-3-column-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .popup-image {
        max-width: 80%;
        margin: 0 auto;
    }
	
}

/* Fade-in effect */
@keyframes fadeIn {
    0% {
        opacity: 0;
        visibility: hidden;
    }
    100% {
        opacity: 1;
        visibility: visible;
    }
}

/* 3-Column layout for desktop */
.popup-3-column-layout {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
}

/* Image column */
.column-image .popup-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Text column */
.column-text h2 {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.column-text p {
    font-size: 1rem;
    color: #666666;
    line-height: 1.8;
}

/* Icon column */
.column-icon .download-icon {
    width: 200px;
    height: auto;
    cursor: pointer;
}

/* Responsive Design: Stack on mobile */
@media (max-width: 768px) {
    .popup-3-column-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .column-icon {
        margin-top: 20px;
    }
    .popup-image {
        max-width: 80%;
        margin: 0 auto;
    }
}

/* Scroll-condensed brand/title in nav */
.navbar {
    background: transparent;
    transition: background-color .35s ease, backdrop-filter .35s ease, box-shadow .35s ease, padding .35s ease;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    box-shadow: none;
    padding: 16px 22px;
}
.navbar.scrolled {
    background: rgba(9, 12, 18, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 12px 38px rgba(0,0,0,.24);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.logo {
    display:flex;
    align-items:center;
    min-height:44px;
}
.floating-brand {
    display:flex;
    flex-direction:column;
    gap:2px;
    text-decoration:none;
    color:#f5f7fb;
    opacity:0;
    transform: translateY(-14px) scale(.94);
    transform-origin:left center;
    pointer-events:none;
    transition: opacity .32s ease, transform .32s ease;
    text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.navbar.scrolled .floating-brand {
    opacity:1;
    transform: translateY(0) scale(1);
    pointer-events:auto;
}
.floating-brand-title {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -.02em;
    line-height: 1.05;
    color:#f8fbff;
}
.floating-brand-subtitle {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: .74rem;
    line-height: 1.1;
    color: rgba(232,236,246,.72);
    letter-spacing: .02em;
    max-width: 340px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.nav-compact .large-text,
body.nav-compact .page-heading {
    transform: translateY(-8px);
    opacity: .78;
}
.large-text, .page-heading {
    transition: transform .35s ease, opacity .35s ease;
}
.page-header {
    transition: transform .35s ease, opacity .35s ease;
}
body.nav-compact .page-header {
    transform: translateY(-8px);
}
@media (max-width: 760px) {
    .navbar { padding: 12px 16px; }
    .floating-brand-title { font-size: .92rem; }
    .floating-brand-subtitle { font-size: .68rem; max-width: 210px; }
}

/* Atlas v1 foundation */
:root {
  --atlas-space-1: 4px;
  --atlas-space-2: 8px;
  --atlas-space-3: 12px;
  --atlas-space-4: 16px;
  --atlas-space-5: 24px;
  --atlas-space-6: 32px;
  --atlas-space-7: 48px;
  --atlas-space-8: 64px;
  --atlas-radius-card: 18px;
  --atlas-radius-media: 22px;
}
.atlas-product-story .project-detail-hero {
  margin-bottom: var(--atlas-space-5);
}
.atlas-story {
  margin-top: var(--atlas-space-7);
}
.atlas-story-section h3 {
  letter-spacing: -0.02em;
}
.atlas-turning_point .case-study-copy p:first-child,
.atlas-reflection .case-study-copy p:first-child {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.55;
}
.decision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.decision-card {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  border-radius: var(--atlas-radius-card);
  padding: 18px;
}
.decision-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}
.decision-card p {
  margin: 10px 0 0;
}
.decision-card span {
  display: block;
  opacity: .62;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 3px;
}
@media (max-width: 760px) {
  .atlas-story { margin-top: 34px; }
  .decision-grid { grid-template-columns: 1fr; }
}

/* Atlas grouped navigation */
.sidenav-heading-secondary {
  margin-top: 28px;
  opacity: 0.74;
}
.sidenav .sidenav-heading + a {
  margin-top: 8px;
}


/* LiteCMS v2.29: compact testimonial profile rows */
.testimonial-card .testimonial-person{
    display:flex;
    align-items:center;
    gap:12px;
    margin:0 0 14px;
    min-width:0;
}
.testimonial-card .testimonial-person > div:last-child{
    min-width:0;
}
.testimonial-card .testimonial-avatar{
    width:46px;
    height:46px;
    min-width:46px;
    flex:0 0 46px;
    display:block;
    object-fit:cover;
    object-position:center;
    border-radius:50%;
    overflow:hidden;
    border:1px solid rgba(25,29,34,.10);
    box-shadow:0 4px 12px rgba(25,29,34,.10);
    background:#eef1f3;
}
.testimonial-card .testimonial-avatar-fallback{
    display:grid;
    place-items:center;
    color:#4d5962;
    font:700 16px/1 Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.testimonial-card .testimonial-person strong{
    display:block;
    margin:0 0 3px;
    line-height:1.18;
    font-size:.98rem;
}
.testimonial-card .testimonial-person span{
    display:block;
    margin:0;
    font-size:.84rem;
    line-height:1.3;
    font-weight:500;
}
@media (max-width:600px){
    .testimonial-card .testimonial-avatar{width:42px;height:42px;min-width:42px;flex-basis:42px}
    .testimonial-card .testimonial-person{gap:10px;margin-bottom:12px;text-align:left}
}


/* LiteCMS v2.30: linked testimonial companies */
.testimonial-card .testimonial-company-link{
    display:inline;
    color:inherit;
    font:inherit;
    font-weight:700;
    text-decoration:underline;
    text-decoration-thickness:1px;
    text-decoration-color:rgba(66,113,148,.32);
    text-underline-offset:2px;
    transition:color .18s ease,text-decoration-color .18s ease;
}
.testimonial-card .testimonial-company-link:hover,
.testimonial-card .testimonial-company-link:focus-visible{
    color:var(--accent-strong,#275f86);
    text-decoration-color:currentColor;
}
