body {
    background-color: #fafbfb;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: SF Pro Display, Helvetica Neue, Helvetica, Arial, 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: "Arsenal SC", 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: "Arsenal SC", 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: "Arsenal SC", 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: "Arsenal SC", 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;
    }
}

/* 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: "Arsenal SC", sans-serif;
    color: #B5B5B5;
}

/* Titles under each image */
.image-title-small {
    font-size: 1.1rem;
    font-family: "Arsenal SC", sans-serif;
    color: #B5B5B5;
    margin-top: -120px;
}

/* Titles under each image */
.image-title-small-white {
    font-size: 1.1rem;
    font-family: "Arsenal SC", sans-serif;
    color: #D3CCCC;
}
.title-small {
    font-size: 0.9rem;
    font-family: "Arsenal SC", sans-serif;
    color: #B5B5B5;
}
.image-title-large {
    font-size: 1.5rem;
    font-family: "Arsenal SC", 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: "Arsenal SC", 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: "Arsenal SC", 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: "Arsenal SC", 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;
    }
}