/*
Theme Name: Portfolio
Author: Abu Bakr
Description: Convert HTML to WordPress theme.
Version: 1.0
*/
a{
	color:rgb(58, 187, 187);
}
.avatar-box img{
        border-radius: 20px;
    }
.social-list-mob{
    display: none !important;
}

.white-anchor a{
    color: #fff;
    text-decoration: underline;
    margin-left: 5px;
}
.white-anchor{
    display: flex;

}
.pagination {
    text-align: center;
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.pagination a {
    padding: 10px 15px;
    border: 1px solid #2b292b;
    margin: 0 5px;
    color: #ffffff;
    text-decoration: none;
}

.pagination a:hover {
    background-color: #212022;
    color: #ffdb70;
}

.pagination .current {
    padding: 10px 15px;
    border: 1px solid #2b292c;
    background-color: #2b292c;
    color: #ffdb70;
    margin: 0 5px;
    box-shadow: -4px 8px 24px rgb(0 0 0 / 0%);
}
.single-post article{
    display: block;
    color: #fff;
}
.single-page-section,.index-section{
	color:#d1d1d1;
}
.normal-list{
	padding-left:40px;
}
.normal-list li{
	list-style: disc;
}
.list-style-none{
	padding-left:20px;
}
.single-post .single-page-section li {
    list-style: disc;
    margin-left: 25px;
}
.single-post .entry-header{
    margin-top: 57px;
}
.open-modal-btn{
    color: #fff;
    font-size: 15px;
}
.btn-wrapper{
    position: relative;
    display: flex;
    justify-content: flex-end;
}
.btn-wrapper .wpcf7-submit{
    opacity: 0.7;
    border: none;
    padding: 15px 20px 15px 40px;
    display: block;
    margin: 0;
}
.btn-wrapper .hydrated{
    position: absolute;
    top: 20px;
    padding-left: 15px;
    color: hsl(180, 53%, 48%);
}
/*-------skill-----------*/
.skills-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6 images per row */
  gap: 20px; /* space between images */
  list-style-type: none; /* remove bullet points */
  padding: 0;
}

.skills-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.skill-image {
  max-width: 100px; /* adjust size as needed */
  height: auto;
  display: block;
}


/*-------/skill-----------*/


.post-content-wrapper {
    display: grid;
    grid-template-rows: auto auto;
    gap: 1em;
}

.post-thumbnail img {
    width: 100%; /* Ensure the image scales to the grid */
    height: auto; /* Keep aspect ratio */
    object-fit: cover; /* Cover the area if necessary */
    overflow: hidden; /* Prevent overflow */
    max-width: 600px;
    border-radius: 20px;
    margin-top: 15px;
}




/* Hide quote form by default */
.freeQuote {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    margin-top: 30px;
    padding: 30px;
    /*background: #f8f9fa;*/
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Show state */
.freeQuote.show {
    display: block;
    opacity: 1;
    animation: slideDown 0.5s ease-out;
}

/* Smooth slide down animation */
@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Optional: Style the quote form */
.freeQuote h2 {
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: rgb(255 255 255 / 61%);
}

.form-input, .form-textarea {
    width: 100%;
    padding: 10px;
    
    border-radius: 5px;
    font-size: 14px;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
	color:#fff;
}
.form-input:focus,.form-input:focus:invalid,.form-textarea:focus {
    border-color: hsl(180, 53%, 48%) !important;
}

/*-------media query-----------*/
@media(max-width:1249px){
    .social-wrapper{
        margin-top: 15px;
        display: flex;
        gap: 15px;
    }
    .hr-space{
        width: 120px;
    }
    /*.social-wrapper .social-list{
        justify-content: center;
    }*/
    .social-list-mob{
        display: flex !important;
    }
    .social-list-desk{
        display: none !important;
    }
}





@media(max-width:1023px){
.single-post .entry-header {
    margin-top: 0px;
}
}
@media(max-width: 980px){
    .skills-list {
  grid-template-columns: repeat(4, 1fr); /* 6 images per row */
}
}
@media(max-width: 767px){
    .skills-list {
  grid-template-columns: repeat(3, 1fr); /* 6 images per row */
}
}
@media (min-width: 580px) {
    .avatar-box img{
        border-radius: 30px;
    }
}
@media(max-width: 579px){
    .hr-space{
        width: 80px;
    }
}