/**
Theme Name: Imgify
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: imgify
Template: astra
*/
/* --- CSS Scoped for Content Area --- */

/* --- CSS Scoped for Content Area --- */

.imgify-wrapper {
	background: linear-gradient(135deg, #8A2BE2 0%, #2563EB 100%)
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 20px;
}

.imgify-wrapper * {
    box-sizing: border-box;
}

/* Hero Section */
.imgify-hero {
    text-align: center;
    padding-bottom: 50px;
}

.imgify-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #111827;
    line-height: 1.2;
}

.imgify-hero p {
    font-size: 1.2rem;
    color: #6B7280;
    max-width: 700px;
    margin: 0 auto 30px;
}

.imgify-btn-hero {
    background: linear-gradient(135deg, #8A2BE2 0%, #7c22ce 100%); /* Purple Gradient */
    color: white !important;
    padding: 16px 40px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 25px -5px rgba(138, 43, 226, 0.4);
    transition: transform 0.2s;
}

.imgify-btn-hero:hover {
    transform: translateY(-2px);
}

/* Filter Pills */
.imgify-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.imgify-pill {
    background: #F3F4F6;
    color: #4B5563;
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.imgify-pill.active, .imgify-pill:hover {
    background: #8A2BE2;
    color: white;
}

/* Premium Card Grid */
.imgify-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

/* Card Style */
.imgify-card {
    background: #FFFFFF;
    border: 1px solid #8C8484B8;
    border-radius: 15px;
    padding: 25px;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.imgify-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #221F1F;
}

/* Icon Container */
.imgify-icon {
    background: #F3E8FF;
    color: #8A2BE2;
    min-width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imgify-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

.imgify-content {
    flex: 1;
}

.imgify-card h3 {
    margin: 0 0 6px 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.imgify-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #6B7280;
    line-height: 1.5;
}

/* Why Section */
.imgify-features {
    border-top: 1px solid #8C8484B8;
    padding-top: 60px;
    text-align: center;
}

.imgify-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item h4 {
    margin: 15px 0 5px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
}

.feature-item p {
    color: #6B7280;
    font-size: 0.9rem;
    margin: 0;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .imgify-hero h1 { font-size: 2rem; }
    .imgify-card { flex-direction: column; text-align: left; }
    .imgify-icon { margin-bottom: 10px; }
    .imgify-filters { overflow-x: auto; justify-content: flex-start; padding-bottom: 10px; white-space: nowrap; }
}

:root {
  --primary-gradient: linear-gradient(135deg, #FF512F 0%, #DD2476 100%);
  --bg-color: #f0f2f5;
  --card-bg: #ffffff;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --border-radius: 20px;
  --shadow-soft: 0 20px 40px rgba(0,0,0,0.08);
}

.premium-converter {
  background: var(--card-bg);
  width: 100%;
  max-width: 800px;
  padding: 60px 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 auto; /* Centering */
}

/* Decorative Background Circle */
.premium-converter::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(221, 36, 118, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.premium-converter h1 {
  color: var(--text-dark);
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

p.subtitle {
  color: var(--text-light);
  font-size: 18px;
  margin-bottom: 40px;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

/* Drop Zone */
.drop-zone {
  border: 2px dashed #e0e0e0;
  border-radius: 16px;
  padding: 50px 20px;
  background: #fafafa;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.drop-zone:hover {
  background: #fff0f0;
  border-color: #ffcccc;
  transform: scale(1.01);
}

/* Button */
.hero-btn {
  background: var(--primary-gradient);
  color: white;
  padding: 18px 45px;
  font-size: 20px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(221, 36, 118, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(221, 36, 118, 0.4);
}

/* Cloud Icons */
.cloud-actions {
  display: inline-flex;
  gap: 10px;
  margin-left: 15px;
  vertical-align: middle;
}

.cloud-btn {
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid #eee;
}

.divider-text {
  margin-top: 20px;
  color: #999;
  font-size: 14px;
  display: block;
}

/* Results */
#resultContainer {
  display: none;
  margin-top: 40px;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.preview-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  display: inline-block;
  border: 1px solid #eee;
}

.preview-img {
  max-height: 250px;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.download-btn {
  background: #10B981;
  color: white;
  bottom: 15px;	
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transition: 0.3s;
}

.download-btn:hover {
  background: #059669;
  box-shadow: 0 6px 15px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

#reset-button {
    padding-top: 15px;
    padding-right: 30px;
    padding-bottom: 15px;
    padding-left: 30px;
    background-color: #f0f0f0; 
    color: #333333;          
    border: 1px solid #cccccc;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#reset-button:hover {
    background-color: #C6D9C6;
    border-color: #bbbbbb;
}

@media screen and (max-width: 768px) {
    #reset-button {
        margin-top: 15px;
        padding-top: 15px;
        padding-right: 30px;
        padding-bottom: 15px;
        padding-left: 30px;
            }

/* Loader */
.loader {
  display: none;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #DD2476;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Mobile */
@media (max-width: 768px) {
   .premium-converter {
    padding: 60px 20px 60px;
    margin-top: 20px;
	}
  .premium-converter h1 { font-size: 26px; }
  .hero-btn { width: 100%; justify-content: center; padding: 15px; }
  .cloud-actions { display: none; }
}