.why-resize{
    background-color: rgba(239, 239, 239, 1);
}

.reasons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    justify-content: center;
    align-items: flex-start;
    grid-auto-columns: revert;
}
.reason {
    display: flex;
    align-items: flex-start;
    padding: 20px 10px;
    border-radius: 12px;
    background: #fff;
    gap: 10px;
}
.reason-icon {
    width: 70px;
    height: 100%;
    display: flex;
    justify-content: center;
}
.reason-text{
    text-align: left;
}
.reason-text h4 {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: rgba(36, 36, 36, 1);
}
.reason-text p{
    font-size: 16px;
    color: rgba(36, 36, 36, 1);
}

.try-resize{
    background-color: rgba(0, 132, 255, 1);
}
.resize-faq h2{
    color:rgba(36, 36, 36, 1);
    font-size: 45px;
    font-weight: bold;
}

.resize-faq .question{
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 21.375px;
    line-height: 36px;
    display: flex;
    align-items: center;
    color: #242424;
}
.faqs {
    max-width: 1100px;
    margin: auto;
    width: 90%;
}
.faq {
    background: rgba(239, 239, 239, 1);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 8px;
}



.features h2 {
    font-size: 50px;
    margin-bottom: 1rem;
    line-height: 1;
    color: rgba(36, 36, 36, 1);
}
.features ul {
  padding-left: 1.2rem;
  list-style: none;
}

.features ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  color: #343F3F;
}

.features ul li strong::before {
    content: "•";
    position: absolute;
    left: 0;
    color: rgba(0, 132, 255, 1);
    font-weight: bold;
    font-size: 1.5rem;
}
.features ul li strong{
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

.right, .left {
    max-width: 600px;
}
.resize-feature {
    position: absolute;
    top: 40%;
    right: 0;
}
.resize-better-img-wrapper .resize-feature {
    right: 17%;
    top: 55%;
}

.upload-card {
    border-radius: 1rem;
    border: 1px solid #eee;
    width: 100%;
    max-width: 650px;
    background: #fff;
    transition: 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.upload-area {
  border-radius: 1rem;
  padding: 60px 20px;
  cursor: pointer;
  transition: border-color 0.3s;
}

.upload-area:hover {
  border-color: #007bff;
  background-color: #f9f9f9;
}
.upload-section .btn-blue {
    width: 180px;
    height: 55px;
    font-size: 14px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.upload-section .small{
    font-size: 10px;
}

.upload-area.drag-over {
  border: 1px dashed #007bff;
  background-color: #f0f8ff;
  border-radius: 12px;
  transition: 0.3s;
}




/* resize css from AdGPT app starts */
#sizes-container {
    height: auto !important;
    overflow: visible !important;
}
.platform-title {
    color: #000;
    font-weight: 600;
}
.resize-title {
    font-weight: 700;
    font-family: 'Inter', Helvetica, sans-serif;
}

.platform-card {
    padding: 20px 10px;
    border: 1px solid #D9DDE2;
    border-radius: 15px;
    height: auto !important;
    max-width: 1200px;
    margin: 20px auto;
}
.social-icon {
    margin-bottom: 12px;
    margin-top: 15px;
}
.resize-modal .social-icon {
    width: 40px;
}
.btn-select-all {
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.preset-grid {
    column-count: 3;
    gap: 1rem;
    padding-left: 20px;
    padding-right: 20px;
    height: auto !important;
    overflow: visible !important;
}
.preset-grid>div {
    max-width: 350px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 50px;
}
.size-desc {
    font-size: 12.8px;
    color: black;
    font-family: 'Inter';
    font-weight: 500;
}
.preset-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: none;
    padding: 0;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 6px rgba(0,0,0,0.1);
    padding-top: 5px;
}
.size-wrapper {
    width: 90%;
    margin: auto;
}
.preset-item .image-wrapper {
    position: relative;
    padding: 0 10px 10px 10px;
}
.preset-item img {
    width: 100%;
    display: block;
    border-radius: 10px;
}
.resize-modal .dots {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 5px;
    border-radius: 13px;
    max-width: fit-content;
    max-height: fit-content;
}
.preset-item input[type="checkbox"] {
    transform: scale(1.2);
}
.dots input[type="radio"], .dots input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid transparent;
    border-radius: 50%;
    background: linear-gradient(white, white) padding-box, /* Inner circle */
  linear-gradient(270deg, rgba(0, 132, 255, 1)  2.81%, rgba(0, 132, 255, 1) 32.38%, rgba(0, 132, 255, 1) 57.71%, rgba(0, 132, 255, 1) 88.17%, rgba(0, 132, 255, 1) 98.28%) border-box;
    cursor: pointer;
    position: relative;
    display: inline-block;
    outline: none;
    transition: all 0.3s ease;
    animation-duration: 2s;
    animation-name: blink-shadow;
    animation-timing-function: ease-in;
}

.dots input[type="radio"]:checked::before, .dots input[type="checkbox"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
}
.dots input[type="radio"]:checked, .dots input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #5b5bf2, #42a5f5);
}
.resize-modal .dots input[type="radio"]:checked::before, .resize-modal .dots input[type="checkbox"]:checked::before {
    width: 10px;
    height: 10px;
}
.static-blue-btn {
    background-color: rgba(217, 240, 255, 1)!important;
    color: rgba(0, 132, 255, 1)!important;
    border: 1px solid rgba(0, 0, 0, 0.1)!important;
}
.static-blue-btn:hover {
    background-color: #e5e5e5!important;
    color: rgba(0, 132, 255, 1)!important;
}

