* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;

}

body {
    font-family: Arial, sans-serif;
    background: #ccc;
    margin: 0;
    height: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header container */
.header-container {
    background: black;
    padding: 20px;
    border-radius: 30px;
    width: 100%;
    max-width: 2000px;
    height: auto;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    transform: scale(0.9);
    transform-origin: center center;
    margin: 0 auto;
}

.whitebox-header-content {
    background: white;
    padding: 10px;
    border-radius: 40px;
    height: 550px;
    position: relative;
}

/* Custom cutout shape */
.shape-header {
    --radius: 40px;
    --color: #000;
    --mask: radial-gradient(var(--radius) at 0 0, #0000 100%, #000 calc(100% + 1px));

    background-color: var(--color);
    border-radius: var(--radius) 0;
    position: absolute;
    z-index: 1;

    color: white;
    width: 25vw; 
    aspect-ratio: 3/1;
    max-width: 250px; 
    max-height: 200px; 
}

.shape-header:nth-child(1) {
    right: 0;
    bottom: 0;
}

.shape-header:nth-child(2) {
    right: 0;
    top: 0;
    transform: scale(1, -1);
}

.shape-header:nth-child(3) {
    left: 0;
    top: 0;
    transform: scale(-1, -1);
}

.shape-header::before,
.shape-header::after {
    content: "";
    position: absolute;
    width: var(--radius);
    aspect-ratio: 1;
    background-color: var(--color);
    mask-image: var(--mask);
    -webkit-mask-image: var(--mask);
    z-index: 0;
}

.shape-header::before {
    top: calc(var(--radius) * -1);
    right: 0;
}

.shape-header::after {
    bottom: 0;
    left: calc(var(--radius) * -1);
}

.header-logo {
    position: absolute;
    top: 10px;
    left: 60px;
    z-index: 20;
}

.header-logo img {
    width: 150px; 
    height: auto;
    display: block;
}


.nav {
    position: absolute;
    top: 2px;
    right: 50px;
    z-index: 20;
}

.menu {
    display: flex;
    justify-content: center;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 5px 20px;
    border-radius: 25px;
    border: 2px solid black;
    gap: 40px;
}

.menu-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    color: #000;
    font: inherit;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .menu-button:hover {
    background-color: #f0f0f0;
  }
  

.portfolio-info {
    display: flex;
    flex-direction: column;
    max-width: 60%;
    padding-left: 40px;
    margin-top: 100px;
}

.portfolio-title {
    font-size: 28px;
    font-weight: bold;
}

.portfolio-text {
    margin-top: 10px;
    font-size: 16px;
    max-width: 400px;
}

.liquid-blob {
  position: absolute;
  top: 28%;
  left: 62%;
  width: 200px;
  height: 200px;
  --blob-gradient: radial-gradient(circle at 35% 35%, #e0f2ff 0%, #7ecbff 40%, #1a7eea 70%, #0a3d91 100%);
  background: var(--blob-gradient);
  border-radius: 60% 40% 70% 50% / 50% 70% 40% 60%;
  animation: floatBlob 14s ease-in-out infinite, blobColor 24s linear infinite;
  filter: drop-shadow(0 0 18px #0f766e80);
  z-index: 1;
  pointer-events: none;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
    border-radius: 60% 40% 70% 50% / 50% 70% 40% 60%;
  }
  15% {
    transform: translate(-25px, 18px) scale(1.18, 1.08);
    border-radius: 65% 55% 60% 70% / 60% 65% 55% 70%;
  }
  30% {
    transform: translate(20px, -22px) scale(1.12, 0.92);
    border-radius: 70% 60% 55% 80% / 80% 55% 60% 65%;
  }
  45% {
    transform: translate(-18px, 10px) scale(1.06, 1.22);
    border-radius: 80% 60% 70% 60% / 60% 80% 60% 70%;
  }
  60% {
    transform: translate(15px, -18px) scale(1.1, 0.95);
    border-radius: 75% 80% 60% 65% / 65% 60% 80% 75%;
  }
  75% {
    transform: translate(-10px, 15px) scale(1.13, 1.05);
    border-radius: 70% 65% 80% 60% / 60% 70% 65% 80%;
  }
  90% {
    transform: translate(8px, -12px) scale(1.09, 0.97);
    border-radius: 60% 70% 65% 80% / 80% 60% 70% 65%;
  }
  100% {
    transform: translate(0, 0) scale(1);
    border-radius: 60% 40% 70% 50% / 50% 70% 40% 60%;
  }
}

@keyframes blobColor {
  0% {
    filter: hue-rotate(0deg) brightness(1.05) saturate(1.1);
  }
  20% {
    filter: hue-rotate(-10deg) brightness(1.1) saturate(1.2);
  }
  40% {
    filter: hue-rotate(10deg) brightness(1.05) saturate(1.1);
  }
  60% {
    filter: hue-rotate(-20deg) brightness(1.1) saturate(1.2);
  }
  80% {
    filter: hue-rotate(20deg) brightness(1.05) saturate(1.1);
  }
  100% {
    filter: hue-rotate(0deg) brightness(1.05) saturate(1.1);
  }
}


@keyframes blobSplitMain {
  0%, 10%, 90%, 100% {
    opacity: 1;
    transform: scale(1) translate(0, 0);
  }
  20%, 80% {
    opacity: 0.7;
    transform: scale(0.9) translate(0, 0);
  }
  30%, 70% {
    opacity: 0.3;
    transform: scale(0.7) translate(0, 0);
  }
  40%, 60% {
    opacity: 0;
    transform: scale(0.5) translate(0, 0);
  }
  50% {
    opacity: 0;
    transform: scale(0.5) translate(0, 0);
  }
}

@keyframes blobSplitLeft {
  0%, 10%, 90%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  20% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.5);
  }
  30% {
    opacity: 1;
    transform: translate(-120%, -50%) scale(1);
  }
  40%, 60% {
    opacity: 1;
    transform: translate(-120%, -50%) scale(1);
  }
  70% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.5);
  }
  80% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.5);
  }
  90%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
}

