/* Initial style for the element with class "test-zoom-in" */
.test-zoom-in {
    opacity: 0; /* Start fully transparent */
    transform: translateY(50px); /* Initial downward position */
    animation: fade-in 8s forwards; /* Fade-in animation on load */
    transition: transform 8s ease-in-out; /* Smooth transition for hover scaling with ease-in-out */
}

/* Keyframes for the fade-in animation */
@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(200px); /* Start from a lower position */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Final position */
    }
}

/* Initial style for the element with class "hello-test-transition" */
.hello-test-transition {
    opacity: 0; /* Start fully transparent */
    transform: translateX(-100px); /* Start 100px off-screen to the left */
    animation: slide-in 3s forwards; /* Slide-in animation */
}

/* Keyframes for the slide-in animation */
@keyframes slide-in {
    0% {
        opacity: 0; /* Start with 0 opacity */
        transform: translateX(-100px); /* Start 100px off-screen */
    }
    100% {
        opacity: 1; /* End with full opacity */
        transform: translateX(0); /* End at original position */
    }
}

/* Hover effect: scale the element by 1.05x */
.test-zoom-in:hover {
    transform: scale(1.05) !important; /* Enlarge image by 1.05x on hover */
}

/* Initial styling for the paragraph */
p.dezeen-state-change {
    position: relative; /* Ensures the ::before element is positioned relative to the paragraph */
     /* Default text color */
    transition: color 1s ease, font-weight 1s ease, letter-spacing 1s ease; /* Smooth transition */
}

/* Hover effect for specific paragraph */
p.dezeen-state-change:hover {
    color: #fefefe !important; /* Change text color to #fefefe on hover */
    font-weight: bold; /* Make font bold on hover */
    letter-spacing: 1px; /* Increase letter spacing on hover */
}

/* Background and image overlay on hover */
p.dezeen-state-change::before {
    content: ""; /* Needed to display the image */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0908; /* Background color behind image */
    background-image: url('https://adryanabiismith.com/wp-content/uploads/2024/09/img_0318-1.png');
    background-size: cover;
    background-position: center;
    opacity: 0; /* Start with overlay hidden */
    transition: opacity 1s ease; /* Smooth transition */
    z-index: -1; /* Position background and image behind the text */
    pointer-events: none; /* Ensures the image does not interfere with hover */
}

/* Show overlay with image and background on hover */
p.dezeen-state-change:hover::before {
    opacity: 0.4; /* Set overlay opacity to 40% on hover */
}

/* Initial styling for the paragraph */
p.schuh-state-change {
    position: relative; /* Ensures the ::before element is positioned relative to the paragraph */
    color: #0a0908; /* Default text color */
    transition: color 1s ease, font-weight 1s ease, letter-spacing 1s ease; /* Smooth transition */
}

/* Hover effect for specific paragraph */
p.schuh-state-change:hover {
    color: #fefefe !important; /* Change text color to #fefefe on hover */
    font-weight: bold; /* Make font bold on hover */
    letter-spacing: 1px; /* Increase letter spacing on hover */
}

