@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }
.slope img{
    width: 100%;
    height: 100%;
}
.hover-gradient{
    background: radial-gradient(84.42% 80.75% at 50% 50%, #000000 0%, #666666 100%);
    transition: background 0.3s ease;
}
.hover-gradient:hover, .scrolled-active{
    background: radial-gradient(86.11% 85.92% at 50% 50%, #000000 0%, #00A859 100%);
}
.hoverlinear {
  width: 20vw;
  text-align: left;
}

/* Set typography and spacing based on viewport units for larger screens */
.hoverlinear h3 {
  font-size: 1.7vw;
  margin-bottom: 6vw;
  width: 15vw;
  text-align: left;
}

.hoverlinear p {
  font-size: 1vw;
  font-weight: 400;
}

/* Hover effect */
.hoverlinear:hover {
  background: linear-gradient(152.37deg, #000000 -35.98%, #00A859 135.98%);
  color: white !important;
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
  .hoverlinear {
    width: 90%; /* Use almost full width on mobile */
  }
  .hoverlinear h3 {
    font-size: 1.5rem; /* Use rem units for better scaling on mobile */
    margin-bottom: 1rem;
    width: 100%;
    text-align: left;
  }
  .hoverlinear p {
    font-size: 1rem;
  }
}

.page5 .bottom {
    /* On larger screens, maintain fixed dimensions */
    overflow: hidden;
    position: relative;
    height: 70vw;
}

.page5 .main {
    position: absolute;
    width: 100vw;
    top: 50%;
    left: 50%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

/* Dots and lines styles */
.line {
    display: none;
}
.dot {
    animation: blink 1s infinite;
    opacity: 0; /* hidden by default */
    transition: opacity 0.2s; /* optional, for a smooth fade in/out */
}
.dot:hover {
    animation: none;
    opacity: 1;
    transform: scale(1.5);
    cursor: pointer;
}

/* Positioning for lines */
.line1{
    position: absolute;
    left: 22.8vw;
    top: 9vw;
    height: 14.8vw;
    width: 18.4vw;
}
.line2{
    position: absolute;
    left: 49.7%;
    top: 2vw;
    height: 14.6vw;
    width: 11vw;
}
.line3{
    position: absolute;
    right: 24.2vw;
    top: 34vw;
    width: 27.5vw;
    height: 1.5vw;
}
.line4{
    position: absolute;
    transform:rotate(-90deg) scaleY(-1);
    right: 50.3vw;
    bottom: 7vw;
    height: 26vw;
    width: 11vw;
}
.line5{
    position: absolute;
    left: 4vw;
    bottom: 15vw;
    height: 8vw;
    width: 25vw;
}
.line6{
    position: absolute;
    left: 5vw;
    top: 33.7vw;
    height: 2vw;
    width: 30vw;
}
.line7{
    position: absolute;
    transform: scaleX(-1);
    left: 37vw;
    top: 37vw;
    height: 2vw;
    width: 30vw;
}

/* Dot positions */
.l1{
    position: absolute;
    left: 40vw;
    top: 24vw;
}
.l2{
    position: absolute;
    top: 15vw;
    right: 48.7vw;
}
.l3{
    position: absolute;
    right: 51%;
    top: 32vw;
}
.l4{
    position: absolute;
    right: 68vw;
    bottom: 23vw;
}
.l5{
    position: absolute;
    left: 27vw;
    bottom: 22vw;
}
.l6{
    position: absolute;
    left: 34vw;
    top: 34vw;
}
.l7{
    position: absolute;
    left: 36vw;
    top: 38vw;
}
.l11{
    position: absolute;
    top: 8vw;
    left: 21vw;
}
.l12{
    position: absolute;
    right: 38vw;
    top: 1vw;
}
.l13{
    position: absolute;
    top: 34vw;
    right: 23vw;
}
.l14{
    position: absolute;
    bottom: 13.5vw;
    right: 42vw;
}
.l15{
    position: absolute;
    left: 3vw;
    bottom: 13vw;
}
.l16{
    position: absolute;
    left: 4vw;
    bottom: 35vw;
}
.l17{
    position: absolute;
    left: 66vw;
    bottom: 32vw;
}

/* Feature Boxes */
.card2 {
    display: none;
    z-index: 2;
    align-items: center;
    width: 30vw;
    height: 12vw;
    gap: 1vw;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    box-sizing: border-box;
}
.card2 h3 {
    font-size: 1.1vw; 
}
.card2 p {
    font-size: 0.8vw;
}
/* Positions for feature boxes */
.c1{
    position: absolute;
    top: 11vw;
    left: 4vw;
}
.c2{
    position: absolute;
    top: 3vw;
    right: 15vw;
}
.c3{
    position: absolute;
    right: 1vw;
    bottom: 22vw;
}
.c4{
    position: absolute;
    bottom: 16vw;
    right: 13vw;
}
.c5{
    position: absolute;
    left: 9vw;
    bottom: 5vw;
}
.c6{
    position: absolute;
    left: 4vw;
    top: 20vw;
}
.c7{
    position: absolute;
    left: 66vw;
    top: 23vw;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    /* Top Section: Reduce side padding and use full width */
    .page5 .top {
        flex-direction: column;
        padding: 2rem 1rem;
    }
    .page5 .left, .page5 .right {
        width: 100% !important;
    }
    .page5 .left {
        padding: 0 1rem;
    }
    .page5 .left h1 {
        width: 90%;
        font-size: 2rem;
    }
    /* Make the bottom section scrollable horizontally so the fixed positioning is preserved */
    .bottom-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    /* Optionally adjust height if needed */
    .page5 .bottom {
        height: 90vw; /* or a value that best fits mobile view */
        width: 100vw;
    }
}


.page4 {
    width: 100%;
    padding: 4rem 2rem;
    background-color: #f8f8f8; /* Light background for contrast */
}

.page4 .top {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2vw;
    margin-bottom: 4rem;
}

.page4 .top .left p {
    display: inline-block;
    background-color: #e0e0e0; /* Grey badge background */
    color: #000; /* Black text */
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.page4 .top .left h2 {
    font-size: 3.5rem;
    font-weight: bold;
    color: #000; /* Black text */
    line-height: 1.4;
}

.page4 .top .right {
    color: #333; /* Slightly softer black for readability */
    font-size: 1rem;
    max-width: 600px;
    line-height: 1.6;
}

.page4 .top .right span {
    display: block;
    margin-bottom: 1.5rem;
}
.page4 .btn{
    border-radius: 0;
    font-weight: bold;
    border: 2px solid black;
}
.collaborate h1{
    font-size: 2.5vw;
    margin-bottom: 1vw;
    font-weight: bold;
}
.collaborate p{
    margin-bottom: 1vw;
}
.collaborate{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 80vw;
    margin: 5vw auto;
    border: 5px solid black;
    background: linear-gradient(to right, white 50%, black 50%);
}
.collaborate button{
    border-radius: 0;
    font-weight: 600;
    font-size: 1vw;
}

.textr{
    margin:auto;
    width:50vw;
    text-align: center;
    padding: 5vw 2vw;
}
@media (max-width: 658px){
    .textr{
        width: 100%;
    }
}
.text2{
    width: 35vw;
    text-align: center;
}
.button2{
    border: 2px solid white;
    padding: 0.4vw 0.8vw;
}
.button2:hover{
    background-color: white;
    color: black;
}
.text{
    width: 35vw;
    text-align: center;
    padding: 5vw 2vw;
}

.rotater{
    overflow: hidden;
    position: relative;
    height: 60vw;
    animation: rotateContainer 60s linear infinite;
}

.rotatelogo{
    position: absolute;
    width: 5vw;
    height: 5vw;
    animation: rotateContainer 60s linear infinite reverse;
}
.logosr1{
    top: 3%;
    left: 41.8%;
}
.logosr2{
    top: 6%;
    left: 59%;
}
.logosr3{
    top: 24%;
    right: 23.7%;
}
.logosr4{
    top: 50.4%;
    right: 20.4%;
}
.logosr5{
    top:75%;
    right:27%;
}
.logosr6{
    top: 85.5%;
    right: 42%;
}
.logosr7{
    top:84%;
    width:4.5vw;
    height: 4.5vw;
    left: 36.8%;
}
.logosr8{
    top: 64.8%;
    left: 24.7%;
}
.logosr9{
    top: 40%;
    left: 20.5%;
}
.logosr10{
    top: 16.3%;
    left: 27.2%;
}

@keyframes rotateContainer {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.texter{
    position: absolute;
    top: 60%;
    right: 50%;
    transform: translate(50%,-50%);
    width: 30%;
}
.texter p{
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2vw;
}
.texter h1{
    font-size: 3vw;
}
@media (max-width: 658px){
        .texter{
        top: 72%;
        width:40%;
    ;
    }
    .texter h1{
        font-size: 5vw;
    }
    .texter p{
        font-size: 2.4vw;
    }
    .rotater{
        width: 90vw;
        height: 90vw;
    }
    .ellipse{
        width: 90vw!important;
    }
    .rotatelogo{
        width: 8vw;
        height: 8vw;
    }
    .logosr1{
        top: 3%;
        left: 36.8%;
    }
    .logosr2{
        left: 64%;
    }
    .logosr3{
        right: 7.7%;
    }
    .logosr4{
        right: 3.4%;
    }
    .logosr5{
        right: 14%;
    }
    .logosr6{
        right:37%;
    }
    .logosr7{
        left: 29.8%;
        width: 6vw;
        height: 6vw;
    }
    .logosr8{
        left: 8.7%;
    }
    .logosr9{
        left: 3.5%;
    }
    .logosr10{
        left: 13.2%;
    }
}
@media (min-width: 1200px){
    .rheight{
        height: 42vw;
    }
}
@media (min-width: 1440px){
    .rheight{
        height: 38vw;
    }
}

@media (min-width: 1600px){
    .rheight{
        height: 34vw;
    }
}
@media (min-width: 2560px){
    .rheight{
        height: 26vw;
    }
}
.page4 {
    width: 100%;
    padding: 4rem 2rem;
    background-color: #f8f8f8; /* Light background for contrast */
}

.page4 .top {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2vw;
    margin-bottom: 4rem;
}

.page4 .top .left p {
    display: inline-block;
    background-color: #e0e0e0; /* Grey badge background */
    color: #000; /* Black text */
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.page4 .top .left h2 {
    font-size: 3.5rem;
    font-weight: bold;
    color: #000; /* Black text */
    line-height: 1.4;
}

.page4 .top .right {
    color: #333; /* Slightly softer black for readability */
    font-size: 1rem;
    max-width: 600px;
    line-height: 1.6;
}

.page4 .top .right span {
    display: block;
    margin-bottom: 1.5rem;
}

.page4 .btn {
    border-radius: 0;
    font-weight: bold;
    border: 2px solid black;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .page4 {
        padding: 2rem 1rem;
    }
    .page4 .top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom:0;
    }
    .page4 .top .left h2 {
        font-size: 2.5rem;
    }
    .page4 .top .right {
        max-width: 100%;
        font-size: 0.9rem;
    }
}

.collaborate h1 {
    font-size: 2.5vw;
    margin-bottom: 1vw;
    font-weight: bold;
}
.collaborate p {
    margin-bottom: 1vw;
}
.collaborate {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 80vw;
    margin: 5vw auto;
    border: 5px solid black;
    background: linear-gradient(to right, white 50%, black 50%);
}
.collaborate button {
    border-radius: 0;
    font-weight: 600;
    font-size: 1vw;
}
.text {
    width: 35vw;
    text-align: center;
    padding: 5vw 2vw;
}
.text2 {
    width: 35vw;
    padding: 2em;
    text-align: center;
}
.button2 {
    border: 2px solid white;
    padding: 0.4vw 0.8vw;
}
.button2:hover {
    background-color: white;
    color: black;
}
.btn-outline-dark{
    border: 2px solid black;
    padding: 0.4vw 0.8vw;
}
.btn-outline-dark:hover{
    background: black;
    color: white;
}
/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .collaborate {
        flex-direction: column;
        width: 90vw;
        margin: 5vw auto;
        background: linear-gradient(to bottom, white 50%, black 50%);
    }
    .text, 
    .text2 {
        width: 100%;
        padding: 4vw 2vw;
        text-align: center;
    }
    .collaborate h1 {
        font-size: 6vw; /* Larger relative size for better readability on mobile */
        margin-bottom: 2vw;
    }
    .collaborate p {
        font-size: 4vw;
        margin-bottom: 2vw;
    }
    .collaborate button {
        font-size: 3vw;
    }
}