.page3-content button{
    border-radius: 0;
    border: 2px solid black;
    font-weight: 600;
}
.cards-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.page8 button:hover{
    color: black !important;
}
.card2 {
  padding: 1em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 20vw;
  text-align: left;
  cursor: pointer;
  transition: transform 0.1s ease;
  position: relative;
}

.card2 h2 {
  font-size: 1.8vw;
}

.card2 img {
  display: block;
  margin: 0 auto 1.5em auto;
}

.card2 p {
  font-size: 1vw;
  font-weight: 600;
}

.card2 span {
  display: block;
  width: 15vw;
}

.card2:hover {
  transform: scale(1.05);
}

.learnmore {
  margin-top: 2vw;
  border: 2px solid black;
  padding: 1rem;
  font-weight: bold;
  transition: all 0.3s;
}

.learnmore:hover {
  color: white;
  background-color: black;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
  .card2 {
    max-width: 30vw;
  }
  
  .card2 h2 {
    font-size: 2vw;
  }
  
  .card2 p {
    font-size: 1.2vw;
  }
  
  .card2 span {
    width: 25vw;
  }
}

@media screen and (max-width: 768px) {
  .cards-container {
    flex-direction: column;
    align-items: center;
  }
  
  .card2 {
    max-width: 90%;
    margin-bottom: 2rem;
  }
  
  .card2 h2 {
    font-size: 4vw;
  }
  
  .card2 p {
    font-size: 3vw;
  }
  
  .card2 span {
    width: 90%;
  }
}

@media screen and (max-width: 480px) {
  .card2 h2 {
    font-size: 5vw;
  }
  
  .card2 p {
    font-size: 4vw;
  }
}

.construck-section .construck{
    margin-top: 2vw;
    font-weight: 600;
    border: 2px solid white;
    background-color: white;
    padding: 0.4vw 0.8vw;
    color: black;
    transition: all 0.3s;
}
.construck:hover{
    background-color: transparent;
    color: white;
}
.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;
}
.carouselpage{
    height: 50vw;
}

.swiper-container {
    width: 70%;
    padding-bottom: 50px;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.swiper-slide img {
    width: 100%;
    border-radius: 10px;
}
.caro{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.videopage {
    color: #fff;
    text-align: center;
    padding: 4rem 2rem;
    background-color: rgba(0, 0, 0, 0.1);
    padding-bottom: 8vw;
}

.videopage .badge {
    display: inline-block;
    color: white;
    padding: 0.5rem 1rem;
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.videopage h1 {
    font-size: 2.5rem;
    width: 90%;
    max-width: 800px;
    margin: auto;
    font-weight: 500;
    margin-bottom: 1rem;
}

.videobox {
    position: relative;
}

.videopage img {
    margin: auto;
    display: block;
}

.videopage .playbutton {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

/* Hover Effect for Play Button */
.videopage .playbutton:hover {
    transform: translate(-50%, -50%) scale(1.1);
    transition: transform 0.3s ease-in-out;
}
.feature .absolute {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.feature.hover-active .absolute {
    opacity: 1;
}
.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;
}
.text2 p{
    width: 27em;
    margin: 0.5em auto;
}
.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;
        width: auto;
        margin-bottom: 2vw;
    }
    .collaborate button {
        font-size: 3vw;
    }
}