/*form {
  display: inline-block;
  /* Form outline */
  /*padding: 1em;
}*/

/* .navigation{
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.429);
    padding: 15px 30px;
    
    border-radius: 50px;
    transition: all 0.3s ease;
    animation: navigationBg 0.4s ease-in-out forwards;
    
}

@keyframes navigationBg {
    0% { transform: translateX(-250px); }
    100% { transform: translateX(0px); }
} */

/*logo class begins */
/* .logo{
    font-size: 24px;
    font-weight: bold;
    color: rgba(244, 82, 147, 0.568);
    text-decoration: none;
    transition: all 0.3s ease;
    animation: logoMovement 3s ease-in-out infinite alternate;
} */



.formContentItem {
    background: rgba(226, 64, 64, 0.532);
    backdrop-filter: blur(10px);
    padding: 20px;
    border: 1px solid #cccccc;
    border-radius: 1em;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out both, itemFloat 6s ease-in-out both;
    margin: 0 auto;
    width: 100%;
    text-align: justify;
    text-transform: lowercase;
}

.formContentItem li::first-letter{
    text-transform: uppercase;
}

.formContentItem p::first-letter{
    text-transform: uppercase;
}

/* .formContentItem h3{
    text-transform: capitalize;
    color: #484846a2;
    margin-bottom: 20px;
    text-align: center;
} */

.formContentItem h3{
  text-transform: capitalize;
  color: #484846a2;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
}

.formContentItem p{
    
    color: rgb(4, 2, 0);
    font-weight: 100;
    text-decoration: dotted;
    text-align: center;
}

@media (width <= 1090px) {
  .formContentItem:nth-child(2){
    display: none;
  }
}

.portfolio-item p::first-letter{
    text-transform: uppercase;
}

.formContentItem em{
     
    /*padding-bottom: 40px !important;*/
    /*background: #3956e5;*/
    margin-left: 3em;
    text-transform: capitalize;
    color: #189811;
}

form{
  border: none;
  border-radius: 0;
}