@keyframes blobSplitRight {
  0%, 10%, 90%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  20% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.5);
  }
  30% {
    opacity: 1;
    transform: translate(20%, -50%) scale(1);
  }
  40%, 60% {
    opacity: 1;
    transform: translate(20%, -50%) scale(1);
  }
  70% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.5);
  }
  80% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.5);
  }
  90%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
}


/* Styling thingsIdid */
.thingsIdidbox {
    background: black;
    border-radius: 30px;
    width: 100%;
    max-width: 2000px;
    height: auto;
    min-height: 2000px;
    position: relative;
    transform: scale(0.9);
    transform-origin: center center;
    margin: 0 auto;
    padding: 20px;
}

.things-idid-text {
    color: rgb(255, 255, 255);
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    top: 20px; 
    left: 20px;
}

.things-idid-line {
    position: absolute;
    top: 60px;
    left: 20px; 
    width: calc(100% - 40px); 
    border-top: 2px solid white;
}

.thingsIdidtext {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 100px;
    padding: 0 80px; 
}

.left-thingsIdid, .right-thingsIdid {
    color: white;
    font-size: 16px;
    font-weight: normal;
    flex: 1;
    line-height: 1.5;
    padding: 20px;
    text-align: left;
    max-width: 500px;
}

.left-thingsIdid {
    text-align: center;
}

.right-thingsIdid {
    text-align: center;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 100%;
    width: 1100px;
    overflow: hidden;
    margin: 50px auto;
    padding: 0 20px;
}

.carousel {
    display: flex;
    width: max-content;
    animation: scrollCarousel 30s linear infinite; 
}

.carousel img {
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    margin: 10px;
}

.projectoverview {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 15%;
    cursor: pointer;
    border-radius: 50px;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    font-size: 16px;
    margin: 40px auto;
    min-width: 200px;
    position: relative;
    z-index: 2;
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.outcomes-box {
    margin-top: 60px;
    position: relative;
}

.outcomes-box-text {
    font-size: 24px;
    font-weight: bold;
    color: white;
    position: relative;
    left: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.outcomes-box-line {
    position: relative;
    left: 20px;
    width: calc(100% - 40px);
    border-top: 2px solid white;
    margin-bottom: 40px;
}

.spacer {
    height: 30px;
}

.slide-box-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    text-align: left;
}

.slide-box {
    width: 230px;
    height: 450px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(50px); 
    transition: all 0.8s ease-out;
    padding: 20px;
    box-sizing: border-box;
    border-color: white;
    position: relative;
}

.slide-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    box-sizing: border-box;
    border: 8px solid transparent;
    border-radius: 12px;
    border-image-slice: 1;
    animation: edgeGlow 4s linear infinite;
    z-index: 1;
}