/* Background and image overlay on hover */
p.schuh-state-change::before {
    content: ""; /* Needed to display the image */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0908; /* Background color behind image */
    background-image: url('https://adryanabiismith.com/wp-content/uploads/2024/09/1e54f24c-a733-4b11-9d52-fa0c42241c00.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0; /* Start with overlay hidden */
    transition: opacity 1s ease; /* Smooth transition */
    z-index: -1; /* Position background and image behind the text */
    pointer-events: none; /* Ensures the image does not interfere with hover */
}

/* Show overlay with image and background on hover */
p.schuh-state-change:hover::before {
    opacity: 0.4; /* Set overlay opacity to 40% on hover */
}

/* Initial styling for the paragraph */
p.hindz-state-change {
    position: relative; /* Ensures the ::before element is positioned relative to the paragraph */
    color: #0a0908; /* Default text color */
    transition: color 1s ease, font-weight 1s ease, letter-spacing 1s ease; /* Smooth transition */
}

/* Hover effect for specific paragraph */
p.hindz-state-change:hover {
    color: #fefefe !important; /* Change text color to #fefefe on hover */
    font-weight: bold; /* Make font bold on hover */
    letter-spacing: 1px; /* Increase letter spacing on hover */
}

/* Background and image overlay on hover */
p.hindz-state-change::before {
    content: ""; /* Needed to display the image */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0908; /* Background color behind image */
    background-image: url('https://adryanabiismith.com/wp-content/uploads/2024/09/img_4218.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0; /* Start with overlay hidden */
    transition: opacity 1s ease; /* Smooth transition */
    z-index: -1; /* Position background and image behind the text */
    pointer-events: none; /* Ensures the image does not interfere with hover */
}

/* Show overlay with image and background on hover */
p.hindz-state-change:hover::before {
    opacity: 0.4; /* Set overlay opacity to 40% on hover */
}

/* Style for the WordPress group with class "custom-group-style" */
.wp-block-group.custom-group-style {
    background-color: #fefefe; /* Default background color */
    color: #333; /* Default text color */
    padding: 20px; /* Internal spacing */
    border-radius: 8px; /* Rounded corners */
    transition: color 0.3s ease, font-style 0.3s ease; /* Smooth transition for color and font style change */
}

/* Initial styling for the paragraph */
p.watbd-state-change {
    position: relative; /* Ensures the ::before element is positioned relative to the paragraph */
    color: #0a0908; /* Default text color */
    transition: color 1s ease, font-weight 1s ease, letter-spacing 1s ease; /* Smooth transition */
}

/* Hover effect for specific paragraph */
p.watbd-state-change:hover {
    color: #fefefe !important; /* Change text color to #fefefe on hover */
    font-weight: bold; /* Make font bold on hover */
    letter-spacing: 1px; /* Increase letter spacing on hover */
}

/* Background and image overlay on hover */
p.watbd-state-change::before {
    content: ""; /* Needed to display the image */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0908; /* Background color behind image */
    background-image: url('https://adryanabiismith.com/wp-content/uploads/2024/11/ustwo-highlights-2.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0; /* Start with overlay hidden */
    transition: opacity 1s ease; /* Smooth transition */
    z-index: -1; /* Position background and image behind the text */
    pointer-events: none; /* Ensures the image does not interfere with hover */
}

/* Show overlay with image and background on hover */
p.watbd-state-change:hover::before {
    opacity: 0.4; /* Set overlay opacity to 40% on hover */
}

/* Style for the WordPress group with class "custom-group-style" */
.wp-block-group.custom-group-style {
    background-color: #fefefe; /* Default background color */
    color: #333; /* Default text color */
    padding: 20px; /* Internal spacing */
    border-radius: 8px; /* Rounded corners */
}

/* Change text color for paragraphs within the group on hover */
.wp-block-group.custom-group-style:hover p {
    color: #0A0908 !important; /* Change color for all paragraphs on hover */
}

/* Italicize the first paragraph on hover */
.wp-block-group.custom-group-style:hover p:first-of-type {
    font-style: italic; /* Make the first paragraph italic on hover */
}

/* Change color for the second paragraph on hover */
.wp-block-group.custom-group-style:hover p:nth-of-type(2) {
    color: #0A0908 !important; /* Ensure the second paragraph changes color on hover */
}

/* Change image color on hover */
.wp-block-group.custom-group-style:hover img {
    filter: grayscale(100%) brightness(0) saturate(1000%) hue-rotate(0deg) invert(1); /* Adjust this to target the color */
}

/* Ensure paragraphs have smooth transitions */
.wp-block-group.custom-group-style p {
    transition: color 0.5s ease-in, font-style 0.5s ease-in; /* Smooth transition for color and italic */
}

.is-style-fill { /* Initial button style */
  background-color: #f0efeb ; /* Button background color */
  color: white; /* Button text color */
  padding: 10px 20px; /* Button padding */
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition */
}

.is-style-fill:hover { /* Hover state */
  background-color: #f0efeb ; /* New background color on hover */
  transform: scale(1.05); /* Slightly enlarges the button */
  color: #f0f0f0; /* Text color on hover */
}

/* Container for the carousel */
.carousel-creative-style-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Wrapper for carousel items */
.carousel-creative-style {
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping */
  animation: scroll 20s linear infinite;
  width: calc(30% * 4); /* Four times the width of the container */
}

/* Each carousel item */
.carousel-item {
  flex: 0 0 25%; /* Set each item to 25% of the full width */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Image styling */
.carousel-item img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  max-width: 100%;
}

/* Keyframes for smooth scrolling */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%); /* Scroll the entire width of four items */
  }
}

/* Safari-specific adjustments */
@supports (-webkit-overflow-scrolling: touch) {
  .carousel-creative-style {
    animation: scroll 40s linear infinite;
    -webkit-animation: scroll 40s linear infinite; /* Safari fallback */
  }
  @keyframes scroll {
    0% {
      -webkit-transform: translateX(0);
      transform: translateX(0);
    }
    100% {
      -webkit-transform: translateX(-100%);
      transform: translateX(-100%);
    }
  }
}

.is-style-casestudy { /* Initial button style */
  background-color: #fefefe ; /* Button background color */
  color: white; /* Button text color */
  padding: 10px 20px; /* Button padding */
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition */
}

.is-style-casestudy:hover { /* Hover state */
  background-color: #fefefe ; /* New background color on hover */
  transform: scale(1.05); /* Slightly enlarges the button */
  color: #fefefe; /* Text color on hover */
}

.case-study-hover {
  transition: transform 0.4s ease-in-out;
}

.case-study-hover:hover {
  transform: scale(1.1);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: white; /* Adjust as needed */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Adds a shadow */
}
body {

.reveal-on-scroll {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 2s ease-in, transform 2s ease-in;
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.carousel-creative-style-container {
  background-color: #FFD166;
  /* Keep your existing styles */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
  z-index: 2;
}