.btn { 
  background: linear-gradient(#49708f, #293f50); 
  border: 0; 
  color: #fff; 
  cursor: pointer; 
  font-weight: bold; 
  float: left; 
  padding: 8px 16px; 
}

.btn-default { 
  border: 0; 
  background: #3d553aa4; 
  padding: 11px 30px; 
  font-size: 14px;
  margin-left: 20px;
  margin-top: 15px;
} 
.btn-default:hover { 
  background: #bc8e3f; 
}


.radioSelection { 
 overflow:visible;
 background: none;
 border: none;
 padding: 0;
    font-weight: 500;
    border-radius:0;
    margin: 0;
}



.radioSelection label { 
  color: #ffffff; 
  display: block; 
  font-weight: bold;
  padding: 0;
  text-align: left;  
} 

.radioSelection input { 
  background: #fff; 
  border: solid 2px #981111c4; 
   box-shadow: 0 0 15px #d73131; 
  color: #636466; 
  padding: 1%; 
  margin: 6px 0; 
  width: 100%; 
}
.radioSelection input:focus{
  border: 2px solid;
  border-color: #2c6f0a76;
  outline: none;
}

.radioSelection textarea { 
  background: #fff; 
  border: solid 2px #981111c4; 
   box-shadow: 0 0 15px #d73131; 
  color: #636466; 
  padding: 6px; 
  margin: 6px 0 15px 0; ; 
  width: 100%; 
}
.radioSelection textarea:focus {
  border: 2px solid;
  border-color: #2c6f0a76;
  outline: none; 
} 

.slider-tags{
    display: inline;
    /*grid: auto auto / auto auto auto auto;*/
    /* grid-template-columns: 1fr 1fr 1fr;  Three equal columns */
    /*gap: 1rem;  /*Space between rows and columns */
}

.slider{
    background: rgba(226, 64, 64, 0.532);
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 15px;
    margin: 2% 1%;
    padding: 2% 0;
    border: 1px solid rgba(244, 82, 147, 0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: capitalize;
}

.slides-container {

    display:flex;
    flex-direction:row;
    /*grid: auto auto / auto auto auto auto;*/
    /* grid-template-columns: 1fr 1fr 1fr;  Three equal columns */
    /*gap: 1rem;  /*Space between rows and columns */
    padding: 0;
    animation: slide 12s infinite; /* 3 seconds per image */
  /*gap: 20px; /* Applies 20px of space between all images */
    justify-content:left; /* Centers the whole group */
}

@keyframes slide {
  0% { transform: translateX(0); }
  10% {transform: translateX(0);}       /* Pause on img 1 */
  24% { transform: translateX(-100%); }   /* Slide to img 2 */
  36%{ transform: translateX(-100%);}   /* Pause on img 2 */
  48% { transform: translateX(-200%); }  /* Pause on img 3 */
  60%{ transform: translateX(-200%);}
  72% { transform: translateX(-300%); }  /* Pause on img 3 */
  86%{ transform: translateX(-300%); }
  100%{ transform: translateX(0);}
  /*50% { transform: translateX(-200%); }  /* Slide to img 3 */
  /*70% { transform: translateX(-200%); }  /* Pause on img 3 */
  /*75% { transform: translateX(-300%); }  /* Slide to duplicate img 1 */
  /*100% { transform: translateX(-300%); } /* End at duplicate */
}

.slides-container img{
  max-width: 100%;
  object-fit: contain;
  padding: 0 0.8em;
  
  

  
}

@keyframes tagMovement {
    from{ transform: translateY(0px);
            
    }
    to { transform: translateY(-5px); }
}


.tech-tag {
    background: rgba(226, 64, 64, 0.532);
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 15px;
    margin: 2% 1%;
    padding: 2%;
    border: 1px solid rgba(244, 82, 147, 0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: fit-content;
    height: 100%;
    z-index: 1;
    text-transform: capitalize;
}

@keyframes tagMovement {
    from{ transform: translateY(0px);
            
    }
    to { transform: translateY(-5px); }
}

.tech-tag::before{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(45, 199, 61, 0.249));
    transition: left 0.5s ease;
}

.tech-tag:hover::before{
    left: 100%;
}

.tech-tag:hover{
    background: rgba(248, 184, 58, 0.249);
    transform: scale(1.1) translateY(-10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: black;
    background-image: url('images/coarsepaint.png');
    background-origin: border-box;
    background-clip: border-area;
}

/* check box descripton on click*/

/* .radioSelection {
    overflow:visible;
} */

.radioSelectionCheckbox{
  overflow: visible;

}


/* Initially hide the div */
.checkBoxInputText {
  display: none; /* Hide by default */
  position:relative;
  bottom: -105%; /* Positions the top edge of child at bottom edge of parent */
  right: -1.2em;
  width:100%; /* Optional: matches parent width */
  padding: 0.8em;
  height: fit-content;
  background-color: lightcoral;
  /*: rgba(248, 184, 58, 0.249);*/
  /*transform: scale(1.1) translateY(-10px);*/
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: black;
  align-items: center;
  /* left: -50%; */
  animation: contactAdress 400ms ease-out both; 
  /*width: calc(100% + 100px);*/
  border-radius: 20px;
  border: #ffffff 1px solid;
  /*overflow: hidden;*/
  /*overflow: auto;*/
  z-index: 30;
  
}

/* Show the div if a parent container contains a checked checkbox */
.radioSelectionCheckbox:has(input[type="checkbox"]:checked) .checkBoxInputText {
  display: block;
}


/* 1. Hide the description by default */
.description {
  display: none;
  margin-top: 10px;
  padding: 10px;
  background-color: #f0f4f8;
  border-left: 4px solid #007bff;
  font-size: 14px;
  z-index: 100;
}

label:has(input:checked) .description { display: block; }

/* 2. Show description when checkbox is checked */
/* Using '~' to find the sibling .description after the checked input */
#toggle-desc:checked~.description {
  display: block;
}
/*ends*/

/* nultiple select dropdown */
.multi-select-container {
  position: relative;
  width: 100%;
  max-width: 320px; /* Adjust for desktop */
}

.select-box {
  display: flex;
  height: 50px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-radius: 8px;
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #ccc;
}

.list-items {
  position: absolute;
  width: 100%;
  background-color: #fff;
  border-radius: 8px;
  padding: 10px;
  margin-top: 5px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  display: none; /* Toggle with JS */
  z-index: 10;
}