@keyframes edgeGlow {
  0% {
    border-image-source: linear-gradient(
      0deg,
      rgba(0, 255, 255, 0) 0%,
      rgb(61, 70, 163) 50%,
      rgba(0, 255, 255, 0) 100%
    );
  }
  25% {
    border-image-source: linear-gradient(
      45deg,
      rgba(0, 255, 255, 0) 0%,
      rgb(61, 70, 163) 50%,
      rgba(0, 255, 255, 0) 100%
    );
  }
  50% {
    border-image-source: linear-gradient(
      90deg,
      rgba(0, 255, 255, 0) 0%,
      rgb(61, 70, 163) 50%,
      rgba(0, 255, 255, 0) 100%
    );
  }
  75% {
    border-image-source: linear-gradient(
      135deg,
      rgba(0, 255, 255, 0) 0%,
      rgb(61, 70, 163) 50%,
      rgba(0, 255, 255, 0) 100%
    );
  }
  100% {
    border-image-source: linear-gradient(
      180deg,
      rgba(0, 255, 255, 0) 0%,
      rgb(61, 70, 163) 50%,
      rgba(0, 255, 255, 0) 100%
    );
  }
}

.slide-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-box h3 {
    margin-top: 0;
}

.slide-box p {
    font-size: 14px;
    line-height: 1.5; 
    margin-top: 10px;
}

.slide-box-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.slide-box-btn:hover {
    background-color: #32313256;
}

/* Footer styling */
.site-footer {
    background-color: #000000;
    color: #fff;
    padding: 40px 20px;
    margin-top: 100px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
}

.footer-map {
    flex: 0 0 auto;
}

.footer-links {
    flex: 1 1 auto;
    min-width: 200px;
    margin-top: 20px;
}

.footer-links h4 {
    font-size: 25px;
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin: 10px 0;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #ffffffb3;
}

@media (max-width: 1000px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-map iframe {
        width: 100% !important;
        height: auto;
    }

    .footer-links {
        margin-top: 20px;
    }
}

/* Tablet and smaller desktop screens */
@media screen and (max-width: 1024px) {
    .header-container {
        transform: scale(1);
        padding: 15px;
    }

    .slide-box-container {
        flex-wrap: wrap;
        gap: 30px;
    }

    .slide-box {
        width: calc(50% - 20px);
        min-width: 280px;
    }

    .liquid-blob {
    display: none;
  }
}

/* Tablets */
@media screen and (max-width: 768px) {
    .header-container {
        min-height: auto;
        padding: 10px;
        transform: scale(1);
    }

    .whitebox-header-content {
        height: auto;
        min-height: 600px;
        padding: 20px;
    }

    .header-logo {
        position: relative;
        top: 0;
        left: 0;
        text-align: center;
        margin-bottom: 20px;
    }

    .header-logo img {
        width: 100px;
        margin: 0 auto;
    }

    .menu {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin: 20px 0;
    }

    .menu-button {
        width: 100%;
        text-align: center;
    }

    .portfolio-info {
        max-width: 100%;
        padding: 20px 0;
        margin-top: 30px;
        text-align: center;
    }

    .animation-box {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        width: 90%;
        max-width: 280px;
        margin: 20px auto;
    }

    .shape-header {
        display: none;
    }

    .carousel-container {
        width: 100%;
        padding: 0 10px;
    }

    .carousel img {
        height: 180px;
        margin: 5px;
    }

    .projectoverview {
        width: 80%;
        max-width: 300px;
        margin: 40px auto;
        transform: none;
    }

    .thingsIdidtext {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }

    .left-thingsIdid, .right-thingsIdid {
        padding: 10px;
        font-size: 14px;
    }

    .sun-beam {
        display: none;
    }

    .meteor-container {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        margin: 20px auto;
    }

    .liquid-blob {
    display: none;
  }
}

/* Mobile devices */
@media screen and (max-width: 480px) {
    .header-container {
        width: 95%;
        padding: 10px;
    }

    .menu {
        flex-direction: column;
        align-items: center;
    }

    .menu button {
        width: 100%;
    }

    .nav {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .slide-box {
        width: 100%;
        margin: 0 auto;
    }

    .carousel img {
        height: 150px;
        margin: 3px;
    }

    .projectoverview {
        width: 90%;
        font-size: 14px;
        height: 45px;
    }

    .liquid-blob {
    display: none;
  }
}

/* Small mobile devices */
@media screen and (max-width: 320px) {
    .header-logo {
        font-size: 16px;
    }

    .portfolio-title {
        font-size: 18px;
    }

    .portfolio-text {
        font-size: 12px;
    }

    .slide-box {
        padding: 15px;
    }
}

.down-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 2;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-15px);
    }
}