/* Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Skill Section */


.skill {  
  width: 120px;
  height: 120px;
  background-color: #ffdb67;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2); /* initial shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* smooth transition */
  cursor: pointer;
}

.skill:hover {
  background-color: #ffd24d;
  transform: translateY(-10px) scale(1.05); /* moves up and slightly bigger */
  box-shadow: 0 12px 20px rgba(0,0,0,0.3); /* bigger shadow for “pop” effect */
}

.skill p {
  text-align: center;
  margin-top: 5px;
}

.skill img {
  width: 70px;
  height: auto;
  border-radius: 8px;
}


/* Contact Section */

form input, form select, form textarea{
  height: 40px;
  background-color: #2c2f36;
  border: none;
  border-radius: 10px;
  width: 100%;
  max-width: 600px;
  color: white;
  outline: none;
  transition: 0.2s ;
  padding-left: 8px;
}

form input:focus,
form select:focus,
form textarea:focus {
  border: 1px solid #00bcd4; /* or your theme color */
  background-color: #24272d;
}

form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.contact-wid {
    width: 100%;
    width: 600px; /* or whatever width you want for large screens */
    margin: 0 auto; /* center it */
    padding: 0 15px; /* optional padding */
}

form textarea { 
  height: auto; 
  padding: 8px;
}


@media (max-width:767px){
.contact-wid{
  width: 100%;
   max-width: 600px;
  padding: 10px ;
}

form input, form select, form textarea{
   width: 350px;

}
.port-card{
  width: 9.4rem !important;
}
}
/* very small mobile */
@media (max-width:360px){
/* .wid{
  min-width: 200px;
  padding: 10px ;
} */

form input, form select, form textarea{
   width: 280px;
}
.port-card{
  width: 7rem !important;
  height: 12rem !important;
}

 .hide-on-mobile {
        display: none;
    }
}

/* Portfolio section */
.port-card{
  height: 16rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2); /* initial shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* smooth transition */
  cursor: pointer;
}

.port-card:hover {
  background-color: #ffd24d;
  transform: translateY(-10px) scale(1.05); /* moves up and slightly bigger */
  box-shadow: 0 12px 20px rgba(0,0,0,0.3); /* bigger shadow for “pop” effect */
}