@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100&display=swap');

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


body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
}

body.no-scroll {
  overflow: hidden;
}

/* Container maintains original iframe dimensions */
.lazy-iframe-container {
  position: relative;
  background: #f5f5f5;
  vertical-align: top; /* For inline-block alignment */
}

/* Loading animation (optional) */
.iframe-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  border-top-color: #620627;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.navbar-style {
  margin-block: 15px;
  margin-inline: 40px;
  height: 64px;
  background-color: #ffffff !important;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  padding-inline: 80px;
  border-radius: 1rem;
}

.logo-scroll {
    border-top: 1px solid rgba(54, 54, 54, 0.5);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.25);
    background-color: #620627;
    overflow: hidden;
    padding-block: 40px;
    white-space: nowrap;
    display: flex;
}

.logo-scroll:hover .logo-scroll-slide{
  animation-play-state: paused;
}

.logo-scroll-slide {
    display: inline-flex;
    animation: scroll 30s linear infinite;
}

.logo-scroll-slide img {
    margin-inline: 100px;
    height: 50px;
    flex-shrink: 0;
}

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

.project-company-background{
  background-color: #620627;
  padding-block: 30px;
  color: #ffffff;
  border-bottom: 1px solid rgba(54, 54, 54, 0.5);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.project-company-background h3{
  font-weight: 100;
}

.home-btn {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-btn img {
  vertical-align: middle;
}

.container-fluid-style {
  width: 100%;
  height: 100%;
}

.navbar-collapse-style {
  transition: all 0.5s ease;
}

.navbar-collapse-style.collapsing,
.navbar-collapse-style.show {
  background-color: #ffffff;
  margin-top: 30px;
  border-radius: 1rem;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.home-body {
  width: 100%;
}

.home-page {
  width: 100%;
  height: 100vh;
  position: relative;
}

.home-page-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 65vw;
  height: 100vh;
  background: linear-gradient(68deg, #ffffff 35%, #f0d1db 55%, #d6a1b2 75%, #d17d97 100%);
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 25% 100%);
}

.home-page .home-page-img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  transform: scaleX(-1); /* flip image horizontally */
}

.h-info-project {
  color: #ffffff;
}

/* Toggler button styling */
.custom-toggler {
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.custom-toggler:focus,
.custom-toggler:active {
  outline: none;
  box-shadow: none;
}

.toggler-line {
  width: 25px;
  height: 3px;
  background-color: black;
  transition: 0.4s ease;
  border-radius: 2px;
}

.custom-toggler.active .line1 {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}

.custom-toggler.active .line2 {
  opacity: 0;
}

.custom-toggler.active .line3 {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

.home-page-header {
  position: absolute;
  top: 0;
}

/* Divider */
.hr-home {
  width: 40%;
  height: 2px;
  background-color: #620627;
  border: none;
  margin: 10px 0;
}

/* Button styling */
.home-page-btn {
  background-color: #620627;
  color: #ffffff;
  padding: 10px 30px;
  border: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-weight: 500;
  box-shadow: 0 4px 8px rgba(98, 6, 39, 0.3);
  z-index: 4;
}

.home-page-btn:hover {
  background-color: #8b0a3e;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(98, 6, 39, 0.4);
}

.home-page-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(98, 6, 39, 0.2);
}

.home-title {
  font-weight: bold;
  text-align: center;
}

.home-second-title {
  text-align: center;
}

.h-info-img-container img {
  height: 90px;
  width: 90px;
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.h-info-img-container img:hover {
  transform: translateY(-4px) scale(1.05); /* Only scales up slightly */
  filter: drop-shadow(4px 6px 10px rgba(0, 0, 0, 0.5));
}

.service-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 980px;
    z-index: 4;
}

.service-nav-cont{
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-land{
  padding-inline: 10px;
  padding-block: 5px;
  text-decoration: none;
  color: #ffffff;
  border-radius: 5px;
  transition: all 0.5s ease;
}

.service-port{
  padding-inline: 10px;
  padding-block: 5px;
  text-decoration: none;
  color: #ffffff;
  border-radius: 5px;
  transition: all 0.5s ease;
}

.service-nav{
  background-color: #D17D97;
  padding-inline: 10px;
  padding-block: 5px;
  text-decoration: none;
  color: #ffffff;
  border-radius: 5px;
  transition: all 0.5s ease;
}

.service-nav:hover{
  color: #ffffff !important;
}

.service-nav.active{
  transform: scale(1.2);
  background-color: #620627;
  color: #ffffff;
}

.service-link{
  background-color: #D17D97;
  padding-inline: 10px;
  padding-block: 5px;
  text-decoration: none;
  color: #ffffff !important;
  border-radius: 5px;
  margin-inline: 1px;
  transition: all 0.5s ease;
}

.service-link:hover{
  color: #ffffff !important;
}

.service-link.active{
  transform: scale(1.05);
  background-color: #620627;
  color: #ffffff;
  margin-inline: 8px;
}

.service-tab-pane{
  opacity: 0;
  max-height: 0;
  padding: 0;
  justify-content: start !important;
  align-items: start !important;
  transition:
    opacity .5s ease,
    max-height .5s ease;
}

.service-tab-pane.show{
  position: relative !important;
  display: flex !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 1.5rem !important; /* gap-4 in Bootstrap = 1.5rem */
   opacity: 1;
  max-height: 1000px;
}

.service-nav-tab {
  opacity: 0;
  max-height: 0;
  padding: 0;
  transition:
    opacity 0.5s ease,
    max-height 0.5s ease;
}

.service-nav-tab.active {
  opacity: 1;
  max-height: 1000px; /* Adjust based on your content height */
}

.landing-div {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem; /* gap-4 in Bootstrap = 1.5rem */
}

.portfolio-div {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem; /* gap-4 in Bootstrap = 1.5rem */
}

.card-style{
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
    border: 1px solid rgba(0, 0, 0, 0.19) !important;
    position: relative;
    padding-top: 20px;
    z-index: 5;
    width: 250px;
    font-weight: 400;
}

.card-title-style {
    background: #620627;
    border-radius: 5px;
    position: absolute;
    color: #ffffff;
    top: -15px;
    left: -10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-inline: 10px;
    padding-block: 5px;
}

.card-title-style h3 {
    font-size: 1.2rem;
}

.service-img-one {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(180deg);
    width: 100%;
    height: 30vh;
}

.service-img-two {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30vh;
}

.service-btn-avail{
  background-color: #620627 !important;
  color: #ffffff !important;
  border-radius: 50px;
}

.service-btn-avail:hover{
  background-color: #7B1D4A !important;
  color: #ffffff !important;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 50px;
}

.service-btn-custom-avail{
  background-color: #620627 !important;
  color: #ffffff !important;
  border-radius: 50px;
  padding-inline: 50px;
  z-index: 4;
}

.service-btn-custom-avail:hover{
  background-color: #7B1D4A !important;
  color: #ffffff !important;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 50px;
}


#mobile-svg {
    position: absolute;
    top: 0;
    opacity: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 2;
}

.about-page{
  padding: 0;
  height: auto;
  position: relative;
  overflow: hidden;
}


.about-group-bg{
  position: absolute;
  top: -110px;
  z-index: -1;
}

.about-wha{
  height: 512px;
  background-color: #620627;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-wha-content {
  color: #ffffff;
  width: 50vw;
  height: auto;
}

.about-wha-content h3{
  font-weight: bolder;
  font-size: 2rem;
}

.about-wha-content p{
  font-size: 1.1rem;
}

/* Left wave (wave 1) */
.about-wave-1 {
  position: absolute;
  top: 40%;
  left: 0;
  height: 205px;
  width: 180vh;
  transform:
    rotate(90deg)
    translateX(-50%)
    translateY(-50%);
  transform-origin: left center;
  z-index: -1;
}

/* Right wave (wave 2) */
.about-wave-2 {
  position: absolute;
  top: 40%;
  right: 0;
  height: 205px;
  width: 180vh;
  transform:
    rotate(-90deg)
    translateX(50%)
    translateY(-50%);
  transform-origin: right center;
  z-index: -1;
}

.about-vision{
  height: 285px;
  width: 897px;
}

.vision-content{
  width: 444px;
}

.vision-content h3{
  font-weight: bold;
  font-size: 2rem;
}

.vision-content p{
  font-size: .9rem;
}

.vision-image{
  position: relative;
}

.vision-image img{
  height: 100%;
  width: 420px;
  border-radius: 5px;
}

.vision-gradient{
  height: 100%;
  width: 420px;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(209, 125, 151, 0.4758) 45.67%, rgba(123, 29, 74, 0.624) 84.62%, rgba(98, 6, 39, 0.78) 100%);
  border-radius: 5px;
}

.about-mission{
  height: 285px;
  width: 897px;
}

.mission-content{
  width: 444px;
}

.mission-content h3{
  font-weight: bold;
  font-size: 2rem;
}

.mission-content p{
  font-size: .9rem;
}

.mission-image{
  position: relative;
}


.mission-image img{
  height: 100%;
  width: 420px;
  border-radius: 5px;
}

.mission-gradient{
  height: 100%;
  width: 420px;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(209, 125, 151, 0.4758) 45.67%, rgba(123, 29, 74, 0.624) 84.62%, rgba(98, 6, 39, 0.78) 100%);
  border-radius: 5px;
}

.profile-header{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.profile-header h1{
  font-weight: bold;
  margin-bottom: 5px;
}

.profile-header hr{
  width: 90%;
}

.profile-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 10px !important;
}

