:root{
    --primary-color: #EF3872;
    --primary-color-hover: #dc245e;
    --light-color: #E65C98;
    --light2-color: #E0E4E9;
    --muted-color: #999;
}


.bg-brand-primary{
    background-color: var(--primary-color);
}
.text-brand-primary{
    color: var(--primary-color);
}
.btn-brand-primary{
    background-color: var(--primary-color);
    color: white;
}
.btn-brand-primary:hover{
    background-color: var(--primary-color-hover);
    color: white;
}


.bg-brand-light{
    background-color: var(--light-color);
}
.text-brand-light{
    color: var(--light-color);
}

.bg-brand-light2{
    background-color: var(--light2-color);
}
.text-brand-light2{
    color: var(--light2-color);
}

.text-brand-muted{
    color: var(--muted-color);
}






.rounded-brand-lg{
    border-radius: 30px;
}
.rounded-brand{
    border-radius: 20px;
}
.rounded-brand-sm{
    border-radius: 15px;
}
.rounded-brand-esm{
    border-radius: 10px;
}
.ratio-square{
    aspect-ratio: 1/1;
}
.fi{
    position: relative;
    bottom: -5px;
}
.w-max-content{
    width: max-content;
}






*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--body-font-light);
}

.main-page{
    background-image: url(/assets/images/optimized/paper-bg.webp);
    background-size: cover;
    background-position: top left;
    background-repeat: repeat;
    min-height: 400vh;
}

.main-nav-wrapper{
    position: fixed;
    width: 100%;
    top: 20px;
    left: 0px;
    z-index: 1999;
}
.nav-links{
    display: flex;
}
.nav-btn-mob{
    display: none;
}
.nav-links a{
    transform: all 0.5s ease;
}
.nav-links a:hover{
    color: var(--primary-color);
}
.ham-icon{
    display: none;
    flex-direction: column;
    align-items: end;
    cursor: pointer;
}
.ham{
    display: none;
    width: 20px;
    height: 5px;
    border-radius: 20px;
    background-color: black;
    margin-bottom: 7px;
    transition: 0.5s ease;
}
.ham:nth-child(2){
    width: 40px;
    margin-bottom: 0;
}

.hero-wrapper{
    padding-top: 120px;
}

.hero-text{
    font-size: 80px;
}
.hero-desc{
    font-size: 40px;
}
.hero-btn{
    font-size: 36px;
}

.arrow-p{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card{
    cursor: pointer;
    position: relative;
}

.hidden-service-text{
    display: none;
}

.service-img-wrap{
    position: absolute;
    width: 250px;
    right: 30px;
    display: none;
    overflow: hidden;
    border-radius: 20px;
    background-color: red;
    padding: 0px;
    z-index: 999;
}
.service-img-wrap.pop-in {
  animation: popIn 0.3s ease-out;
}

@keyframes popIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hidden-service-text {
  display: none;
  transition: opacity 0.3s ease;
}

.service-card.active .hidden-service-text {
  display: inline;
  opacity: 1;
}
.hidden-text-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1s ease, opacity 1s ease;
  opacity: 0;
}

.service-card.active .hidden-text-wrapper {
  max-height: 500px; /* Set a value larger than expected content */
  opacity: 1;
}

.portfolio-images{
    columns: 4;
    gap: 20px;
    transition: all 0.3s ease;
}

.portfolio-img{
    width: 100%;
    transition: all 0.3s ease;
}
.portfolio-img.hiding {
  width: 0 !important;
  height: 0 !important;
  opacity: 0;
  margin: 0 !important;
  pointer-events: none;
}

.contact-heading{
    font-size: 40px;
}

.form-control{
    background: transparent;
    border: 1px solid gray;
}
.form-control:focus{
    background: transparent;
    border: 1px solid var(--primary-color);
}

.portfolio-tab.active-tab {
  position: relative;
  font-weight: 600;
  color: var(--primary-color); /* Optional */
}

