

.navspacing {
  margin-left: 75px;
  margin-right: 75px;
}

@media (max-width: 768px) {
  .navspacing {
    margin-left: 0;
    margin-right: 0;
  }
}

.rightside{
    right: 0;
}

@media (max-width: 991.98px) {
  .navbar-toggler {
    display: block !important;
  }
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  width: 1.5em;
  height: 1.5em;
}


.infocards{
    height:auto;
    padding-top: 20px;
    text-align: center;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    box-shadow: 0 0 10px 10px  black;
}

.email-text {
  text-transform: none;
}

.hire-form {
  position: relative;
  width: 500px;
  height: auto;
  padding: 20px;
  box-shadow: 0 0 10px rgb(252, 252, 252);
  border-radius: 10px;
}

.centering{
  display: flex;
  justify-content: center;
}

.blur-overlay {
    filter: blur(4px);
    pointer-events: none; 
    opacity: 0.6;
}

.blurred-content {
    position: relative;
}

.form-overlay-container {
  position: relative; 
}


.overlay-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem 2rem;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  z-index: 10;
  pointer-events: auto; 
}

.disabled-form {
    pointer-events: none; 
    user-select: none;
    opacity: 0.5;
}

.InfoForm{
  margin:100px;
  width: 80%;
  height:auto;
  padding-bottom: 20px;
}

.InfoFormTop{
  width: 100%;
  height:auto;
  background-color: rgb(71, 92, 85);
  padding: 10px;
}

.InfoFormMid{
  padding:20px;
}

.InfoFormBottom{
  width:100%;

  display: flex; justify-content: center; align-items: center;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.message-text {
  position: fixed !important;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  padding: 10px 20px;
  width: auto;
  max-width: 600px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

  margin: 0 !important;

  opacity: 1;
  transition: opacity 0.4s ease-out;
}

.center-wrapper {
  position: fixed;          
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 400px;  
  width: 90vw;       
}


@media (max-width: 768px) {
  .center-wrapper {
    position: relative;  
    top: auto;
    left: auto;
    transform: none;
    margin: 80px auto 0 auto;  
    width: 90vw;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .center-wrapper2 {
    position: relative;  
    top: auto;
    left: auto;
    transform: none;
    margin: 80px auto 0 auto;  
    width: 90vw;
    max-width: 400px;
  }
}

.FormBox{
  width:auto;
  height:auto;
  padding: 20px;
  border-radius: 10px;

}

.center-table{
  text-align: center;
}


.Theading{
   box-shadow: inset 0 0 10px #000000;
   border: solid black 2px;
}

.TBody{
 border-left: solid black 2px;
 border-right: solid black 2px;
 border-bottom: solid black 2px;

}

.Twhole{

  box-shadow: 0 0 10px black;

}

/* table colours */

.Tcreated{
  background-color: aliceblue;
}

.Tcontacted{
  background-color: rgb(180, 250, 226);
}

.Tinprogress{
  background-color: rgb(91, 255, 255);
}

.Twaiting{
  background-color: rgb(255, 255, 79);
}

.Tdeploying{
  background-color: rgb(80, 253, 187);
}

.Tcompleted{
  background-color: rgb(47, 255, 110);;
}

.Tcancelled{
  background-color: rgb(255, 121, 121);
}



/* animations  */

.sentence {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }

    .rotating-word {
  display: inline-block;
  position: relative;
  overflow: hidden;

  vertical-align: baseline; 
  line-height: inherit;     
  transform: translateY(7px); 

  width: 10ch;


}

.rotating-word span {
  vertical-align: middle; 
  display: inline-block;
  position: relative;
  width: 100%;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.rotating-word2 {
      width: max-content;
  display: inline-block;
  position: relative;
  overflow: hidden;

  vertical-align: baseline; 
  line-height: inherit;     
  transform: translateY(7px); 

  width: 13ch;



}

.rotating-word2 span {
  vertical-align: middle; 
  display: inline-block;
  position: relative;
  width: 100%;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

    @keyframes slideDown {
      0% {
        transform: translateY(-100%);
        opacity: 0;
      }
      100% {
        transform: translateY(0%);
        opacity: 1;
      }
    }



.SelectorBox{
  position: absolute;
  top: 68%; 
  right: 20%; 
  width: 500px;
  height:500px;
  z-index: 10;
  background-color: blue;
}

/* cards */

.card {
  position: relative;
  width: 300px;
  height: 200px;

  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 20px;
}

.card-title,
.card-description,
.card-image {
  position: absolute;
  width: 100%;
  left: 0;
  text-align: center;
  transition: all 0.5s ease;
}

/* Title: center initially */
.card-title {
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  opacity: 1;
  z-index: 2;
}

/* Description: hidden initially */
.card-description {
  top: 60%;
  opacity: 0;
  font-size: 1em;
  z-index: 1;
}

@media (max-width: 768px) {
  .card-title {
    font-size: 1em;
  }

  .card-description {
    font-size: 0.8em;
  }
}


/* On hover */
.card:hover .card-title {
  top: 20%;
  opacity: 0;
}

.card:hover .card-description {
  top: 25%;
  opacity: 1;
  z-index: 2;
}


.card-layout{
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* detail box */

.DetailBox{
  width: auto;
  height:auto;
  padding: 20px;
  border: black 1px solid;
  box-shadow: 0 0 10px  black;
}

.DetailRow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem; /* 16px gap that scales nicely */
  justify-content: center;
}

.DetailPoint{
  box-shadow: 0 0 10px rgb(0, 0, 0);
  padding: 10px;
  border-radius: 15px;
}

.DetailPointTitle{
  font-size: 100%;
}

.DetailTitle{
  text-align: center;
}

.DetailButtonBox{
  display: flex;
  justify-content: center;
}

/* built in form helptexts */

#id_password1_helptext{
  color: red;
}


/* footer */

.footerbox{
  width: 100%;
  height:11vh;
  display: flex;
  background-color: black;
  padding-top : 20px;
  padding : 20px;
}

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

.footer-right{
  width: 40%;
  height: 100%;
  display: flex;
  align-items: center; 
}

.footertext{
  color: white;
}

.footerlink{
  color: white;
}

/* body stuff */

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-wrapper {
  flex: 1; 
}

/* curtain */

#curtain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 9999;
}

/* Both panels */
.curtain-panel {
  flex: 1;
  background: #222; /* Or whatever color you want */
  transition: transform 1s ease, opacity 1s ease; /* Animate both */
}

/* Start fully opaque */
.curtain-panel.left,
.curtain-panel.right {
  transform: translateX(0);
  opacity: 1;
}

/* When curtain is opened: slide + fade */
#curtain.open .left {
  transform: translateX(-100%);
  opacity: 0.2;
}
#curtain.open .right {
  transform: translateX(100%);
  opacity: 0.2;
}

.img-full {
  width: 100%;       
  height: auto;      
  display: block;    
  margin-top: 10px;  
  border-radius: 8px; 
  object-fit: cover; 
}

.separator{
  display: flex;
}

.btn-close{
  background-color: white;
}