.profile-card{
  width: 130px;
  height: 380px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.profile-card img{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 30px;
  object-fit: cover; /* Maintain aspect ratio while filling container */
  object-position: center;
  transition: all 0.5s ease;
}

.profile-card .leonardo{
  transform: scale(1.5);
  transition: all 0.5s ease;
}

.profile-bg-card{
  height: 380px;
  width: 130px;
  background: rgba(209, 125, 151, 0.21);
  position: relative;
  transition: all 0.5s ease;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.profile-bg-card img{
  position: absolute;
  top: 10px;
  left: 25px;
  width: 40px;
  height: 40px;
  opacity: 0;
  transition: all 0.5s ease;
}

.profile-info{
  position: absolute;
  bottom: -20px;
  width: 200px;
  height: 35%;
  color: #ffffff;
  padding-inline: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  opacity: 0;
  transition: all 0.7s ease;
}

.profile-info h3{
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
}

.pinfo-skill-list{
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  align-items: center;
  gap: .3rem;
}

.pinfo-skill-list span{
  color: #620627;
  background-color: #ffffff;
  border-radius: 1rem;
  padding-inline: 10px;
  padding-block: 5px;
  font-size: .6rem;
  white-space: nowrap;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

#profile-svg{
  width: 100%;
  height: 40%;
  position: absolute;
  bottom: 0;
  transition: all 0.5s ease;
}

.profile-card:hover{
  width: 200px;
}

.profile-card:hover .profile-bg-card{
  width: 170px;
}

.profile-card:hover #profile-svg{
  height: 50%;
}

.profile-card:hover img {
  transform: scale(1.1); /* Optional: Add zoom effect */
}
.profile-card:hover .leonardo {
  transform: scale(1.7); /* Optional: Add zoom effect */
}

.profile-card:hover .profile-info{
  bottom: 10px;
  opacity: 1;
}

.profile-info h3,
.profile-info p {
  position: relative;
  color: transparent;
  background: linear-gradient(to right, #ffffff 0 100%) no-repeat;
  background-size: 0% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  white-space: normal;
  transition: all 1s ease; /* Smooth reset on hover out */
}

/* Hover In */
.profile-card:hover .profile-info h3,
.profile-card:hover .profile-info p {
  animation: reveal-bar 1s ease forwards 0.5s;
}

/* Hover Out - Reverse Animation */
.profile-card:not(:hover) .profile-info h3,
.profile-card:not(:hover) .profile-info p {
  animation: hide-bar 1s ease forwards;
}

/*----------------------------------*/

.project-open{
  position: absolute;
  bottom: -25px;
  right: 0;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.5s ease;
  background-color: transparent;
  border: none;
  z-index: 4;
}

.project-open:hover {
  transform: scale(1.05);
  text-decoration: underline;
}

.project-close{
  position: absolute;
  top: 109px;
  right: 40px;
  z-index: 10;
  width: 40px;
  height: 40px;
  font-size: 1.3rem;
  background-color: #620627;
  color: #ffffff;
  border-radius: 50%;
  transition: all 0.5s ease;
  padding: 0;
}

.project-close:hover{
  color: #ffffff;
  background-color: #8b2054;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.project-back{
  position: fixed;
  top: 109px;
  left: 0;
  z-index: 11;
  width: 140px;
  height: 40px;
  font-size: 1.3rem;
  background-color: #620627;
  color: #ffffff;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  transition: all 0.5s ease;
  padding: 0;
}

.project-back:hover{
  color: #ffffff;
  background-color: #8b2054;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.project-page{
  height: 1000px;
  overflow: hidden;
}

.project-list {
  position: fixed; /* Changed from absolute to fixed for full-screen coverage */
  top: 100vh; /* Starts off-screen at bottom */
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  z-index: 5;
  transition: top 0.6s ease, opacity 0.7s ease;
  opacity: 0;
  visibility: hidden;
  display: flex;
  overflow: auto;

}



.project-list.fade-div {
  top: 0; /* Slides into view */
  opacity: 1;
  visibility: visible;
}

.project-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.project-card {
  display: flex;
  flex-direction: column;
  width: fit-content; /* Or max-width: 80% if needed */
  border-radius: 12px;
  background-color: #fff;
  position: relative;
  font-weight: 400;
}

/* Alternate card alignment */
.project-card:nth-child(odd) {
  transform: translateX(calc(-25vw + 25%)); /* Center then shift left */
}

.project-card:nth-child(even) {
  transform: translateX(calc(25vw - 25%)); /* Center then shift right */
}

.project-title {
    background: #7B1D4A;
    border-radius: 5px;
    position: absolute;
    color: #ffffff;
    top: -15px;
    left: -10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-inline: 10px;
    padding-block: 5px;
    z-index: 3;
}

.project-title h3 {
    font-size: 1.5rem;
    font-weight: bold;
}

.project-title-middle {
    background: #7B1D4A;
    border-radius: 5px;
    position: absolute;
    color: #ffffff;
    top: -15px;
    right: -10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-inline: 10px;
    padding-block: 5px;
    z-index: 3;
}

.project-title-middle h3 {
    font-size: 1.5rem;
    font-weight: bold;
}

.project-info {
  position: absolute;
  top: 50%; /* Changed from 0 to 50% */
  left: 0;
  transform: translateY(-50%); /* Centers vertically */
  background-color: #ffffff;
  width: 430px;
  height: 183px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  z-index: 1;
  opacity: 0;
  transition: all 0.5s ease;
  padding: 10px;
}

.project-info.middle {
  left: 0; /* Reset left */
  border-radius: 10px 0 0 10px; /* Flip border radius */
  z-index: 1;
}

/* When .project-card contains .project-desc-show, style its .project-info */
.project-card.project-desc-show .project-info  {
  opacity: 1;
  left: 100%;
}

.project-card.project-desc-show .project-info.middle  {
  opacity: 1;
  left: -430px;
}

.project-card img{
  position: relative;
  border: 3px solid #ffffff;
  width: 425px;
  height: 233px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  z-index: 2;
}

.project-info h3{
  font-size: 1.2rem;
  font-weight: bold;
}

.project-info p {
  font-size: 0.80rem;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* Number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4; /* Adjust based on your font */
  max-height: calc(1.4em * 4); /* line-height × number of lines */
}

.project-info a{
  height: 40px;
  border-radius: 50px;
  background-color: #620627;
  color: #fff;
  transition: all 0.5s ease;
}

.project-info a:hover{
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transform: scale(1.05);
  background-color: #7B1D4A;
  color: #ffffff;
}

@keyframes reveal-bar {
  to {
    background-size: 100% 100%;
    color: #ffffff;
  }
}

@keyframes hide-bar {
  from {
    background-size: 100% 100%;
    color: #ffffff;
  }
  to {
    background-size: 0% 100%;
    color: transparent;
  }
}

.profile-card:hover .profile-bg-card img{
  left: 5px;
  opacity: 1;
}

.list-panel{
  position: absolute;
  top:0;
  left: 0;
  width: 100vw;
  height: 100%;
  display: flex;
  transition: all 0.5s ease;
}

.list-panel.panel-left{
  position: absolute;
  top: 0;
  left: -100%;
}

.list-sidebar{
  width: 500px;
  padding-top: 109px;
  padding-inline: 40px;
  color: #ffffff;
  z-index: 5;
}

.list-sidebar-toggle{
  display: none;
  position: relative;
}

.list-sidebar-toggle:hover {
  background-color: #f5f5f5;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.toggle-icon {
  display: block;
  width: 18px;
  height: 18px;
  position: relative;
}

.toggle-icon::before,
.toggle-icon::after {
  content: '';
  position: absolute;
  background-color: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hamburger icon - visible when sidebar is open */
.toggle-icon::before {
  top: 4px;
  left: 0;
  width: 18px;
  height: 2px;
  transform-origin: center;
}

.toggle-icon::after {
  top: 10px;
  left: 0;
  width: 12px;
  height: 2px;
  transform-origin: left center;
}

/* Arrow icon - visible when sidebar is closed */
.list-sidebar-toggle.collapsed .toggle-icon::before {
  width: 12px;
  transform: rotate(45deg) translate(2px, 1px);
}

.list-sidebar-toggle.collapsed .toggle-icon::after {
  width: 12px;
  transform: rotate(-45deg) translate(2px, -1px);
}

.list-searchbar{
  border: none !important;
  border-radius: 20px !important;
  height: 40px !important;
}

.list-category{
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  width: 100%;
}

.list-category .category-item{
  text-decoration: none;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  width: 100%;
  padding-inline: 20px;
  transition: all 0.2s ease;
}

.list-category .category-item p,
.list-category .category-item span {
  display: flex;
  align-items: center; /* Vertically center contents */
  height: 100%; /* Take full height of parent */
  margin: 0; /* Remove default margins */
  padding: 10px 0; /* Add vertical padding */

}

.list-category .category-item.active{
  color: #FFFFFF;
  background-color: #D17D97;
  border-radius: 40px;
  padding-left: 20px;
  padding-right: 10px;
}

.list-category .category-item:hover {
  transform: scale(1.05);
}

.list-category .category-item.active:hover{
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.list-category .category-item.active span{
  background-color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  color: #D17D97;
  display: flex;
  justify-content: center;
  align-items: center;
}

.list-main{
  padding-top: 109px;
  padding-inline: 40px;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
}

.list-project-card {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.list-project-img-container {
  position: relative;
  width: 100%;
  height: 300px; /* Fixed height container */
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  z-index: 5;
}

.list-project-img {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.viewer-button {
  position: absolute;
  bottom: -50px;
  right: 10px;
  height: 40px;
  background-color: #620627;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 0 15px;
  opacity: 0;
  z-index: 6;
  transition: all 0.5s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viewer-button:hover {
  background-color: #7B1D4A;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  color: #ffffff;
  transform: scale(1.05);
}

.list-project-img-container:hover .viewer-button {
  opacity: 1;
  bottom: 10px;
}

.viewed-project{
  position: absolute;
  top:0;
  left: 0;
  height: 100%;
  width: 100vw;
  transition: all 0.5s ease;
  padding-top: 109px;
  padding-inline: 80px;
  overflow: hidden;
  overflow-y: auto;
  display: none;
}

.viewed-project-img{
  height: 550px;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.25);
  position: relative;
  border-radius: 10px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.viewed-project-description{
  width: 100%;
  min-height: inherit;
  overflow-y: auto;
  font-weight: 400;
}

.viewed-function-list{
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-weight: 400;
}

.viewed-function-list span{
  background-color: #620627;
  border-radius: 20px;
  padding-inline: 20px;
  padding-block: 10px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  text-wrap: nowrap;
  color: #ffffff;
  font-size: .8rem;
  font-weight: 400;
}

.viewed-project-contact{
  height: 350px;
  width: 100%;
  border-radius: 10px;
  position: relative;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  padding-inline: 80px;
}

.viewed-project-contact h2{
  font-weight: bold;
}

.viewed-project-contact h4{
  margin-left: 20px;
  font-size: 1.1rem;
  font-weight: 400;
}

.project-contact-container{
  margin-top: 50px;
  position: relative;
  width: auto;
  transition: all 0.5s ease;
}

.project-contact-container.active .project-contact-input{
  width: 600px;
  transition: all 0.5s ease;
}

.project-contact-container .project-contact-input{
  height: 40px;
  width: 160px;
  border-radius: 20px;
  transition: all 0.5s ease;
}

.project-contact-container .project-contact-input:focus {
  border-color: rgba(207, 100, 152, 0.624); /* Your custom border color */
  box-shadow: 0 0 0 0.25rem rgba(207, 100, 152, 0.25); /* Custom glow */
  outline: 0; /* Removes default browser outline (optional) */
}

.project-contact-container .project-contact-button{
  position: absolute;
  top:0;
  right: 0;
  background: #620627;
  border: 1px solid #ffffff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  height: 40px;
  width: 160px;
  color: #FFFFFF;
  transition: all 0.5s ease;
}

.project-contact-container .project-contact-button:hover{
  background: #7B1D4A;
}

.viewed-project-contact-img-container {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  height: 200px;
  width: 200px;
  background-color: #FFFFFF;
  border-radius: 50%;
  padding: 30px; /* Now padding works! */
}

.viewed-project-contact-img-container img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.viewed-project-functions{
  display: block;
  padding-inline: 40px;
  font-weight: 400;
}

.suggestion-card {
  flex: 0 0 auto;
  width: 100%;
  scroll-snap-align: start;
}

.suggestion-card h3{
  margin-top: 5px;
}

.suggestion-img-container{
  position: relative;
  height: 280px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.suggestion-img-container .suggestion-img {
  height: 100%;
  width: 100%;
  border-radius: 10px;
}

.suggestion-button {
  position: absolute;
  bottom: -50px;
  right: 10px;
  height: 40px;
  background-color: #620627;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 0 15px;
  opacity: 0;
  z-index: 6;
  transition: all 0.5s ease;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.suggestion-button:hover {
  background-color: #7B1D4A;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  color: #ffffff;
  transform: scale(1.05);
}

.suggestion-img-container:hover .suggestion-button {
  opacity: 1;
  bottom: 10px;
}

/*--------------------- FOOTER ---------------------------*/

.viewed-project.panel-right{
  top:0;
  left: 100%;
}

.project-wave-one{
  position: absolute;
  bottom: 0;
  width: 100%;
  height: auto;
}

.finisher-header {
  position: relative;
  height: 400px;
  color: white;
  overflow: hidden;
  width: 100%;
}

canvas.finisher-canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.finisher-header h1 {
  z-index: 1;
  font-size: 3rem;
}

.footer-title{
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  padding-inline-start: 90px;
  padding-block: 70px;
}

.footer-title h3{
  margin-bottom: 5px;
  font-size: 1.7rem;
}

.footer-title span{
  font-size: .9rem;
  font-weight: 400;
}

.footer-title button{
  background-color: #620627;
  height: 40px;
  padding-inline: 20px;
  border-radius: 20px;
  border: none;
  color: #ffffff;
  transition: all 0.5s ease;
}

.footer-title button:hover{
  background-color: #7B1D4A;
  transform: scale(1.05);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.footer-sides{
  padding-block: 70px;
  padding-inline: 0;
  display: flex;
  justify-items: start;
  align-items: center;
}

.fsides-sm {
  border-left: 1px solid #ffffff;
  height: 100%;
  width: 20%;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Left-align all items */
  padding-inline: 25px; /* Add some padding */
}

/* Style for all text elements */
.fsides-sm h4,
.fsides-sm a {
  width: 100%; /* Take full width of container */
  text-align: left; /* Ensure text is left-aligned */
  margin: 5px 0; /* Add spacing between items */
  font-weight: 400;
}

/* First-child styling for headers */
.fsides-sm h4 {
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 10px; /* Extra space below headers */
  font-weight: 400;
}

.fsides-sm a{
  color: #ffffff;
  text-decoration: none;
}

.fsides-md{
  border-left: 1px solid #ffffff;
  height: 100%;
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Left-align all items */
  padding-inline: 25px; /* Add some padding */
}

.fsides-md h3,
.fsides-md span {
  width: 100%; /* Take full width of container */
  text-align: left; /* Ensure text is left-aligned */
  margin: 5px 0; /* Add spacing between items */
  font-weight: 400;
}

/* First-child styling for headers */
.fsides-md h3 {
  font-weight: bold;
  margin-bottom: 10px; /* Extra space below headers */
}
/* ✅ Responsive Media Queries */

.floating-banner{
  height: auto;
  width: 100px;
  position: absolute;
  top: 0;
  right: 100px;
}

.float-banner-img-container{
  height: 80px;
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  border-radius: 50%;
  position: absolute;
  top: 52px;
  right: 110px;
  z-index: 4;
}

.float-banner-img-container img{
  height: 60px;
  width: 60px;
}

/*------------------------ Contact Us ---------------------------------*/

.contact-us-info button{
  background-color: #620627;
  color: #ffffff;
  border-radius: 50px;
  padding-inline: 60px;
  padding-block: 10px;
  transition: all 0.5s ease;
  margin-top: 20px;
}

.contact-us-info button:hover{
  background-color: #7B1D4A;
  color: #ffffff;
  border-radius: 50px;
  padding-inline: 60px;
  padding-block: 10px;
  transition: all 0.5s ease;
  margin-top: 20px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.contact-us-info{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 750px;
  height: auto;
}

.contact-us-info h1{
  font-weight: bold;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.contact-us-info h5{
  font-size: 1rem;
}

.contact-us-info p{
  font-size: .9rem;
}

.contact-us-info img{
  height: 80px;
  width: 80px;
  margin-bottom: 15px;
}

.custom-modal-width {
  max-width: 100vw;
  margin: 0 auto;
}

.contact-us-modal {
  width: 100vw;
  border-radius: 0;
}

.contact-us-bg{
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  background-color: #f5f5f5;
}

.contact-us-bg-form{
  box-shadow: 1px 0 12px rgba(0, 0, 0, 0.25);
  background-color: #ffffff;
}

.contact-us-bg-form button{
  background-color: #620627;
  border-radius: 50px;
  padding-inline: 70px;
  padding-block: 10px;
  color: #ffffff;
}

.contact-us-bg-form button:hover{
  background-color: #7B1D4A;
  border-radius: 50px;
  padding-inline: 70px;
  padding-block: 10px;
  color: #ffffff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.service-avail-form{
  max-height: 700px;
  background-color: #ffffff;
}

.service-avail-display{
  padding: 10px;
  box-shadow: inset -10px 0 12px rgba(0, 0, 0, 0.25);
}

.service-avail-form button {
  background-color: #620627;
  border-radius: 50px;
  padding-inline: 70px;
  padding-block: 10px;
  color: #ffffff;
}

.service-avail-form button:hover{
  background-color: #7B1D4A;
  border-radius: 50px;
  padding-inline: 70px;
  padding-block: 10px;
  color: #ffffff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.navbar-bg-style{
  background-color: rgba(255, 255, 255, 0.99) !important;
  height: 100%;
  padding-inline: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline-end: 80px;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
  box-shadow: 4px 0 4px rgba(0, 0, 0, 0.25);
}

.go-back-landing {
  color: #620627;
  text-decoration: none;
  transition: all 0.5s ease;

}

.go-back-landing:hover{
  color: #7B1D4A;
  transform: scale(1.05);
}

/* 📱 Mobile (≤575px) */
@media (max-width: 575px) {
  .navbar-bg-style{
      background-color: rgba(255, 255, 255, 0.99) !important;
      height: 100%;
      padding-inline: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding-inline-end: 50px;
      clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
      box-shadow: 4px 0 4px rgba(0, 0, 0, 0.25);
  }

  .contact-us-bg .btn-close{
    filter: none !important;
  }

  .service-avail-form{
    max-height: none;
    background-color: #ffffff;
  }
  .logo-scroll {
    padding-block: 20px;
  }

  .logo-scroll-slide img {
    margin-inline: 40px;
    height: 40px;
    flex-shrink: 0;
  }


  .floating-banner{
    height: auto;
    width: 80px;
    position: absolute;
    top: 0;
    right: 30px;
  }

  .float-banner-img-container{
    height: 60px;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 43px;
    right: 40px;
    z-index: 4;
  }

  .float-banner-img-container img{
    height: 40px;
    width: 40px;
  }

  .project-back{
    position: fixed;
    top: 109px;
    left: 40px;
    z-index: 11;
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
    background-color: #620627;
    color: #ffffff;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    transition: all 0.5s ease;
    padding: 0;
  }

  .project-back:hover{
    color: #ffffff;
    background-color: #8b2054;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

    #mobile-svg {
        opacity: 1;
        z-index: 2;
        top: 0;
        transform: rotate(180deg) scaleX(-1);
    }

  .navbar-style {
    margin-inline: 10px;
    padding-inline: 20px;
  }

  .home-btn span {
    display: none;
  }

  .h-info-project {
    margin-top: 10px;
    }

  .home-page .home-page-img {
    width: 100%;
    height: 80vh;
  }

  .home-info {
    height: 20vh;
  }

  .home-page-bg {
    width: 100vw;         /* take full width */
    height: 80vh;
    clip-path: none;      /* remove angled cut if undesired on mobile */
    background: #ffffff;
  }

  .home-second-title {
    font-size: 1.3rem;
  }

  .home-page-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .hr-home {
    width: 60%;
  }

  .h-info-project h3{
    font-size: 1.2rem;
  }

   .h-info-project h5{
    font-size: 1rem;
  }


  .h-info-img-container img {
    height: 55px;
    width: 55px;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease, filter 0.3s ease;
    }

  .about-page{
    padding: 0;
    margin: 0;
  }

  .about-group-bg{
    position: absolute;
    top: -110px;
    z-index: -1;
  }

  .about-wha{
    height: 512px;
    background-color: #620627;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .about-wha-content {
    color: #ffffff;
    width: 80vw;
    height: auto;
  }

  .about-wha-content h3{
    font-weight: bolder;
    font-size: 1.5rem;
  }

  .about-wha-content p{
    font-size: .9rem;
  }

  /* Left wave (wave 1) */
  .about-wave-1 {
    position: absolute;
    top: 40%;
    left: 0;
    height: 120px;
    width: 180vh;
    transform:
      rotate(90deg)
      translateX(-50%)
      translateY(-50%);
    transform-origin: left center;
    z-index: -1;
  }

  /* Right wave (wave 2) */
  .about-wave-2 {
    position: absolute;
    top: 40%;
    right: 0;
    height: 120px;
    width: 180vh;
    transform:
      rotate(-90deg)
      translateX(50%)
      translateY(-50%);
    transform-origin: right center;
    z-index: -1;
  }

  .about-vision{
    height: 225px;
    width: auto;
    padding: 0;
  }

  .vision-content{
    width: 320px;
    position: absolute;
    z-index: 3;
    padding-inline: 10px;
    color: #ffffff;
  }

  .vision-content h3{
    font-weight: bold;
    font-size: 1.7rem;
  }

  .vision-content p{
    font-weight: 100;
    font-size: .8rem;
  }

  .vision-image{
    position: relative;
    margin: 0;
    padding: 0;
  }

  .vision-image img{
    height: 100%;
    width: 320px;
    border-radius: 5px;
  }

  .vision-gradient{
    height: 100%;
    width: 320px;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(
      180deg,
      rgba(180, 90, 120, 0.4758) 45.67%,    /* Darker pink */
      rgba(90, 15, 50, 0.624) 84.62%,       /* Darker purple */
      rgba(70, 0, 25, 0.78) 100%            /* Darker burgundy */
    );
    border-radius: 5px;
  }

  .about-mission{
    height: 225px;
    width: auto;
    padding: 0;
  }

  .mission-content{
    width: 320px;
    position: absolute;
    z-index: 3;
    padding-inline: 10px;
    color: #ffffff;
  }

  .mission-content h3{
    font-weight: bold;
    font-size: 1.7rem;
  }

  .mission-content p{
    font-weight: 100;
    font-size: .8rem;
  }

  .mission-image{
    position: relative;
    margin: 0;
    padding: 0;
  }

  .mission-image img{
    height: 100%;
    width: 320px;
    border-radius: 5px;
  }

  .mission-gradient{
    height: 100%;
    width: 320px;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(
      180deg,
      rgba(180, 90, 120, 0.4758) 45.67%,    /* Darker pink */
      rgba(90, 15, 50, 0.624) 84.62%,       /* Darker purple */
      rgba(70, 0, 25, 0.78) 100%            /* Darker burgundy */
    );
    border-radius: 5px;
  }

  .profile-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
  }

  .profile-card{
    width: 110px;
    height: 190px;
  }

  .profile-card img{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 30px;
    object-fit: cover; /* Maintain aspect ratio while filling container */
    object-position: center;
    transition: all 0.5s ease;
  }

  .profile-card .leonardo{
    transform: scale(1.5);
    transition: all 0.5s ease;
  }

  .profile-bg-card{
    height: 190px;
    width: 110px;
    background: rgba(209, 125, 151, 0.21);
    position: relative;
    transition: all 0.5s ease;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }

  .profile-bg-card img{
    position: absolute;
    top: 10px;
    left: 25px;
    width: 20px;
    height: 20px;
    opacity: 0;
    transition: all 0.5s ease;
  }

  .profile-info{
    position: absolute;
    bottom: -20px;
    width: 130px;
    height: 35%;
    color: #ffffff;
    padding-inline: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
    transition: all 0.7s ease;
  }

  .profile-info h3{
    font-size: .7rem;
    font-weight: bold;
    margin: 0;
  }

  .profile-info p{
    font-size: .5rem;
    margin-bottom: 5px;
  }

  .pinfo-skill-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
    gap: .1rem;
  }

  .pinfo-skill-list span{
    color: #620627;
    background-color: #ffffff;
    border-radius: 1rem;
    padding-inline: 5px;
    padding-block: 2px;
    font-size: .4rem;
    white-space: nowrap;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

  #profile-svg{
    width: 100%;
    height: 40%;
    position: absolute;
    bottom: 0;
    transition: all 0.5s ease;
  }

  .profile-card:hover{
    width: 130px;
    height: 190px;
  }

  .profile-card:hover .profile-bg-card{
    width: 115px;
  }

  .profile-card:hover #profile-svg{
    height: 50%;
  }

  .profile-card:hover img {
    transform: scale(1.1); /* Optional: Add zoom effect */
  }
  .profile-card:hover .leonardo {
    transform: scale(1.7); /* Optional: Add zoom effect */
  }

  .profile-card:hover .profile-info{
    bottom: 10px;
    opacity: 1;
  }

  .profile-card:hover .profile-bg-card img{
    left: 5px;
    opacity: 1;
  }

  /*--------- Project Section -----------------------*/

  .project-open{
    position: absolute;
    bottom: -25px;
    right: 0;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.5s ease;
  }

  .project-open:hover {
    transform: scale(1.05);
    text-decoration: underline;
  }

  .project-page{
    height: auto;
    padding-block: 30px;
  }

  .project-container {
    display: flex;
    flex-direction: column;
    gap: 17px;
    align-items: center;
    transition: all 0.5s ease;
  }

  .project-card {
  display: flex;
  flex-direction: column;
  width: fit-content;
  border-radius: 12px;
  background-color: transparent;
  position: relative;
  transition: all 0.5s ease;
  will-change: height; /* Optimize performance */
}

  /* Alternate card alignment */
  .project-card:nth-child(odd) {
    transform: none; /* Center then shift left */
  }

  .project-card:nth-child(even) {
    transform: none; /* Center then shift right */
  }

  .project-title {
      background: #7B1D4A;
      border-radius: 5px;
      position: absolute;
      color: #ffffff;
      top: -15px;
      left: -10px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding-inline: 10px;
      padding-block: 5px;
      z-index: 3;
  }

  .project-title h3 {
      font-size: 1.1rem;
      font-weight: bold;
  }

  .project-title-middle {
      background: #7B1D4A;
      border-radius: 5px;
      position: absolute;
      color: #ffffff;
      top: -15px;
      right: -10px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding-inline: 10px;
      padding-block: 5px;
      z-index: 3;
  }

  .project-title-middle h3 {
      font-size: 1.1rem;
      font-weight: bold;
  }

  .project-info {
    position: absolute;
    top: 0; /* Changed from 0 to 50% */
    left: 0;
    transform: translateY(-50%); /* Centers vertically */
    background-color: #ffffff;
    width: 275px;
    height: 133px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 10px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    z-index: 1;
    opacity: 0;
    transition: all 0.5s ease;
    padding: 10px;
  }

  .project-card.project-desc-show{
    background-color: #ffffff;
  }


  /* When .project-card contains .project-desc-show, style its .project-info */
  .project-card.project-desc-show .project-info  {
    position: relative;
    opacity: 1;
    transform: none;
    top: 0;
    left: 0;
    border-bottom-left-radius: 10px;
  }

  .project-card.project-desc-show .project-info.middle {
    position: relative;
    opacity: 1;
    transform: none;
    top: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  .project-card.project-desc-show {
    height: auto;
  }

  .project-card img{
    position: relative;
    border: 3px solid #ffffff;
    width: 275px;
    height: 153px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    z-index: 2;
  }

  .project-info h3{
    font-size: 1rem;
    font-weight: bold;
  }

  .project-info p {
    font-size: 0.70rem;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4; /* Adjust based on your font */
    max-height: calc(1.4em * 4); /* line-height × number of lines */
    margin-bottom: 5px;
  }

  .project-info a{
    height: 35px;
    border-radius: 50px;
    background-color: #620627;
    color: #fff;
    transition: all 0.5s ease;
    font-size: .70rem;
  }

  .project-info a:hover{
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
    background-color: #7B1D4A;
    color: #ffffff;
  }

  /* ------------------------------- List Project ----------------------------*/

  .list-sidebar{
    width: 100%;
    padding-top: 109px;
    padding-inline: 40px;
    color: #ffffff;
    z-index: 5;
    transition: all 0.5s ease;
  }

  .list-sidebar.active{
    width: 0;
    padding-top: 0;
    padding-inline: 0;
  }

  .list-sidebar.active .list-category{
    display: none;
    flex-direction: none;
    justify-content: none;
    align-items: none;
    width: 0;
  }

  .list-sidebar-toggle{
    display: block;
    position: absolute;
    top: 112px;
    left: 0;
    right: 0;
    border-radius: 0 50% 50% 0;
    background-color: #620627;
    color: #ffffff;
    border: none;
    z-index: 1000;
    width: 34px;
    height: 34px;
    padding: 0;
    cursor: pointer;
    transition: all .5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .list-sidebar-toggle:focus{
    background-color: #620627;
    color: #ffffff;
  }

  .list-sidebar-toggle.active{
    top: 112px;
    left: auto;
    right: 0;
    width: 34px;
    height: 34px;
    border-radius: 50% 0 0 50%;
    background-color: #D17D97;
  }

  .list-searchbar{
    border: none !important;
    border-radius: 20px !important;
    height: 40px !important;
  }

  .list-category{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    width: 100%;
    transition: all 0.5s ease;
  }

  .list-category .category-item{
    text-decoration: none;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    width: 100%;
    padding-inline: 20px;
    transition: all 0.2s ease;
  }

  .list-category .category-item p,
  .list-category .category-item span {
    display: flex;
    align-items: center; /* Vertically center contents */
    height: 100%; /* Take full height of parent */
    margin: 0; /* Remove default margins */
    padding: 10px 0; /* Add vertical padding */
  }

  .list-category .category-item.active{
    color: #FFFFFF;
    background-color: #D17D97;
    border-radius: 40px;
    padding-left: 20px;
    padding-right: 10px;
  }

  .list-category .category-item:hover {
    transform: scale(1.05);
  }

  .list-category .category-item.active:hover{
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

  .list-category .category-item.active span{
    background-color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    color: #D17D97;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .list-main{
    padding-top: 109px;
    padding-inline: 40px;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    transition: all 0.5s ease;
  }

  .list-panel:has(.list-sidebar-toggle.active) .list-main {
    padding-top: 0;
    padding-inline: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    width: 0;
  }

  .list-project-card {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .list-project-img-container {
    position: relative;
    width: 100%;
    height: 170px; /* Fixed height container */
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    z-index: 5;
  }

  .list-project-img {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
  }

  .viewer-button {
    position: absolute;
    bottom: -50px;
    right: 10px;
    height: 40px;
    background-color: #620627;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0 15px;
    opacity: 0;
    z-index: 6;
    transition: all 0.5s ease;
    cursor: pointer;
  }

  .viewer-button:hover {
    background-color: #7B1D4A;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    color: #ffffff;
    transform: scale(1.05);
  }

  .list-project-img-container:hover .viewer-button {
    opacity: 1;
    bottom: 10px;
  }

  /*------------------------- Viewed Project --------------------------------------*/

  .viewed-project{
    position: absolute;
    top:0;
    left: 0;
    height: 100%;
    width: 100vw;
    transition: all 0.5s ease;
    padding-top: 159px;
    padding-inline: 50px;
    overflow: hidden;
    overflow-y: auto;
  }

  .viewed-project-img{
    height: 250px;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.25);
    position: relative;
    border-radius: 10px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

  .viewed-project-description{
    width: 100%;
    margin-top: 2.5rem !important;
    height: auto !important;
    min-height: none !important;
    overflow-y: none !important;
  }

  .viewed-function-list{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .viewed-function-list span{
    background-color: #620627;
    border-radius: 20px;
    padding-inline: 10px;
    padding-block: 10px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    text-wrap: nowrap;
    color: #ffffff;
    font-size: .8rem;
  }

  .viewed-project-contact{
    height: 200px;
    width: 100%;
    border-radius: 10px;
    position: relative;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding-inline: 20px;
    transition: all 0.5s ease;
  }

  .viewed-project-contact h2{
    font-weight: bold;
    font-size: 1rem;
  }

  .viewed-project-contact h4{
    margin-left: 20px;
    font-size: .8rem;
  }

  .project-contact-container{
    margin-top: 10px;
    position: relative;
    width: auto;
    transition: all 0.5s ease;
    z-index: 5;
  }

  .project-contact-container.active .project-contact-input{
    width: 100%;
    transition: all 0.5s ease;
  }

  .project-contact-container .project-contact-input{
    height: 40px;
    width: 160px;
    border-radius: 20px;
    transition: all 0.5s ease;
  }

  .project-contact-container .project-contact-input:focus {
    border-color: rgba(207, 100, 152, 0.624); /* Your custom border color */
    box-shadow: 0 0 0 0.25rem rgba(207, 100, 152, 0.25); /* Custom glow */
    outline: 0; /* Removes default browser outline (optional) */
  }

  .project-contact-container .project-contact-button {
    position: absolute;
    top: 0;
    right: 0;
    background: #620627;
    border: 1px solid #ffffff;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    height: 40px;
    width: 160px;
    color: #FFFFFF;
    overflow: hidden; /* Hide overflowing content */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.5s ease;
  }

  /* Text element */
  .project-contact-button .button-text {
    transition: all 0.5s ease;
    white-space: nowrap;
  }

  /* Icon element */
  .project-contact-button .button-icon {
    position: absolute;
    width: 24px;
    height: 24px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
  }

  /* Active state */
  .project-contact-container.active .project-contact-button {
    width: 40px;
    transition: all 0.5s ease;
  }

  .project-contact-container.active .project-contact-button .button-text {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
  }

  .project-contact-container.active .project-contact-button .button-icon {
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s ease;
  }

  /* Hover state */
  .project-contact-container .project-contact-button:hover {
    background: #7B1D4A;
  }

  .viewed-project-contact-img-container {
    position: absolute;
    right: -25px;
    top: 0;
    transform: translateY(-50%);
    height: 70px;
    width: 70px;
    background-color: #FFFFFF;
    border-radius: 50%;
    padding: 10px; /* Now padding works! */
  }

  .viewed-project-contact-img-container img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .viewed-project-functions{
    display: block;
    padding-inline: 10px;
  }

  .suggestion-card {
    flex: 0 0 auto;
    width: 100%;
    scroll-snap-align: start;
  }

  .suggestion-card h3{
    margin-top: 5px;
  }

  .suggestion-img-container{
    position: relative;
    height: 160px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    overflow: hidden;
  }

  .suggestion-img-container .suggestion-img {
    height: 100%;
    width: 100%;
    border-radius: 10px;
  }

  .suggestion-button {
    position: absolute;
    bottom: -50px;
    right: 10px;
    height: 40px;
    background-color: #620627;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0 15px;
    opacity: 0;
    z-index: 6;
    transition: all 0.5s ease;
    cursor: pointer;
  }

  .suggestion-button:hover {
    background-color: #7B1D4A;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    color: #ffffff;
    transform: scale(1.05);
  }

  .suggestion-img-container:hover .suggestion-button {
    opacity: 1;
    bottom: 10px;
  }


  .viewed-project.panel-right{
    top:0;
    left: 100%;
  }

  /*------------------------ Services ------------------*/
  .service-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    z-index: 4;
    width: 100%;
    padding-block: 50px !important;
  }

  .service-nav-cont{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 5px;
    text-align: center;
    padding-inline: 0 !important;
  }

  .service-land{
    padding-inline: 10px;
    padding-block: 5px;
    text-decoration: none;
    color: #ffffff;
    border-radius: 5px;
    font-size: .8rem;
    transition: all 0.5s ease;
    margin: 0 !important;
  }

  .service-port{
    padding-inline: 10px;
    padding-block: 5px;
    font-size: .8rem;
    text-decoration: none;
    color: #ffffff;
    border-radius: 5px;
    transition: all 0.5s ease;
    margin: 0 !important;
  }

  .service-nav.active{
    transform: scale(1.2);
  }

  .service-nav-tab {
    opacity: 0;
    max-height: 0;
    padding: 0;
    transition:
      opacity 0.5s ease,
      max-height 0.5s ease;
  }

  .service-nav-tab.active {
    opacity: 1;
    max-height: 1000px; /* Adjust based on your content height */
  }

  .service-link{
    background-color: #D17D97;
    padding-inline: 10px;
    padding-block: 5px;
    font-size: .8rem;
    text-decoration: none;
    color: #ffffff !important;
    border-radius: 5px;
    transition: all 0.5s ease;
    margin: 0 !important;
  }

  .service-link:hover{
    color: #ffffff !important;
  }

  .service-link.active{
    transform: scale(1.2);
    background-color: #620627;
    color: #ffffff;
  }

  .service-tab-pane{
    opacity: 0;
    max-height: 0;
    padding: 0;
    transition:
      opacity 0.5s ease,
      max-height 0.5s ease;
  }

  .service-tab-pane.show{
    position: relative !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.5rem !important; /* gap-4 in Bootstrap = 1.5rem */
    opacity: 1;
    max-height: 1000px;
  }

  .landing-div {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem; /* gap-4 in Bootstrap = 1rem */
  }

  .portfolio-div {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem; /* gap-4 in Bootstrap = 1.5rem */
  }

  .card-style{
      background-color: #ffffff;
      border-radius: 10px;
      box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
      border: 1px solid rgba(0, 0, 0, 0.19) !important;
      position: relative;
      padding-top: 15px;
      height: 100%;
      z-index: 5;
      width: 330px;
  }

  .card-title-style {
      background: #620627;
      border-radius: 5px;
      position: absolute;
      color: #ffffff;
      top: -15px;
      left: -10px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding-inline: 5px;
      padding-block: 5px;
  }

  .card-title-style h3 {
      font-size: 1rem;
  }

  .card-style li {
      font-size: .8rem;
  }

  .service-img-one {
      position: absolute;
      top: 0;
      left: 0;
      transform: rotate(180deg);
      width: 100%;
      height: 30vh;
  }

  .service-img-two {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 30vh;
  }

  /*--------------------- FOOTER ---------------------------*/
  .finisher-header {
    position: relative;
    height: auto;
    color: white;
    overflow: none;
    width: 100%;
    padding-inline: 40px;
    padding-block: 30px;
  }

  .finisher-header .row{
    height: auto !important;
  }

  canvas.finisher-canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
  }

  .footer-title{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    padding-inline: 0;
    padding-block: 0;
    margin-bottom: 25px !important;
    height: auto !important;
  }

  .footer-title h3{
    margin-bottom: 5px;
    font-size: 1.5rem;
  }

  .footer-title span{
    font-size: .8rem;
    font-weight: 400;
  }

  .footer-title button{
    background-color: #620627;
    height: 40px;
    padding-inline: 20px;
    border-radius: 20px;
    border: none;
    color: #ffffff;
    transition: all 0.5s ease;
    align-self: center;
  }

  .footer-title button:hover{
    background-color: #7B1D4A;
    transform: scale(1.05);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

  .footer-sides{
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Row 1: 2 columns */
    grid-template-rows: auto auto auto;
    gap: 10px; /* space between items */
    padding-block: 0;
    padding-inline: 0;
    align-items: center;
  }

  .footer-sides > div:nth-child(3),
  .footer-sides > div:nth-child(4) {
    grid-column: 1 / span 2; /* span both columns */
  }

  .footer-sides > div:nth-child(3){
    border-bottom: 1px solid #ffffff;
    padding-bottom: 30px;
  }

  .fsides-sm {
    border-left: none;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left-align all items */
    padding-inline: 0; /* Add some padding */
  }

  /* Style for all text elements */
  .fsides-sm h4,
  .fsides-sm a {
    width: 100%; /* Take full width of container */
    text-align: left; /* Ensure text is left-aligned */
    margin: 5px 0; /* Add spacing between items */
  }

  /* First-child styling for headers */
  .fsides-sm h4 {
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 10px; /* Extra space below headers */
  }

  .fsides-sm a{
    color: #ffffff;
    text-decoration: none;
  }

  .fsides-md{
    border-left: none;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left-align all items */
    padding-inline: 0; /* Add some padding */
  }

  .fsides-md h3,
  .fsides-md span {
    width: 100%; /* Take full width of container */
    text-align: left; /* Ensure text is left-aligned */
    margin: 5px 0; /* Add spacing between items */
  }

  /* First-child styling for headers */
  .fsides-md h3 {
    font-weight: bold;
    margin-bottom: 10px; /* Extra space below headers */
  }

  .fsides-md svg{
    margin-right: 10px;
    margin-top: 5px;
  }
}

/* 📲 Tablet (576px – 991px) */
@media (min-width: 576px) and (max-width: 1024px) {
  .navbar-style {
    padding-inline: 40px;
  }

  .home-title {
    font-size: 2rem;
  }

  .home-second-title {
    font-size: 1.4rem;
  }

  .home-page-btn {
    font-size: 15px;
  }

  .hr-home {
    width: 50%;
  }

  .h-info-project {
    margin-top: 10px;
    }

  .home-page .home-page-img {
    width: 100%;
    height: 80vh;
  }

  .home-info {
    height: 20vh;
  }

  .home-page-bg {
    width: 70vw;         /* take full width */
    height: 80vh;
  }

  .home-second-title {
    font-size: 1.3rem;
  }

  .home-page-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .hr-home {
    width: 60%;
  }

  .h-info-img-container img {
    height: 75px;
    width: 75px;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease, filter 0.3s ease;
    }

  .about-page{
    padding: 0;
    margin: 0;
  }

  .about-group-bg{
    position: absolute;
    top: -110px;
    z-index: -1;
  }

  .about-wha{
    height: 512px;
    background-color: #620627;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .about-wha-content {
    color: #ffffff;
    width: 50vw;
    height: auto;
  }

  .about-wha-content h3{
    font-weight: bolder;
    font-size: 1.7rem;
  }

  .about-wha-content p{
    font-size: 1rem;
  }

  /* Left wave (wave 1) */
  .about-wave-1 {
    position: absolute;
    top: 40%;
    left: 0;
    height: 120px;
    width: 180vh;
    transform:
      rotate(90deg)
      translateX(-50%)
      translateY(-50%);
    transform-origin: left center;
    z-index: -1;
  }

  /* Right wave (wave 2) */
  .about-wave-2 {
    position: absolute;
    top: 40%;
    right: 0;
    height: 120px;
    width: 180vh;
    transform:
      rotate(-90deg)
      translateX(50%)
      translateY(-50%);
    transform-origin: right center;
    z-index: -1;
  }

  .about-vision{
    height: 275px;
    width: auto;
    padding: 0;
  }

  .vision-content{
    width: 450px;
    position: absolute;
    z-index: 3;
    padding-inline: 10px;
    color: #ffffff;
  }

  .vision-content h3{
    font-weight: bold;
    font-size: 2rem;
  }

  .vision-content p{
    font-weight: 100;
    font-size: 1.1rem;
  }

  .vision-image{
    position: relative;
    margin: 0;
    padding: 0;
  }

  .vision-image img{
    height: 100%;
    width: 450px;
    border-radius: 5px;
  }

  .vision-gradient{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(
      180deg,
      rgba(180, 90, 120, 0.4758) 45.67%,    /* Darker pink */
      rgba(90, 15, 50, 0.624) 84.62%,       /* Darker purple */
      rgba(70, 0, 25, 0.78) 100%            /* Darker burgundy */
    );
    border-radius: 5px;
  }

  .about-mission{
    height: 275px;
    width: auto;
    padding: 0;
  }

  .mission-content{
    width: 450px;
    position: absolute;
    z-index: 3;
    padding-inline: 10px;
    color: #ffffff;
  }

  .mission-content h3{
    font-weight: bold;
    font-size: 2rem;
  }

  .mission-content p{
    font-weight: 100;
    font-size: 1.1rem;
  }

  .mission-image{
    position: relative;
    margin: 0;
    padding: 0;
  }

  .mission-image img{
    height: 100%;
    width: 450px;
    border-radius: 5px;
  }

  .mission-gradient{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(
      180deg,
      rgba(180, 90, 120, 0.4758) 45.67%,    /* Darker pink */
      rgba(90, 15, 50, 0.624) 84.62%,       /* Darker purple */
      rgba(70, 0, 25, 0.78) 100%            /* Darker burgundy */
    );
    border-radius: 5px;
  }

  .project-title {
      background: #7B1D4A;
      border-radius: 5px;
      position: absolute;
      color: #ffffff;
      top: -15px;
      left: -10px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding-inline: 10px;
      padding-block: 5px;
  }

  .project-title h3 {
      font-size: 1.5rem;
  }

  .project-title-middle {
      background: #7B1D4A;
      border-radius: 5px;
      position: absolute;
      color: #ffffff;
      top: -15px;
      right: -10px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding-inline: 10px;
      padding-block: 5px;
  }

  .project-title-middle h3 {
      font-size: 1.5rem;
  }

  .project-info {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ffffff;
    width: 430px;
    height: 183px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }
}


/*------------------------------ ADMIN PAGE ------------------------------------*/

.login-card{
  height: auto;
  width: 600px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background-color: #ffffff;
}

.login-input{
  width: 400px;
  height: 40px;
}

.login-logo-container{
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  height: 100px;
  width: 100px;
  background-color: #f5f5f5;
  border-radius: 50%;
  padding: 20px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.login-logo{
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.login-button{
  padding-block: 10px;
  background-color: #620627;
  color: #ffffff;
  border-radius: 25px;
  border: none;
  width: 100%;
  margin-top: 10px;
}

.dashboard-container{
  height: 100vh;
  width: 100%;
  flex: 1;
  display: flex;
  background-color: #f3f8f8;
  position: relative;
}

.dashboard-sidebar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 80px !important;
  flex: 0 0 80px;
  display: flex;
  flex-direction: column;
  background-color: #620627;
  overflow: hidden;
  border: none;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: all 0.5s ease;
  z-index: 100;
}

.dashboard-sidebar:hover {
  width: 300px !important;
  flex: 0 0 300px; /* match */
}

.dashboard-home{
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  width: 100%;
  height: 50px;
  margin-inline: auto;
}

.dsidebar-list {
  flex: 1; /* Take up remaining space */
  display: flex;
  flex-direction: column;
  justify-content: start; /* Align items to top */
  align-items: center;
  width: 100%;
  padding-block: 10px;
}

.dsidebar-list .dsidebar-items {
  text-decoration: none;
  color: #ffffff;
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #620627;
  transition: all 0.5s ease;
  position: relative; /* Needed for the sliding effect */
  overflow: hidden; /* Keeps the text contained during animation */
  text-align: left; /* Default alignment */
  text-wrap: nowrap;
  position: relative;
  gap: 10px;
  padding-inline: 0;
}

.dashboard-sidebar .dsidebar-items span{
  font-size: .8rem;
  position: absolute;
  right: -500px;
  opacity: 0;
  transition: all 0.5s ease;
}

.dashboard-sidebar:hover .dsidebar-list .dsidebar-items{
  width: 100%;
  justify-content: start;
  padding-inline: 30px;
}

.dashboard-sidebar:hover .dsidebar-list .dsidebar-items span{
  opacity: 1;
  position: relative;
  right: 0;
}


svg.icon-sm {
  width: 18px;
  height: 18px;
}

.dsidebar-list .dsidebar-items:hover {
  padding-block: 15px;
  background-color: #8b2054;
  color: #ffffff;
  box-shadow: -4px 4px 4px rgba(0, 0, 0, 0.25);
  z-index: 5;
}

.dsidebar-list .dsidebar-items.active {
  padding-block: 15px;
  background-color: #ffffff;
  color: #620627;
  text-align: right; /* Final alignment */
}

/* Create a sliding effect using pseudo-elements */
.dsidebar-list .dsidebar-items::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background-color: #ffffff;
  transition: width 0.5s ease;
  z-index: -1;
}

.dsidebar-list .dsidebar-items.active::after {
  width: 100%;
}

.dsidebar-footer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dsidebar-logout {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #620627;
  width: 100%;
  height: 40px;
  padding-inline-start: 19px;
  background-color: #ffffff;
  transition: all 0.5s ease;
  padding-inline: 0;
  gap: 10px;
}

.dsidebar-logout span{
  opacity: 0;
  position: absolute;
  right: -500px;
  transition: all 0.5s ease;
  font-size: .8rem;
}

.dashboard-sidebar:hover .dsidebar-logout {
  background-color: #ffffff;
  color: #620627;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  width: 100%;
  justify-content: start;
  padding-inline: 30px;
}


.dashboard-sidebar:hover .dsidebar-logout span{
  opacity: 1;
  position: relative;
  right: 0;
}

.dashboard-main{
  padding-left: 80px;
  width: 100%;
  height: 100vh;
  position: relative;
  transition: all 0.5s ease;
}


.dashboard-main .dmain-tab-list{
  height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.dashboard-main .dmain-tab-list .dmain-tab-item{
  height: 100vh;
  width: 100%;
  display: none;
  opacity: 0;
  padding: 20px;
  overflow: hidden;
  overflow-y: auto;
  position: relative;
}

.dashboard-main .dmain-tab-list .dmain-tab-item.active{
  opacity: 1;
  display: block;
}

.dd-items-card{
  height: 20vh;
  background-color: #ffffff;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.dd-items-card .dd-card-header{
  background-color: #f0d1db;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: start;
  align-items: center;
  padding-inline: 10px;
  gap: 5px;
}

.dd-items-panel {
  height: 80vh;
  background-color: #ffffff;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.dd-panel-header{
  background-color: #f0d1db;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: start;
  align-items: center;
  padding-inline: 10px;
  gap: 5px;
}

.dashboard-project-header{
  display: flex;
  justify-content: center;
  align-items: start;
}

.dashboard-project-header h1{
  font-size: 1.5rem;
  font-weight: bolder;
}

.dashboard-project-header button{
  background-color: #620627;
  color: #ffffff;
  padding-inline: 10px;
  padding-block: 5px;
  border-radius: 5px;
  border: none;
}

.dashboard-project-header button:hover{
  background-color: #7B1D4A;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.dp-card {
  height: auto;
  background-color: #ffffff;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  display: flex;
  flex-direction: column;
  border-radius: 5px;
}

.dp-card-header{
  background-color: #f0d1db;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: start;
  align-items: center;
  padding-inline: 10px;
  padding-block: 10px;
  gap: 5px;
}

.project-tabs{
  padding-inline: 15px;
  padding-top: 15px;
  background-color: #620627 !important;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.project-nav-item{
  position: relative;
}

.project-nav-item button {
  font-size: 0.8rem !important;
  text-decoration: none !important;
  color: #ffffff !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: none !important; /* optional: prevents background flickers */
  transition: none !important; /* prevents animated flickers */
}

.project-nav-item button svg{
  width: 15px !important;
  height: 15px !important;
}

.project-nav-item button.active {
  font-size: 0.8rem !important;
  text-decoration: none !important;
  color: #620627 !important;
  background-color: #ffffff !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.project-nav-item button.active::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -15px;
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%; /* Makes it a circle */
  box-shadow: 8px 8px 0 #ffffff;
  background-color: #620627;
}

.project-nav-item button.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -15px;
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  box-shadow: -8px 8px 0 #ffffff;
  background-color: #620627;
}

.project-nav-item button:hover,
.project-nav-item button:focus,
.project-nav-item button:active,
.project-nav-item button:focus-visible {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.project-tab-pane{
  padding: 20px;
  background-color: #ffffff !important;
  transition: none !important;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  height: auto;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  margin-bottom: 10px !important;
}

.project-items-button{
  background-color: #620627;
  color: #FFFFFF;
  height: 40px;
  width: 40px;
  border-radius: 10px;
  border: none;
  padding: 5px;
}

.dp-add-project-form{
  background-color: #ffffff;
  padding: 20px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  border-radius: 5px;
}

.dp-add-project-header{
  background-color: #f0d1db;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: start;
  align-items: center;
  padding-inline: 10px;
  padding-block: 10px;
  gap: 5px;
}

.dp-form-div {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
}

.dp-form-div.active {
  overflow: unset;
  max-height: 91vh;
}

.dp-add-project-form input,
.dp-add-project-form textarea,
.dp-add-project-form select,
.input-group-text {
  border-radius: 0 !important;
  font-size: 0.9rem !important;
}

.dp-saved-func-card{
  width: 350px;
  padding: 5px;
  background-color: #f3f8f8;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.dp-saved-func-card textarea{
  width: 100%;
}

.dp-add-project-submit{
  background-color: #620627 !important;
  color: #ffffff !important;
  padding-inline: 10px !important;
  padding-block: 5px !important;
  border-radius: 5px !important;
  border: none !important;
}

.dp-add-project-submit:hover{
  background-color: #7B1D4A !important;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25) !important;
  color: #ffffff !important;
}

.add-categ-modal{
  border: none !important;
  border-radius: 0 !important;
  box-shadow: 1px solid rgba(0, 0, 0, 0.25) !important;
}

.add-categ-modal .modal-header{
  background-color: #D17D97 !important;
  padding: 5px !important;
  padding-inline: 10px !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  border: none !important;
}

.add-categ-modal .modal-body{
  padding: 5px !important;
  padding-inline: 10px !important;
  border: none !important;
}

.add-categ-modal .modal-body button{
  background-color: #620627 !important;
  color: #ffffff !important;
  padding-inline: 10px !important;
  padding-block: 5px !important;
  border-radius: 5px !important;
  border: none !important;
}

.add-categ-modal .modal-body button:hover{
  background-color: #7B1D4A !important;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25) !important;
  color: #ffffff !important;
}

.add-categ-modal .modal-body input{
  border-radius: 0 !important;
  font-size: 0.9rem !important;
}

.dp-thumbnail-edit{
  width: 100%;
  height: auto;
  border: 1px soild #e9e9e9;
}

.dp-project-edit{
  max-height: 0;
  transition: all 0.5s ease;
  overflow: hidden;
  overflow-y: auto;
  position: relative;
}

.dp-project-edit.active{
  max-height: 80vh;
}

.dp-edit-disabled {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0; /* this will only work if parent has a fixed height */
  z-index: 10;
  background-color: rgba(155, 155, 155, 0.2);
  pointer-events: all;    /* Blocks click */
  opacity: 0;
  transition: all 0.5 ease;
}

.dp-edit-disabled.active {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* this will only work if parent has a fixed height */
  z-index: 10;
  background-color: rgba(155, 155, 155, 0.2);
  pointer-events: none;
  opacity: 1;
}

.dp-edit-disabled .dp-allow-edit-button{
  opacity: 0;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 11;
  background-color: #620627 !important;
  color: #ffffff !important;
  padding-inline: 10px !important;
  padding-block: 5px !important;
  border-radius: 5px !important;
  border: none !important;
  pointer-events: all;
}

.dp-edit-disabled .dp-allow-edit-button:hover{
  background-color: #7B1D4A !important;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25) !important;
  color: #ffffff !important;
}

.dp-edit-disabled.active .dp-allow-edit-button{
  opacity: 1;
}

.dp-edit-disabled .dp-allow-cancel-button{
  opacity: 0;
  position: absolute;
  top: 50px;
  right: 10px;
  z-index: 11;
  background-color: #620627 !important;
  color: #ffffff !important;
  padding-inline: 10px !important;
  padding-block: 5px !important;
  border-radius: 5px !important;
  border: none !important;
  pointer-events: all;
}

.dp-edit-disabled .dp-allow-cancel-button:hover{
  background-color: #7B1D4A !important;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25) !important;
  color: #ffffff !important;
}

.dp-edit-disabled.active .dp-allow-cancel-button{
  opacity: 1;
}

.dp-others-item{
  height: 60px;
  overflow: hidden;
  width: 100%;
  transition: all 0.5s ease;
}

.dp-others-item.active {
  height: auto;
  overflow: none;
  width: 100%;
  transition: all 0.5s ease;
}

.dp-others-item.active .dpo-item-dropdown{
  background-color: #620627;
  color: #ffffff;
}

.dp-others-item .dpo-item-dropdown {
  height: 60px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: start;
  align-items: center;
  padding-inline: 20px;
  gap: 5px;
  transition: all 0.5s ease;
}

.dp-others-item .dpo-item-body{
  height: auto;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  padding: 5px;
}

.save-edit-title-category{
  background-color: #620627 !important;
  color: #ffffff !important;
  padding-inline: 10px !important;
  padding-block: 5px !important;
  border-radius: 5px !important;
  border: none !important;
}

.save-edit-title-category:hover{
  background-color: #7B1D4A !important;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25) !important;
  color: #ffffff !important;
}


.cancel-edit-title-category{
  background-color: #620627 !important;
  color: #ffffff !important;
  padding-inline: 10px !important;
  padding-block: 5px !important;
  border-radius: 5px !important;
  border: none !important;
}

.cancel-edit-title-category:hover{
  background-color: #7B1D4A !important;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25) !important;
  color: #ffffff !important;
}

.dp-add-new-categ{
  background-color: #620627 !important;
  color: #ffffff !important;
  padding-inline: 10px !important;
  padding-block: 5px !important;
  border-radius: 5px !important;
  border: none !important;
}

.dp-add-new-categ:hover{
  background-color: #7B1D4A !important;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25) !important;
  color: #ffffff !important;
}

.scroll-x {
    display: flex;
    flex-wrap: wrap;
}

.inquire-card {
  flex: 0 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  overflow-y: auto;
  scrollbar-width: thin; /* Firefox */
  margin-bottom: 10px;
}

.inquire-card:hover {
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.06) 0px 3px 6px,
                rgba(0, 0, 0, 0.1) 0px 8px 12px -3px;
}

/* Header */
.inquire-header {
    border-bottom: 2px solid #f2f2f2;
    margin-bottom: 15px;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.inquire-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.inquire-actions {
    display: flex;
    gap: 6px;
}

.inquire-tabs{
  padding-inline: 15px;
  padding-top: 15px;
  background-color: #620627 !important;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.inquire-nav-item{
  position: relative;
}

.inquire-nav-item button {
  font-size: 0.8rem !important;
  text-decoration: none !important;
  color: #ffffff !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: none !important; /* optional: prevents background flickers */
  transition: none !important; /* prevents animated flickers */
}

.inquire-nav-item button svg{
  width: 15px !important;
  height: 15px !important;
}

.inquire-nav-item button.active {
  font-size: 0.8rem !important;
  text-decoration: none !important;
  color: #620627 !important;
  background-color: #ffffff !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.inquire-nav-item button.active::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -15px;
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%; /* Makes it a circle */
  box-shadow: 8px 8px 0 #ffffff;
  background-color: #620627;
}

.inquire-nav-item button.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -15px;
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  box-shadow: -8px 8px 0 #ffffff;
  background-color: #620627;
}

.inquire-nav-item button:hover,
.inquire-nav-item button:focus,
.inquire-nav-item button:active,
.inquire-nav-item button:focus-visible {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.inquire-tab-pane{
  padding: 20px;
  background-color: #ffffff !important;
  transition: none !important;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  height: auto;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  margin-bottom: 10px !important;
}

.btn-inquire {
    border: none;
    border-radius: 6px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #f8f8f8; /* default background */
}

.btn-inquire i {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* Color variations with soft background */
.btn-inquire.reply {
    background-color: rgba(74, 86, 226, 0.1);
    color: #4a56e2;
}

.btn-inquire.flag {
    background-color: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.btn-inquire.export {
    background-color: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

.btn-inquire.read {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.btn-inquire.done {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.btn-inquire.archive {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

/* Hover effect */
.btn-inquire:hover {
    transform: translateY(-2px);
    background-color: #ececec;
}

/* Body */
.inquire-body h4 {
    font-size: 1rem;
    color: #555;
    margin-bottom: 5px;
}

.inquire-body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}

.inquire-body p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 3px;
}

.inquire-body span {
    display: inline-block;
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

/* Special tags */
.i-other {
    background-color: #ffeef4;
    color: #620627;
}

.i-message {
    display: block;
    background-color: #f8f8f8;
    color: #444;
    padding: 10px;
    border-left: 3px solid #620627;
    margin-top: 10px;
}

.inquire-btn-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #7B1D4A;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    font-size: 0.95rem;
    padding-block: 10px;
}

.inquire-btn-toggle:hover {
    color: #620627;
}

.inquire-toggle-text {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.inquire-btn-toggle.collapsed .inquire-toggle-text {
    transform: translateX(5px);
    opacity: 0.8;
}

.service-avail-card {
    flex: 0 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
                rgba(0, 0, 0, 0.3) 0px 7px 13px -3px,
                rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    overflow-y: auto;
    scrollbar-width: thin; /* Firefox */
    margin-bottom: 10px;
}

.service-avail-card:hover {
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.06) 0px 3px 6px,
                rgba(0, 0, 0, 0.1) 0px 8px 12px -3px;
}

/* Header */
.service-avail-header {
    border-bottom: 2px solid #f2f2f2;
    margin-bottom: 15px;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.service-avail-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.service-avail-actions {
    display: flex;
    gap: 6px;
}

/* Buttons */
.btn-service-avail {
    border: none;
    border-radius: 6px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #f8f8f8; /* default background */
}

.btn-service-avail i {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* Color variations with soft background */
.btn-service-avail.reply {
    background-color: rgba(74, 86, 226, 0.1);
    color: #4a56e2;
}

.btn-service-avail.flag {
    background-color: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.btn-service-avail.export {
    background-color: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

.btn-service-avail.read {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.btn-service-avail.done {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.btn-service-avail.archive {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

/* Hover effect */
.btn-service-avail:hover {
    transform: translateY(-2px);
    background-color: #ececec;
}

/* Body */
.service-avail-body h4 {
    font-size: 1rem;
    color: #555;
    margin-bottom: 5px;
}

.service-avail-body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}

.service-avail-body p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 3px;
}

.service-avail-body .sa-item {
    display: block;
    background-color: #ffeef4;
    color: #620627;
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 10px;
    line-height: 1.5;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 3px;
}

.service-avail-body .sa-title {
    font-size: 0.9rem;
    color: #a33b5e;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.service-avail-body .sa-plan {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.service-avail-body .sa-item p {
    font-size: 0.85rem;
    margin: 0;
    color: #5a2e3c;
}



.service-avail-btn-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #7B1D4A;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    font-size: 0.95rem;
    padding-block: 10px;
}

.service-avail-btn-toggle:hover {
    color: #620627;
}

.service-avail-toggle-text {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.service-avail-btn-toggle.collapsed .service-avail-toggle-text {
    transform: translateX(5px);
    opacity: 0.8;
}

.interest-card {
  flex: 0 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
              rgba(0, 0, 0, 0.3) 0px 7px 13px -3px,
              rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  margin-bottom: 12px;
}

.interest-card:hover {
  transform: translateY(-2px);
  box-shadow: rgba(0, 0, 0, 0.06) 0px 3px 6px,
              rgba(0, 0, 0, 0.1) 0px 8px 12px -3px;
}

/* Header */
.interest-header {
  border-bottom: 2px solid #f2f2f2;
  margin-bottom: 15px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.interest-body{
  display: flex;
  flex-direction: column;
}

.interest-header h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.interest-actions {
  display: flex;
  gap: 6px;
}

.btn-interest {
  border: none;
  border-radius: 6px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #f8f8f8; /* default background */
}

.btn-interest i {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

/* Color variations with soft background */
.btn-interest.reply {
  background-color: rgba(74, 86, 226, 0.1);
  color: #4a56e2;
}

.btn-interest.flag {
  background-color: rgba(255, 193, 7, 0.15);
  color: #ffc107;
}

.btn-interest.export {
  background-color: rgba(23, 162, 184, 0.1);
  color: #17a2b8;
}

.btn-interest.read {
  background-color: rgba(0, 123, 255, 0.1);
  color: #007bff;
}

.btn-interest.done {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.btn-interest.archive {
  background-color: rgba(108, 117, 125, 0.1);
  color: #6c757d;
}

.btn-interest:hover {
  transform: translateY(-2px);
  background-color: #ececec;
}

/* Body */
.interest-body h4 {
  font-size: 1rem;
  color: #555;
  margin-bottom: 5px;
}

.interest-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}

.interest-body p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 3px;
}

.interest-body span {
  display: inline-block;
  font-size: 0.9rem;
  padding: 5px 10px;
  border-radius: 6px;
  background-color: #f8f8f8;
  color: #444;
  margin-bottom: 10px;
}

/* Project Thumbnail */
.interest-project-thumbnail {
  max-width: 550px;
  border-radius: 8px;
  margin: 10px 0;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px;
}

/* Project functions list */
.interest-body ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.interest-body ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafa;
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 5px;
  box-shadow: rgba(0, 0, 0, 0.04) 0px 1px 2px;
}

.interest-body ul li p {
  font-weight: 500;
  color: #333;
  margin: 0;
}

.interest-body ul li span {
  background: none;
  color: #555;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}


.inquiries-container{
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  max-height: 85vh;
  overflow: hidden;
  overflow-y: auto;
  padding-inline: 0;
  padding-block: 10px;
  padding-bottom: 15px;
  scrollbar-width: thin; /* Firefox */
}

.inquiries-container .inquiries-items{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  background: #fff;
  border-radius: 0;
  padding: 20px;
  width: 100%;
  transition: all 0.3s ease;
  position: relative;
  border-top: 1px solid #6c757d;
}

.inquiries-mailed-item{
  display: flex;
  justify-content: center;
  align-items: center;
  padding-inline: 10px;
  padding-block: 5px;
  background-color: rgba(74, 86, 226, 0.1);
  color: #4a56e2 !important;
  font-size: 12px;
  border-radius: 5px;
}

.inquiries-mailed-item svg {
  width: 13px;
  height: 13px;
  color: #4a56e2 !important;
}

.inquiries-container .inquiries-items:hover {
  background-color: #f8f8f8;
}

/* Not Readed */
.inquiries-container .inquiries-items.not-readed {
  background: rgba(0, 123, 255, 0.1); /* soft sky blue highlight */
  border-left: 4px solid #007bff;      /* primary blue border */
  font-weight: 600;
}

.inquiries-container .inquiries-items.not-readed:hover {
  border-left: 4px solid #0056b3;      /* darker blue accent */
}

/* Flagged */
.inquiries-container .inquiries-items.flagged {
  background: rgba(255, 193, 7, 0.15); /* yellowish highlight */
  border-left: 4px solid #ffc107;
  font-weight: 600;
}

.inquiries-container .inquiries-items.flagged:hover {
  border-left: 4px solid #b28704; /* darker yellow accent */
}

/* Marked */
.inquiries-container .inquiries-items.marked {
  background: rgba(40, 167, 69, 0.1); /* green highlight */
  border-left: 4px solid #28a745;
  font-weight: 600;
}

.inquiries-container .inquiries-items.marked:hover {
  border-left: 4px solid #1e7e34; /* darker green accent */
}

/* Combination: Flagged + Marked */
.inquiries-container .inquiries-items.flagged.marked {
  background: linear-gradient(90deg, rgba(255, 193, 7, 0.15) 0%, rgba(40, 167, 69, 0.1) 100%);
  border-left: 4px solid #ffc107;
  font-weight: 700;
}

.inquiries-container .inquiries-items h5,
.inquiries-container .inquiries-items p,
.inquiries-container .inquiries-items span {
  margin: 0;
}

/* Fix columns */
.inquiries-container .inquiries-items h5 {
  flex: 1;
  min-width: 300px; /* adjust as needed */
  font-size: 1rem;
}

.inquiries-container .inquiries-items p {
  flex: 2;
  min-width: 200px; /* adjust as needed */
  text-align: left;
}

.inquiries-container .inquiries-items span {
  flex: 1;
  text-align: right;
  color: #686868;
}

.search-inquiries{
  font-size: .9rem;
  border-radius: 25px;
  padding-inline: 15px !important;
}

.di-items-cards{
  height: auto;
  border-radius: 0;
  background-color: #ffffff
  !important;
  overflow: hidden;
}

.di-items-cards .di-card-headers{
  background-color: #f0d1db;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: start;
  align-items: center;
  padding-inline: 10px;
  gap: 5px;
}

.di-card-collapse-btn {
  padding-block: 10px;
  padding-inline: 25px;
  background-color: #f9f9f9;
  cursor: pointer;
  border-radius: 8px;
  margin-bottom: 5px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between; /* space for count on the right */
}

.di-card-collapse-btn:hover {
  background-color: #ececec;
}

.di-card-collapse-btn.active.di-card-collapse-btn.active {
  background-color: #d9d9d9;
}

.di-card-collapse-btn .collapse-count {
  background: #ff4d6d;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 4px;
  min-width: 28px;
  text-align: center;
  transition: transform 0.2s ease;
}

.di-card-collapse-btn:hover .collapse-count {
  transform: scale(1.05);
}


.di-card-collapse-btn h1{
  font-size: 1rem;
  margin: 0;
}

.di-card-collapse-btn.active h1{
  font-weight: bold;
}

.di-card-archive-btn{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 10px;
  padding-inline: 20px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-top: 1px solid #6c757d;
  border-bottom: 1px solid #6c757d;
}

.di-card-archive-btn:hover{
  background-color: #fdfdfd;
}

.di-card-archive-btn h1{
  font-size: 1rem;
  margin: 0;
}

.di-card-archive-btn span{
  color: #6c757d;
}

.di-card-flagged-btn{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 10px;
  padding-inline: 20px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-top: 1px solid #6c757d;
  border-bottom: 1px solid #6c757d;
}

.di-card-flagged-btn:hover{
  background-color: #fdfdfd;
}

.di-card-flagged-btn h1{
  font-size: 1rem;
  margin: 0;
}

.di-card-flagged-btn span{
  color: #6c757d;
}

.di-card-marked-btn{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 10px;
  padding-inline: 20px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-top: 1px solid #6c757d;
  border-bottom: 1px solid #6c757d;
}

.di-card-marked-btn:hover{
  background-color: #fdfdfd;
}

.di-card-marked-btn h1{
  font-size: 1rem;
  margin: 0;
}

.di-card-marked-btn span{
  color: #6c757d;
}

.di-headers{
  background: #fff;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 5px;
  width: auto;
  padding-inline: 20px;
  border-radius: 50px;
}

.di-headers h5{
  font-size: 1rem;
}

.du-items-card{
  height: auto;
  padding: 10px;
  background-color: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid #6c757d;
}

.du-items-card .du-card-header{
  background-color: #f0d1db;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: start;
  align-items: center;
  padding-inline: 10px;
  gap: 5px;
}

.user-tabs{
  padding-inline: 15px;
  padding-top: 15px;
  background-color: #620627 !important;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.user-nav-item{
  position: relative;
}

.user-nav-item button {
  font-size: 0.8rem !important;
  text-decoration: none !important;
  color: #ffffff !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: none !important; /* optional: prevents background flickers */
  transition: none !important; /* prevents animated flickers */
}

.user-nav-item button svg{
  width: 15px !important;
  height: 15px !important;
}

.user-nav-item button.active {
  font-size: 0.8rem !important;
  text-decoration: none !important;
  color: #620627 !important;
  background-color: #ffffff !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.user-nav-item button.active::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -15px;
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%; /* Makes it a circle */
  box-shadow: 8px 8px 0 #ffffff;
  background-color: #620627;
}

.user-nav-item button.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -15px;
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  box-shadow: -8px 8px 0 #ffffff;
  background-color: #620627;
}

.user-nav-item button:hover,
.user-nav-item button:focus,
.user-nav-item button:active,
.user-nav-item button:focus-visible {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.user-tab-pane{
  padding: 20px;
  background-color: #ffffff !important;
  transition: none !important;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  height: auto;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  margin-bottom: 10px !important;
}

.user-profile-setting-tab-panel{
  display: flex !important;
}

.user-profile-setting-tab-tabs {
  padding-inline: 15px;
  padding-block: 15px;
  border-radius: 10px;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100%;
  background-color: #fff3f6 !important; /* Softer light background */
  border: 0 !important;
  gap: 5px;
}

.user-profile-setting-tab-nav-item {
  position: relative;
  width: 250px;
}

.user-profile-setting-tab-nav-item button {
  font-size: 0.8rem !important;
  text-decoration: none !important;
  background-color: #fce7ec !important; /* Tint of #d17d97 */
  color: #6a2c41 !important; /* Softer dark rose */
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  transition: background-color 0.3s ease;
  width: 100%;
  border-radius: 5px !important;
}

.user-profile-setting-tab-nav-item button:hover {
  background-color: #fbdde6 !important; /* Slightly darker hover */
  cursor: pointer;
}

.user-profile-setting-tab-nav-item button svg {
  width: 15px !important;
  height: 15px !important;
}

/* Active: deeper but soft rose */
.user-profile-setting-tab-nav-item button.active {
  font-size: 0.8rem !important;
  text-decoration: none !important;
  color: #ffffff !important;
  background-color: #e4a2b7 !important; /* Softer #d17d97 tone */
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.user-profile-setting-tab-nav-item button:focus,
.user-profile-setting-tab-nav-item button:active,
.user-profile-setting-tab-nav-item button:focus-visible {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.user-profile-setting-tab-content{
  width: 100%;
  position: relative;
}

.user-profile-setting-tab-tab-pane{
  padding-left: 20px;
  background-color: #ffffff !important;
  transition: none !important;
  height: auto;
  overflow: hidden;
  height: 100%;
  width: 100% !important;
}

.du-add-user{
  background-color: #620627;
  color: #ffffff;
  padding-inline: 10px;
  padding-block: 5px;
  border-radius: 5px;
  border: none;
}

.du-add-user:hover{
  background-color: #7B1D4A;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

/* Main card */
.user-card {
    height: auto;
    border-radius: 5px;
    padding: 10px;
    background-color: #ffffff;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    margin-bottom: 10px !important;
}

/* Header */
.user-card-header {
    border-bottom: 2px solid #f2f2f2;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.user-card-header h1 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Form layout */
.user-form {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.user-row {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.user-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.user-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

.user-field input,
.user-field select {
    padding: 5px;
    font-size: 0.95rem;
    border-radius: 0;
    border: 1px solid #ccc;
    background-color: #fdfdfd;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.user-field input:focus,
.user-field select:focus {
    border-color: #7B1D4A;
    box-shadow: 0 0 6px rgba(123, 29, 74, 0.3);
    outline: none;
}

/* Input with button */
.user-input-btn {
    display: flex;
    align-items: center;
}

.user-input-btn input {
    flex: 1;
    border-radius: 8px 0 0 8px;
    border-right: none;
}

.user-btn {
    border: none;
    background-color: #620627;
    color: #ffffff;
    border: none;
    padding-inline: 20px;
    padding-block: 5px;
    font-size: 1rem;
    transition: all 0.5s ease;
}

.user-btn:hover{
  color: #ffffff !important;
  background-color: #7B1D4A;
  border: none !important;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}


/* Submit button */
.user-actions {
    display: flex;
    justify-content: flex-end;
}

.password-strength {
    height: 4px;
    background-color: #eee;
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.strength-meter {
    height: 100%;
    width: 0;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.error-message {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.success-message {
    color: #28a745;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.du-items-card .profile-control{
  border-radius: 0 !important;
}

.du-items-card .profile-btn{
  background-color: #620627;
  color: #ffffff;
  padding-inline: 10px;
  padding-block: 5px;
  border-radius: 5px;
  border: none;
}

.du-items-card .profile-btn:hover{
  background-color: #7B1D4A;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.di-emailer-container .emailer-card {
  flex: 0 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
              rgba(0, 0, 0, 0.3) 0px 7px 13px -3px,
              rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}

.di-emailer-container .emailer-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    font-size: 1.2rem;
    font-weight: bold;
    color: #800041;
}

.di-emailer-container .emailer-loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #800041;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.di-emailer-container .emailer-card:hover {
  transform: translateY(-2px);
  box-shadow: rgba(0, 0, 0, 0.06) 0px 3px 6px,
              rgba(0, 0, 0, 0.1) 0px 8px 12px -3px;
}

.di-emailer-container .emailer-header{
  display: flex;
  flex-direction: column;
}

.di-emailer-container .emailer-header input{
  width: 100%;
  font-size: 1rem;
  padding: 3px 5px;
  border-radius: 5px;
  margin-bottom: 5px;
}

.di-emailer-container .emailer-body{
  display: flex;
  flex-direction: column;
}

.di-emailer-container .emailer-body textarea{
  width: 100%;
  font-size: 1rem;
  padding: 3px 5px;
  border-radius: 5px;
  margin-bottom: 5px;
}

.di-emailer-container .emailer-footer{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.di-emailer-container .emailer-footer button{
  background-color: #620627;
  color: #ffffff;
  padding-inline: 10px;
  padding-block: 5px;
  border-radius: 5px;
  border: none;
}

.di-emailer-container .emailer-footer .emailer-action {
    display: flex;
    gap: 5px;
    align-items: center;
    position: relative;
}

.di-emailer-container .emailer-footer .emailer-action .emailer-sub-button {
    position: relative;
    background-color: rgba(128, 0, 65, 0.2);
    color: rgb(128, 0, 65);
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.di-emailer-container .emailer-footer .emailer-action .emailer-attachment-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: rgb(128, 0, 65);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 50%;
    display: none; /* Hidden if count is 0 */
}

.emailer-attachment-list {
    max-width: 200px; /* Limit width */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.85rem;
    color: #444;
}

.di-emailer-container .emailer-replying-card {
  flex: 0 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  margin-bottom: 12px;
  background-color: #ffeef4;
}

/* Header */
.di-emailer-container .emailer-replying-header {
  border-bottom: 2px solid #f2f2f2;
  margin-bottom: 15px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.di-emailer-container .emailer-replying-body{
  display: flex;
  flex-direction: column;
  color: #5a2e3c !important;
}

.di-emailer-container .emailer-replying-header h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #a33b5e;
  margin: 0;
}

/* Body */
.di-emailer-container .emailer-replying-body h4 {
  font-size: 1rem;
  color: #555;
  margin-bottom: 5px;
}

.di-emailer-container .emailer-replying-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}

.di-emailer-container .emailer-replying-body p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 3px;
}

.di-emailer-container .emailer-replying-body span {
  display: inline-block;
  font-size: 0.9rem;
  padding: 5px 10px;
  border-radius: 6px;
  background-color: #ffffff;
  color: #444;
  margin-bottom: 10px;
}

/* Project Thumbnail */
.di-emailer-container .emailer-replying-project-thumbnail {
  max-width: 550px;
  border-radius: 8px;
  margin: 10px 0;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px;
}

/* Project functions list */
.di-emailer-container .emailer-replying-body ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.di-emailer-container .emailer-replying-body ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 5px;
  box-shadow: rgba(0, 0, 0, 0.04) 0px 1px 2px;
}

.di-emailer-container .emailer-replying-body ul li p {
  font-weight: 500;
  color: #333;
  margin: 0;
}

.di-emailer-container .emailer-replying-body ul li span {
  background: none;
  color: #555;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.di-emailer-container .emailer-replying-body .sa-item{
  display: block;
  background-color: #FDF4F7;
  color: #620627;
  padding: 10px 15px;
  border-radius: 8px;
  margin-top: 10px;
  line-height: 1.5;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 1px 3px;
}


.di-emailer-container .emailer-replying-body .sa-title {
    font-size: 0.9rem;
    color: #a33b5e;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.di-emailer-container .emailer-replying-body .sa-plan {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.di-emailer-container .emailer-replying-body .sa-item p {
    font-size: 0.85rem;
    margin: 0;
    color: #5a2e3c;
}

.ds-card {
  flex: 0 0 auto;
  background: #fff;
  padding: 20px;
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 12px;
  position: relative;
}

.ds-card-list{
  position: relative;
  display: flex;
  justify-content: center;
  align-items:stretch;
  gap: 10px;
}

.ds-card-list .ds-card-list-item{
  border-radius: 10px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  width: 250px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  position: relative;
  padding-block: 20px;
  padding-inline: 10px;
  padding-top: 50px;
  background-color: #f9f9f9;
}

.ds-card-list .ds-card-list-item h1{
  color: #a33b5e;
  font-size: 1rem;
  align-self: center;
  margin-bottom: 20px;
}


.package-tabs{
  padding-inline: 15px;
  padding-top: 15px;
  background-color: #620627 !important;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.package-nav-item{
  position: relative;
}

.package-nav-item button {
  font-size: 0.8rem !important;
  text-decoration: none !important;
  color: #ffffff !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: none !important; /* optional: prevents background flickers */
  transition: none !important; /* prevents animated flickers */
}

.package-nav-item button svg{
  width: 15px !important;
  height: 15px !important;
}

.package-nav-item button.active {
  font-size: 0.8rem !important;
  text-decoration: none !important;
  color: #620627 !important;
  background-color: #ffffff !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.package-nav-item button.active::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -15px;
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%; /* Makes it a circle */
  box-shadow: 8px 8px 0 #ffffff;
  background-color: #620627;
}

.package-nav-item button.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -15px;
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  box-shadow: -8px 8px 0 #ffffff;
  background-color: #620627;
}

.package-nav-item button:hover,
.package-nav-item button:focus,
.package-nav-item button:active,
.package-nav-item button:focus-visible {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.package-tab-pane{
  padding: 20px;
  background-color: #ffffff !important;
  transition: none !important;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  height: auto;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  margin-bottom: 10px !important;
}

.package-and-plans-panel{
  display: flex !important;
}

.package-and-plans-tabs {
  padding-inline: 15px;
  padding-block: 15px;
  border-radius: 10px;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100%;
  background-color: #fff3f6 !important; /* Softer light background */
  border: 0 !important;
  gap: 5px;
}

.package-and-plans-nav-item {
  position: relative;
  width: 250px;
}

.package-and-plans-nav-item button {
  font-size: 0.8rem !important;
  text-decoration: none !important;
  background-color: #fce7ec !important; /* Tint of #d17d97 */
  color: #6a2c41 !important; /* Softer dark rose */
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  transition: background-color 0.3s ease;
  width: 100%;
  border-radius: 5px !important;
}

.package-and-plans-nav-item button:hover {
  background-color: #fbdde6 !important; /* Slightly darker hover */
  cursor: pointer;
}

.package-and-plans-nav-item button svg {
  width: 15px !important;
  height: 15px !important;
}

/* Active: deeper but soft rose */
.package-and-plans-nav-item button.active {
  font-size: 0.8rem !important;
  text-decoration: none !important;
  color: #ffffff !important;
  background-color: #e4a2b7 !important; /* Softer #d17d97 tone */
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.package-and-plans-nav-item button:focus,
.package-and-plans-nav-item button:active,
.package-and-plans-nav-item button:focus-visible {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.package-and-plans-content{
  width: 100%;
  position: relative;
}

.package-and-plans-tab-pane{
  padding-left: 20px;
  background-color: #ffffff !important;
  transition: none !important;
  height: auto;
  overflow: hidden;
  height: 100%;
  width: 100% !important;
}

.package-custom-service-panel{
  display: flex !important;
}

.package-custom-service-tabs {
  padding-inline: 15px;
  padding-block: 15px;
  border-radius: 10px;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100%;
  background-color: #fff3f6 !important; /* Softer light background */
  border: 0 !important;
  gap: 5px;
}

.package-custom-service-nav-item {
  position: relative;
  width: 250px;
}

.package-custom-service-nav-item button {
  font-size: 0.8rem !important;
  text-decoration: none !important;
  background-color: #fce7ec !important; /* Tint of #d17d97 */
  color: #6a2c41 !important; /* Softer dark rose */
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  transition: background-color 0.3s ease;
  width: 100%;
  border-radius: 5px !important;
}

.package-custom-service-nav-item button:hover {
  background-color: #fbdde6 !important; /* Slightly darker hover */
  cursor: pointer;
}

.package-custom-service-nav-item button svg {
  width: 15px !important;
  height: 15px !important;
}

/* Active: deeper but soft rose */
.package-custom-service-nav-item button.active {
  font-size: 0.8rem !important;
  text-decoration: none !important;
  color: #ffffff !important;
  background-color: #e4a2b7 !important; /* Softer #d17d97 tone */
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.package-custom-service-nav-item button:focus,
.package-custom-service-nav-item button:active,
.package-custom-service-nav-item button:focus-visible {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.package-custom-service-content{
  width: 100%;
  position: relative;
}

.package-custom-service-tab-pane{
  padding-left: 20px;
  background-color: #ffffff !important;
  transition: none !important;
  height: auto;
  overflow: hidden;
  height: 100%;
  width: 100% !important;
}

.ds-button{
  background-color: #620627;
  color: #ffffff;
  padding-inline: 10px;
  padding-block: 5px;
  border-radius: 5px;
  border: none;
}

.ds-button:hover{
  background-color: #7B1D4A;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.ds-list-item-btn{
  position: absolute;
  top: 10px;
  left: 10px;
  color: #620627;
  transition: all 0.3s ease;
}

.ds-list-item-btn:hover{
  color: #7B1D4A !important;
  transform: scale(1.1);
}

.ds-list-item-delete-btn{
  position: absolute;
  top: 10px;
  right: 10px;
  color: #620627;
  transition: all 0.3s ease;
}

.ds-list-item-delete-btn:hover{
  color: #7B1D4A !important;
  transform: scale(1.1);
}

.ds-custom-service-categ-list{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.ds-custom-service-categ-item{
  text-decoration: none;
  background-color: #ffeef4;
  color: #620627;
  width: 100%;
  text-align: start;
  padding-block: 10px;
  padding-inline: 25px;
  border-radius: 5px;
  border: 1px solid #d43d7493;
  transition: all 0.3s ease;
}

.ds-custom-service-categ-item.active{
  text-align: end;
  background-color: #620627;
  color: #ffeef4;
}

.ds-custom-service-categ-item:hover{
  transform: scale(1.01);
}

.ds-custom-service-card{
  background: linear-gradient(#d17d97 0%, #7B1D4A 100%);
  height: 150px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ds-custom-service-card .dcs-first-layer{
  height: 100%;
  padding: 25px;
  overflow: hidden;
  position: relative;
  transition: all 0.5s ease-in;
}

.ds-custom-service-card .dcs-first-layer h5{
  color: #ffffff;
  font-weight: 500;
  font-size: 1.5rem;
}

.ds-custom-service-card .dcs-first-layer a{
  text-decoration: none;
  color: #ffffff;
  position: absolute;
  bottom: 25px;
  left: 25px;
  transition: all 0.5s ease-in;
}

.ds-custom-service-card .dcs-first-layer.active{
  height: 60px;
}

.ds-custom-service-card .dcs-first-layer.active a{
  bottom: 200px;
}

.ds-custom-service-card .dcs-second-layer{
  opacity: 0;
  color: #ffffff;
  padding-inline: 25px;
  padding-top: 10px;
  padding-bottom: 55px;
  position: relative;
  transition: all 0.5s ease-in-out;
}

.ds-custom-service-card .dcs-first-layer.active ~ .dcs-second-layer {
  opacity: 1;
}

.ds-custom-service-card .dcs-second-layer .dcs-second-close{
  text-decoration: none;
  color: #ffffff;
  position: absolute;
  bottom: 25px;
  right: 25px;
}

.ds-custom-service-card .dcs-second-layer .dcs-second-edit{
  text-decoration: none;
  color: #ffffff;
  position: absolute;
  bottom: 25px;
  left: 25px;
}

.not-btn{
  background-color: white
  !important;
  border-style: none
  !important;
}

.mail-container{
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  gap: 5px;
  max-height: 85vh;
  overflow: hidden;
  overflow-y: auto;
  padding-inline: 5px;
  padding-block: 10px;
  padding-bottom: 15px;
  scrollbar-width: thin; /* Firefox */
}

.mail-container .mail-items{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  background: #fff;
  border-radius: 5px;
  padding: 20px;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
              rgba(0, 0, 0, 0.3) 0px 7px 13px -3px,
              rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
  transition: all 0.3s ease;
  position: relative;
}

.mail-mailed-item{
  display: flex;
  justify-content: center;
  align-items: center;
  padding-inline: 10px;
  padding-block: 5px;
  background-color: #0056b3;
  color: #ffffff;
  position: absolute;
  top: -27px;
  right: 160px;
  font-size: 12px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.mail-mailed-item svg {
  width: 13px;
  height: 13px;
  color: #ffffff;
}

.mail-container .mail-items:hover {
  border: 1px solid #d43d7493;
}

/* Not Readed */
.mail-container .mail-items.not-readed {
  background: rgba(0, 123, 255, 0.1); /* soft sky blue highlight */
  border-left: 4px solid #007bff;      /* primary blue border */
  font-weight: 600;
}

.mail-container .mail-items.not-readed:hover {
  border-left: 4px solid #0056b3;      /* darker blue accent */
}

/* Flagged */
.mail-container .mail-items.flagged {
  background: rgba(255, 193, 7, 0.15); /* yellowish highlight */
  border-left: 4px solid #ffc107;
  font-weight: 600;
}

.mail-container .mail-items.flagged:hover {
  border-left: 4px solid #b28704; /* darker yellow accent */
}

/* Marked */
.mail-container .mail-items.marked {
  background: rgba(40, 167, 69, 0.1); /* green highlight */
  border-left: 4px solid #28a745;
  font-weight: 600;
}

.mail-container .mail-items.marked:hover {
  border-left: 4px solid #1e7e34; /* darker green accent */
}

/* Combination: Flagged + Marked */
.mail-container .mail-items.flagged.marked {
  background: linear-gradient(90deg, rgba(255, 193, 7, 0.15) 0%, rgba(40, 167, 69, 0.1) 100%);
  border-left: 4px solid #ffc107;
  font-weight: 700;
}

.mail-container .mail-items h5,
.mail-container .mail-items p,
.mail-container .mail-items span {
  margin: 0;
}

/* Fix columns */
.mail-container .mail-items h5 {
  flex: 1;
  min-width: 300px; /* adjust as needed */
  font-size: 1rem;
}

.mail-container .mail-items p {
  flex: 2;
  min-width: 200px; /* adjust as needed */
  text-align: left;
}

.mail-container .mail-items span {
  flex: 1;
  text-align: right;
  color: #686868;
}