.portfolio-tab.active-tab::after {
  content: "";
  position: absolute;
  bottom: -5px; /* adjust depending on spacing */
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color); /* Adjust color */
  transition: all 0.3s ease;
}






@media screen and (width < 1000px) {
    .portfolio-images{
        columns: 3;
    }
}



@media screen and (width < 800px) {
    .main-nav-wrapper{
        top: 10px;
        padding: 0px 10px;
    }
    .main-nav-wrapper img{
        width: 100px !important;
    }
    .main-nav-wrapper .container{
        padding: 10px !important;
    }
    .nav-links{
        display: flex;
        position: fixed;
        flex-direction: column;
        top: 85px;
        left: 50%;
        transform: translateX(-50%) scaleY(0);
        transform-origin: top;
        background-color: white;
        width: 95%;
        overflow: hidden;
        border-radius: 20px;
        padding: 10px;
        padding-top: 20px;
        box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
        transition: 0.5s ease;
    }
    .nav-links a{
        padding: 0 10px 10px 10px;
    }
    .nav-btn{
        display: none;
    }
    .nav-btn-mob{
        display: block;
    }
    .ham-icon{
        display: flex;
    }
    .ham{
        display: flex;
    }

    .hero-text{
        font-size: 30px;
    }
    .hero-desc{
        font-size: 16px !important;
    }
    .hero-btn{
        font-size: 20px;
        border-radius: 12px;
    }

    .about-img-wrap{
        padding: 5px;
    }
    .about-img{
        border-radius: 15px;
    }
    .about-text{
        justify-content: start !important;
        padding-top: 30px;
    }

    .heading-div{
        flex-direction: column;
        align-items: start !important;
        padding-top: 0px !important;
    }
    .heading-subtext{
        font-size: 14px;
    }

    .services-wrapper{
        padding-top: 0px !important;
        margin-top: 0px !important;
    }
    .service-card{
        overflow-x: hidden;
    }
    .service-img-wrap{
        position: relative;
        bottom: 20px;
        width: 80%;
        left: 50%;
        transform: translateX(-50%);
    }

    .portfolio-images{
        columns: 2;
        gap: 10px;
        margin-top: 30px !important;
        transition: all 0.3s ease;
    }
    .portfolio-img{
        border-radius: 10px;
        margin-bottom: 10px !important;
        transition: all 0.3s ease;
    }
    .portfolio-tabs{
        margin-top: 40px;
        overflow-x: auto;
        width: 100%;
        padding-bottom: 10px;
    }
    .portfolio-tabs::-webkit-scrollbar{
        height: 3px;
        background-color: lightgray;
        border-radius: 20px;
    }
    .portfolio-tabs::-webkit-scrollbar-thumb{
        height: 3px;
        background-color: gray;
        border-radius: 20px;
    }
    .portfolio-tabs p{
        font-size: 14px !important;
        margin-right: 20px !important;
        text-wrap: nowrap;
        cursor: pointer;
    }
    .portfolio-tabs:nth-child(7){
        margin-right: 0px !important;
    }

    .contact-heading{
        font-size: 28px;
        margin-right: 0px !important;
    }
    .form-control{
        font-size: 16px !important;
    }

    .bottom-nav{
        justify-content: center !important;
        flex-direction: column;
        align-items: center !important;
    }
    .bottom-nav img{
        margin-bottom: 20px;
    }

    .form-wrapper{
        padding-top: 50px !important;
    }
}







.portfolio-img {
  transition: all 0.4s ease;
  width: auto;
  height: auto;
  opacity: 1;
  display: block;
  pointer-events: auto;
}

.portfolio-img.hiding {
  width: 0 !important;
  height: 0 !important;
  opacity: 0;
  margin: 0 !important;
  pointer-events: none;
}

/* Active Tab Styling with 2px Underline */
.portfolio-tab {
  position: relative;
  cursor: pointer;
  padding-bottom: 5px;
}

.portfolio-tab.active-tab::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color); /* Or a specific color like #6f42c1 */
  transition: all 0.3s ease;
}