.masonry-grid {
    column-count: 3;
    gap: 1rem;
    padding-left: 20px;
    padding-right: 20px;
    height: auto !important;
    overflow: visible !important;
    max-width: 1200px;
}
.resized-main-wrapper {
    height: auto;
    max-width: 350px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
    border-radius: 30px;
    padding: 10px;
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
    overflow: hidden;
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 50px;
}
.resized-image-wrapper {
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.resized-image-wrapper img {
    height: 100%;
    max-width: 100%;
    max-height: 450px;

    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 8px;

}



.resize-download-icon i.fas.fa-download {
    background-image: url('/assets/img/resize/fa-Download.svg');
    width: 22px;
    height: 23px;
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}


.resize-download-icon {
    background: #0E1114A6;
    width: 25px;
    height: 25px;
    display: block;
    padding: 5px;
    display: flex;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    animation: growShrink 1.5s infinite ease-in-out;
    transition: transform 0.3s ease-in-out;
}
.processing-images {
    font-size: 25px;
    text-align: center;
    width: 1200px;
    display: flex;
    justify-content: center;
    font-weight: 700;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.animated-text span {
  display: inline-block;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
 0%, 100% { color: inherit; transform: scale(1); }
  50% { color: rgba(0, 132, 255, 1); transform: scale(1.2); }
}




@keyframes growShrink {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@media screen and (max-width: 1650px) {
    
    .reason-text p {
        font-size: 12px;
    }
    .reason-text h4 {
        font-size: 16px;
    }
}

@media screen and (max-width: 1400px) {
    
    .reason-text p {
        font-size: 11px;
    }
    .reason-text h4 {
        font-size: 15px;
    }
    .resize-feature, .resize-better-img-wrapper .resize-feature {
        top: 35%;
    }

}
@media screen and (max-width: 1200px) {
    
    .reasons {
        grid-template-columns: repeat(2, 1fr);
    }
    .reason-text p {
        font-size: 14px;  
    }
    .reason-text h4 {
        font-size: 18px;  
    }
    .masonry-grid {
        column-count: 2;
        max-width: 800px;  
    }
}
@media screen and (max-width: 768px) {
    
    .reasons {
        grid-template-columns: repeat(1, 1fr);
    }
    .resize-faq h2, .features h2 {
        font-size: 28px;
    }

    .preset-grid {
        column-count: 2;
    }

}

@media screen and (max-width:556px) {
    .masonry-grid {
        column-count: 1;
        max-width: 400px;
    }
    .resize-title {
        font-size: 15px;
    }
}
