/* =====================================================
   PhotoReduce Premium UI
   Part C.1
   Reset + Variables + Navbar + Hero
=====================================================*/

/* ---------- RESET ---------- */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f5f7fb;
    color:#1e293b;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{
    max-width:1250px;
}

/* ---------- COLORS ---------- */

:root{

    --primary:#2563eb;
    --primary-dark:#1d4ed8;

    --secondary:#0f172a;

    --success:#22c55e;

    --danger:#ef4444;

    --warning:#f59e0b;

    --light:#ffffff;

    --bg:#f5f7fb;

    --text:#334155;

    --border:#e2e8f0;

    --radius:18px;

    --shadow:0 15px 40px rgba(15,23,42,.08);

    --transition:.30s;

}

/* ---------- COMMON ---------- */

section{

    padding:90px 0;

}

.section-title{

    font-size:42px;

    font-weight:700;

    color:var(--secondary);

    margin-bottom:15px;

}

.section-subtitle{

    color:#64748b;

    font-size:17px;

    margin-bottom:45px;

}

/* ---------- BUTTON ---------- */

.btn{

    border-radius:14px;

    padding:13px 28px;

    font-weight:600;

    transition:var(--transition);

}

.btn-primary{

    background:var(--primary);

    border:none;

}

.btn-primary:hover{

    background:var(--primary-dark);

    transform:translateY(-2px);

}

.btn-light{

    background:#fff;

    color:#111827;

    border:1px solid var(--border);

}

.btn-light:hover{

    background:#f8fafc;

}

/* ---------- HEADER ---------- */

.header{

    position:sticky;

    top:0;

    z-index:9999;

    background:rgba(255,255,255,.92);

    backdrop-filter:blur(18px);

    box-shadow:0 2px 20px rgba(0,0,0,.05);

}

/* ---------- NAVBAR ---------- */

.navbar{

    padding:18px 0;

}

.logo{

    display:flex;

    align-items:center;

}

.logo-icon{

    width:52px;

    height:52px;

    border-radius:16px;

    background:linear-gradient(135deg,#2563eb,#4f46e5);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:700;

    margin-right:12px;

    font-size:20px;

}

.logo h4{

    margin:0;

    color:#0f172a;

    font-size:24px;

    font-weight:700;

}

.logo span{

    color:#64748b;

    font-size:13px;

}

.nav-link{

    color:#334155;

    font-weight:500;

    margin-left:18px;

    transition:.3s;

}

.nav-link:hover{

    color:var(--primary);

}

.nav-btn{

    margin-left:25px;

}

/* ---------- HERO ---------- */

.hero{

    position:relative;

    overflow:hidden;

    background:linear-gradient(135deg,#2563eb,#4f46e5);

    color:#fff;

}

.hero::before{

    content:"";

    position:absolute;

    width:450px;

    height:450px;

    background:rgba(255,255,255,.08);

    border-radius:50%;

    top:-150px;

    right:-120px;

}

.hero::after{

    content:"";

    position:absolute;

    width:280px;

    height:280px;

    background:rgba(255,255,255,.05);

    border-radius:50%;

    left:-100px;

    bottom:-80px;

}

.hero-content{

    position:relative;

    z-index:2;

}

.hero-badge{

    display:inline-block;

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(8px);

    padding:10px 18px;

    border-radius:50px;

    font-size:14px;

    margin-bottom:22px;

}

.hero h1{

    font-size:62px;

    font-weight:800;

    line-height:1.15;

    margin-bottom:22px;

}

.hero h1 span{

    color:#fde047;

}

.hero p{

    font-size:19px;

    opacity:.95;

    line-height:1.8;

    max-width:560px;

    margin-bottom:35px;

}

/* ---------- SEARCH ---------- */

.search-box{

    background:#fff;

    border-radius:60px;

    display:flex;

    padding:8px;

    box-shadow:var(--shadow);

    margin-bottom:35px;

}

.search-box input{

    flex:1;

    border:none;

    outline:none;

    padding:15px 22px;

    font-size:16px;

    border-radius:60px;

}

.search-box button{

    border:none;

    background:var(--primary);

    color:#fff;

    padding:0 34px;

    border-radius:50px;

    font-weight:600;

    transition:.3s;

}

.search-box button:hover{

    background:var(--primary-dark);

}

/* ---------- QUICK TOOLS ---------- */

.quick-tools{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

}

.quick-tools a{

    padding:10px 18px;

    border-radius:50px;

    background:rgba(255,255,255,.14);

    color:#fff;

    transition:.3s;

    font-size:15px;

}

.quick-tools a:hover{

    background:#fff;

    color:#2563eb;

}

/* ---------- HERO RIGHT ---------- */

.hero-image{

    position:relative;

    min-height:520px;

}

.main-circle{

    width:340px;

    height:340px;

    margin:80px auto;

    border-radius:50%;

    background:rgba(255,255,255,.12);

    display:flex;

    align-items:center;

    justify-content:center;

    backdrop-filter:blur(15px);

}

.circle{

    width:190px;

    height:190px;

    border-radius:50%;

    background:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#2563eb;

    font-size:80px;

    box-shadow:var(--shadow);

}

.floating-card{

    position:absolute;

    background:#fff;

    color:#111827;

    padding:16px 22px;

    border-radius:16px;

    font-weight:600;

    box-shadow:var(--shadow);

    animation:float 4s ease-in-out infinite;

}

.card1{

    top:25px;

    left:20px;

}

.card2{

    top:70px;

    right:0;

}

.card3{

    bottom:110px;

    left:0;

}

.card4{

    bottom:40px;

    right:30px;

}

@keyframes float{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-12px);

    }

    100%{

        transform:translateY(0px);

    }

}

/* =====================================================
   PhotoReduce Premium UI
   Part C.2A
   Tool Cards + Categories + Stats
=====================================================*/

/* ===========================
   SECTION HEADER
=========================== */

.section-header{
    text-align:center;
    margin-bottom:60px;
}

.section-header h2{
    font-size:42px;
    font-weight:700;
    color:#0f172a;
    margin-bottom:12px;
}

.section-header p{
    color:#64748b;
    font-size:18px;
}

/* ===========================
   TOOL BOX
=========================== */

.popular-tools{
    background:#f8fafc;
}

.tool-box{

    background:#fff;

    border-radius:22px;

    padding:35px 25px;

    text-align:center;

    transition:.35s;

    box-shadow:0 10px 35px rgba(15,23,42,.08);

    height:100%;

    position:relative;

    overflow:hidden;

}

.tool-box::before{

    content:"";

    position:absolute;

    width:100%;

    height:6px;

    background:#2563eb;

    left:0;

    top:0;

    transform:scaleX(0);

    transition:.35s;

}

.tool-box:hover::before{

    transform:scaleX(1);

}

.tool-box:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(15,23,42,.12);

}

.tool-icon{

    width:90px;

    height:90px;

    margin:auto;

    border-radius:22px;

    background:linear-gradient(135deg,#2563eb,#4f46e5);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:42px;

    color:#fff;

    margin-bottom:25px;

}

.tool-box h4{

    font-size:22px;

    font-weight:700;

    margin-bottom:15px;

}

.tool-box p{

    color:#64748b;

    line-height:1.8;

    min-height:60px;

    margin-bottom:25px;

}

/* ===========================
   CATEGORY SECTION
=========================== */

.categories{

    padding:90px 0;

}

.category-card{

    background:#fff;

    border-radius:24px;

    padding:35px;

    text-align:center;

    box-shadow:0 12px 35px rgba(15,23,42,.08);

    transition:.35s;

    cursor:pointer;

    height:100%;

}

.category-card:hover{

    transform:translateY(-8px);

}

.category-icon{

    width:90px;

    height:90px;

    margin:auto;

    border-radius:22px;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:42px;

    color:#fff;

    margin-bottom:22px;

}

.photo-bg{

    background:#2563eb;

}

.pdf-bg{

    background:#ef4444;

}

.text-bg{

    background:#22c55e;

}

.dev-bg{

    background:#7c3aed;

}

.category-card h3{

    font-size:24px;

    font-weight:700;

    margin-bottom:12px;

}

.category-card p{

    color:#64748b;

    margin-bottom:18px;

}

.category-count{

    display:inline-block;

    background:#eff6ff;

    color:#2563eb;

    font-weight:600;

    padding:8px 18px;

    border-radius:50px;

}

/* ===========================
   STATS
=========================== */

.stats{

    background:#0f172a;

    color:#fff;

}

.stat-box{

    text-align:center;

    padding:35px 20px;

}

.stat-number{

    font-size:52px;

    font-weight:800;

    color:#fff;

    margin-bottom:12px;

}

.stat-title{

    font-size:18px;

    opacity:.85;

}

/* ===========================
   FEATURED TOOL
=========================== */

.featured-tool{

    background:#fff;

    border-radius:25px;

    padding:40px;

    box-shadow:0 15px 40px rgba(15,23,42,.08);

}

.featured-tool h3{

    font-size:34px;

    font-weight:700;

    margin-bottom:18px;

}

.featured-tool p{

    color:#64748b;

    line-height:1.9;

    margin-bottom:25px;

}

.feature-list{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

}

.feature-list li{

    background:#f8fafc;

    padding:14px 18px;

    border-radius:12px;

    font-weight:500;

}

/* =====================================================
   PhotoReduce Premium UI
   Part C.2B-1
   Why Choose Us + Feature Cards + CTA
=====================================================*/

.features{
    background:#ffffff;
    padding:90px 0;
}

.feature-card{
    background:#fff;
    border-radius:22px;
    padding:35px;
    box-shadow:0 12px 35px rgba(15,23,42,.08);
    transition:.35s;
    height:100%;
    border:1px solid #edf2f7;
}

.feature-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(15,23,42,.12);
}

.feature-icon{
    width:80px;
    height:80px;
    border-radius:18px;
    background:linear-gradient(135deg,#2563eb,#4f46e5);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
    margin-bottom:25px;
}

.feature-card h3{
    font-size:24px;
    font-weight:700;
    color:#0f172a;
    margin-bottom:15px;
}

.feature-card p{
    color:#64748b;
    line-height:1.8;
}

.cta-section{
    padding:100px 0;
    background:linear-gradient(135deg,#2563eb,#4f46e5);
}

.cta-box{
    background:rgba(255,255,255,.12);
    backdrop-filter:blur(15px);
    border-radius:30px;
    padding:70px;
    text-align:center;
    color:#fff;
}

.cta-box h2{
    font-size:46px;
    font-weight:700;
    margin-bottom:20px;
}

.cta-box p{
    font-size:18px;
    opacity:.95;
    margin-bottom:35px;
}

.cta-box .btn{
    padding:15px 40px;
    border-radius:50px;
    font-weight:600;
}

.cta-box .btn-light{
    background:#fff;
    color:#2563eb;
}

.cta-box .btn-light:hover{
    background:#f1f5f9;
}

/* =====================================================
   PhotoReduce Premium UI
   Part C.2B-2
   Newsletter + Utilities + Animations
=====================================================*/

/* ===========================
   NEWSLETTER
=========================== */

.newsletter{
    padding:90px 0;
    background:#f8fafc;
}

.newsletter-box{

    max-width:900px;

    margin:auto;

    background:#ffffff;

    border-radius:28px;

    padding:60px;

    text-align:center;

    box-shadow:0 20px 45px rgba(15,23,42,.08);

}

.newsletter-box h2{

    font-size:40px;

    font-weight:700;

    color:#0f172a;

    margin-bottom:18px;

}

.newsletter-box p{

    color:#64748b;

    font-size:17px;

    margin-bottom:35px;

}

.newsletter-form{

    display:flex;

    gap:15px;

    justify-content:center;

}

.newsletter-form input{

    width:420px;

    border:1px solid #e2e8f0;

    border-radius:50px;

    padding:16px 22px;

    outline:none;

    transition:.3s;

}

.newsletter-form input:focus{

    border-color:#2563eb;

    box-shadow:0 0 0 4px rgba(37,99,235,.15);

}

.newsletter-form button{

    border:none;

    background:#2563eb;

    color:#fff;

    padding:16px 34px;

    border-radius:50px;

    font-weight:600;

    transition:.3s;

}

.newsletter-form button:hover{

    background:#1d4ed8;

}

/* ===========================
   BADGES
=========================== */

.badge-soft{

    background:#eff6ff;

    color:#2563eb;

    padding:8px 18px;

    border-radius:50px;

    font-weight:600;

}

.badge-success{

    background:#dcfce7;

    color:#15803d;

}

.badge-danger{

    background:#fee2e2;

    color:#dc2626;

}

/* ===========================
   SHADOWS
=========================== */

.shadow-sm{

    box-shadow:0 8px 18px rgba(15,23,42,.06)!important;

}

.shadow-md{

    box-shadow:0 15px 35px rgba(15,23,42,.08)!important;

}

.shadow-lg{

    box-shadow:0 25px 60px rgba(15,23,42,.12)!important;

}

/* ===========================
   BORDER RADIUS
=========================== */

.radius-sm{

    border-radius:12px;

}

.radius{

    border-radius:18px;

}

.radius-lg{

    border-radius:30px;

}

/* ===========================
   HOVER EFFECTS
=========================== */

.hover-up{

    transition:.35s;

}

.hover-up:hover{

    transform:translateY(-8px);

}

.hover-scale{

    transition:.35s;

}

.hover-scale:hover{

    transform:scale(1.05);

}

/* ===========================
   GRADIENT BACKGROUND
=========================== */

.bg-gradient{

    background:linear-gradient(135deg,#2563eb,#4f46e5);

    color:#fff;

}

/* ===========================
   SPACING HELPERS
=========================== */

.py-100{

    padding-top:100px;

    padding-bottom:100px;

}

.mt-60{

    margin-top:60px;

}

.mb-60{

    margin-bottom:60px;

}

/* ===========================
   ANIMATIONS
=========================== */

.fade-up{

    animation:fadeUp .8s ease forwards;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.zoom-in{

    animation:zoomIn .5s ease;

}

@keyframes zoomIn{

    from{

        opacity:0;

        transform:scale(.9);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}

/* ===========================
   IMAGE EFFECTS
=========================== */

.img-hover{

    overflow:hidden;

    border-radius:18px;

}

.img-hover img{

    transition:.4s;

}

.img-hover:hover img{

    transform:scale(1.08);

}

/* ===========================
   SCROLLBAR
=========================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#edf2f7;

}

::-webkit-scrollbar-thumb{

    background:#2563eb;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#1d4ed8;

}

/* =====================================================
   PhotoReduce Premium UI
   Part C.3
   FAQ + Footer + Back To Top + Responsive
=====================================================*/

/* ===========================
   FAQ SECTION
=========================== */

.faq{

    background:#ffffff;

    padding:100px 0;

}

.faq .section-header{

    text-align:center;

    margin-bottom:60px;

}

.faq-item{

    background:#fff;

    border:1px solid #e5e7eb;

    border-radius:18px;

    margin-bottom:20px;

    overflow:hidden;

    transition:.3s;

    box-shadow:0 10px 30px rgba(15,23,42,.05);

}

.faq-item:hover{

    box-shadow:0 15px 35px rgba(15,23,42,.08);

}

.faq-question{

    padding:22px 28px;

    cursor:pointer;

    font-size:20px;

    font-weight:600;

    color:#0f172a;

    background:#fff;

}

.faq-answer{

    padding:0 28px 25px;

    color:#64748b;

    line-height:1.9;

}

/* ===========================
   FOOTER
=========================== */

footer{

    background:#0f172a;

    color:#fff;

    padding-top:90px;

}

.footer-logo{

    display:flex;

    align-items:center;

    margin-bottom:20px;

}

.footer-logo-icon{

    width:55px;

    height:55px;

    border-radius:16px;

    background:linear-gradient(135deg,#2563eb,#4f46e5);

    display:flex;

    justify-content:center;

    align-items:center;

    color:#fff;

    font-size:22px;

    font-weight:700;

    margin-right:15px;

}

.footer-logo h3{

    font-size:28px;

    margin:0;

}

.footer-about{

    color:#cbd5e1;

    line-height:1.9;

    margin-top:18px;

}

.footer-title{

    font-size:22px;

    margin-bottom:22px;

    font-weight:700;

}

.footer-links{

    list-style:none;

    padding:0;

}

.footer-links li{

    margin-bottom:14px;

}

.footer-links a{

    color:#cbd5e1;

    transition:.3s;

}

.footer-links a:hover{

    color:#fff;

    padding-left:8px;

}

.footer-contact{

    color:#cbd5e1;

    line-height:2;

}

.footer-social{

    display:flex;

    gap:14px;

    margin-top:25px;

}

.footer-social a{

    width:48px;

    height:48px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#1e293b;

    color:#fff;

    transition:.3s;

}

.footer-social a:hover{

    background:#2563eb;

    transform:translateY(-5px);

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.08);

    margin-top:70px;

    padding:25px 0;

    text-align:center;

    color:#94a3b8;

}

/* ===========================
   BACK TO TOP
=========================== */

.back-top{

    position:fixed;

    right:30px;

    bottom:30px;

    width:55px;

    height:55px;

    border-radius:50%;

    background:#2563eb;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:22px;

    text-decoration:none;

    box-shadow:0 15px 35px rgba(37,99,235,.30);

    transition:.3s;

    z-index:999;

}

.back-top:hover{

    background:#1d4ed8;

    transform:translateY(-6px);

}

/* ===========================
   LOADING EFFECT
=========================== */

.loading{

    position:relative;

    overflow:hidden;

}

.loading::after{

    content:"";

    position:absolute;

    top:0;

    left:-150%;

    width:120%;

    height:100%;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.35),
        transparent
    );

    animation:loading 1.5s infinite;

}

@keyframes loading{

    100%{

        left:150%;

    }

}

/* ===========================
   UTILITIES
=========================== */

.text-primary{

    color:#2563eb!important;

}

.bg-light2{

    background:#f8fafc;

}

.rounded-xl{

    border-radius:24px;

}

.rounded-2xl{

    border-radius:34px;

}

.border-light{

    border:1px solid #e5e7eb;

}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:991px){

.hero{

    text-align:center;

}

.hero h1{

    font-size:42px;

}

.hero-image{

    margin-top:60px;

}

.newsletter-form{

    flex-direction:column;

}

.newsletter-form input{

    width:100%;

}

.cta-box{

    padding:45px 25px;

}

.cta-box h2{

    font-size:34px;

}

.footer{

    text-align:center;

}

.footer-social{

    justify-content:center;

}

}

@media(max-width:768px){

.section-title{

    font-size:30px;

}

.hero h1{

    font-size:34px;

}

.hero p{

    font-size:16px;

}

.search-box{

    flex-direction:column;

}

.search-box input{

    margin-bottom:10px;

}

.search-box button{

    width:100%;

    height:50px;

}

.feature-list{

    grid-template-columns:1fr;

}

.tool-box{

    padding:25px;

}

.category-card{

    padding:25px;

}

.stat-number{

    font-size:38px;

}

.footer-logo{

    justify-content:center;

}

.back-top{

    width:48px;

    height:48px;

    right:18px;

    bottom:18px;

}

}

/* ===========================
   END OF PART C.3
=========================== */

/* =====================================================
   PhotoReduce Premium UI
   Part C.4A
   Dark Mode + Forms + Tables + Alerts
=====================================================*/

/* ===========================
   DARK MODE READY
=========================== */

body.dark{

    background:#0f172a;

    color:#e2e8f0;

}

body.dark .header{

    background:rgba(15,23,42,.95);

}

body.dark .navbar{

    background:transparent;

}

body.dark .logo h4{

    color:#fff;

}

body.dark .logo span{

    color:#94a3b8;

}

body.dark .nav-link{

    color:#e2e8f0;

}

body.dark .nav-link:hover{

    color:#60a5fa;

}

body.dark .tool-box,

body.dark .category-card,

body.dark .feature-card,

body.dark .newsletter-box,

body.dark .faq-item{

    background:#1e293b;

    color:#fff;

    border-color:#334155;

}

body.dark .tool-box p,

body.dark .category-card p,

body.dark .feature-card p,

body.dark .faq-answer,

body.dark .newsletter-box p{

    color:#cbd5e1;

}

body.dark footer{

    background:#020617;

}

/* ===========================
   FORM ELEMENTS
=========================== */

.form-control{

    border-radius:14px;

    border:1px solid #dbe3ec;

    padding:14px 18px;

    box-shadow:none;

    transition:.3s;

}

.form-control:focus{

    border-color:#2563eb;

    box-shadow:0 0 0 4px rgba(37,99,235,.15);

}

.form-select{

    border-radius:14px;

    padding:14px;

}

.form-range{

    cursor:pointer;

}

textarea.form-control{

    min-height:150px;

    resize:vertical;

}

/* ===========================
   FILE UPLOAD BOX
=========================== */

.upload-box{

    background:#fff;

    border:2px dashed #2563eb;

    border-radius:22px;

    padding:60px 30px;

    text-align:center;

    transition:.35s;

    cursor:pointer;

}

.upload-box:hover{

    background:#eff6ff;

}

.upload-box.dragover{

    background:#dbeafe;

    border-color:#1d4ed8;

}

.upload-box h3{

    font-size:30px;

    margin-bottom:10px;

    color:#0f172a;

}

.upload-box p{

    color:#64748b;

}

.preview{

    margin-top:30px;

    text-align:center;

}

.preview img{

    max-width:100%;

    border-radius:18px;

    box-shadow:0 15px 35px rgba(15,23,42,.12);

}

/* ===========================
   PROGRESS BAR
=========================== */

.progress{

    height:14px;

    border-radius:20px;

    overflow:hidden;

    background:#e2e8f0;

}

.progress-bar{

    background:linear-gradient(90deg,#2563eb,#4f46e5);

}

/* ===========================
   TABLE
=========================== */

.table{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

}

.table thead{

    background:#2563eb;

    color:#fff;

}

.table th{

    padding:18px;

    font-weight:600;

}

.table td{

    padding:16px;

    vertical-align:middle;

}

.table tbody tr:hover{

    background:#f8fafc;

}

/* ===========================
   ALERTS
=========================== */

.alert{

    border:none;

    border-radius:16px;

    padding:18px 22px;

}

.alert-success{

    background:#dcfce7;

    color:#166534;

}

.alert-danger{

    background:#fee2e2;

    color:#991b1b;

}

.alert-warning{

    background:#fef3c7;

    color:#92400e;

}

.alert-info{

    background:#dbeafe;

    color:#1d4ed8;

}

/* ===========================
   MODAL
=========================== */

.modal-content{

    border:none;

    border-radius:22px;

    overflow:hidden;

}

.modal-header{

    border:none;

    padding:22px 28px;

}

.modal-body{

    padding:28px;

}

.modal-footer{

    border:none;

    padding:22px 28px;

}

/* ===========================
   PAGINATION
=========================== */

.pagination{

    gap:10px;

}

.page-link{

    border:none;

    border-radius:12px;

    color:#2563eb;

    padding:12px 18px;

}

.page-link:hover{

    background:#2563eb;

    color:#fff;

}

.page-item.active .page-link{

    background:#2563eb;

    color:#fff;

}

/* ===========================
   BREADCRUMB
=========================== */

.breadcrumb{

    background:#fff;

    padding:16px 22px;

    border-radius:14px;

    box-shadow:0 10px 25px rgba(15,23,42,.05);

}

.breadcrumb-item a{

    color:#2563eb;

}

.breadcrumb-item.active{

    color:#64748b;

}

/* =====================================================
   PhotoReduce Premium UI
   Part C.4B (FINAL)
   Loading + Glass + Print + Utilities + Final Effects
=====================================================*/

/* ===========================
   LOADER
=========================== */

.loader{

    width:70px;

    height:70px;

    border:6px solid #e5e7eb;

    border-top:6px solid #2563eb;

    border-radius:50%;

    animation:spin 1s linear infinite;

    margin:auto;

}

@keyframes spin{

    100%{

        transform:rotate(360deg);

    }

}

/* ===========================
   SKELETON LOADER
=========================== */

.skeleton{

    position:relative;

    overflow:hidden;

    background:#e5e7eb;

    border-radius:14px;

}

.skeleton::after{

    content:"";

    position:absolute;

    inset:0;

    transform:translateX(-100%);

    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.7),
        transparent
    );

    animation:skeletonLoading 1.4s infinite;

}

@keyframes skeletonLoading{

    100%{

        transform:translateX(100%);

    }

}

/* ===========================
   GLASS CARD
=========================== */

.glass{

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.25);

    border-radius:24px;

    box-shadow:0 20px 45px rgba(15,23,42,.08);

}

/* ===========================
   ICON BOX
=========================== */

.icon-box{

    width:70px;

    height:70px;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:linear-gradient(135deg,#2563eb,#4f46e5);

    color:#fff;

    font-size:28px;

}

/* ===========================
   HOVER EFFECTS
=========================== */

.hover-shadow{

    transition:.35s;

}

.hover-shadow:hover{

    box-shadow:0 25px 55px rgba(15,23,42,.14);

}

.hover-rotate{

    transition:.35s;

}

.hover-rotate:hover{

    transform:rotate(-3deg);

}

.hover-opacity{

    transition:.3s;

}

.hover-opacity:hover{

    opacity:.85;

}

/* ===========================
   IMAGE STYLES
=========================== */

.img-cover{

    width:100%;

    height:100%;

    object-fit:cover;

}

.img-rounded{

    border-radius:22px;

}

.img-shadow{

    box-shadow:0 18px 45px rgba(15,23,42,.12);

}

/* ===========================
   FLEX HELPERS
=========================== */

.flex-center{

    display:flex;

    justify-content:center;

    align-items:center;

}

.flex-between{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.flex-column{

    display:flex;

    flex-direction:column;

}

/* ===========================
   WIDTH HELPERS
=========================== */

.w-10{width:10%;}
.w-20{width:20%;}
.w-30{width:30%;}
.w-40{width:40%;}
.w-50{width:50%;}
.w-60{width:60%;}
.w-70{width:70%;}
.w-80{width:80%;}
.w-90{width:90%;}
.w-100{width:100%;}

/* ===========================
   HEIGHT HELPERS
=========================== */

.h-100{

    height:100%;

}

.min-vh-100{

    min-height:100vh;

}

/* ===========================
   CURSOR
=========================== */

.pointer{

    cursor:pointer;

}

/* ===========================
   TEXT HELPERS
=========================== */

.text-small{

    font-size:14px;

}

.text-large{

    font-size:22px;

}

.text-bold{

    font-weight:700;

}

.text-muted2{

    color:#64748b;

}

/* ===========================
   BACKGROUND HELPERS
=========================== */

.bg-white{

    background:#fff;

}

.bg-primary-soft{

    background:#eff6ff;

}

.bg-success-soft{

    background:#dcfce7;

}

.bg-danger-soft{

    background:#fee2e2;

}

/* ===========================
   BORDER HELPERS
=========================== */

.border-primary{

    border:1px solid #2563eb;

}

.border-radius{

    border-radius:18px;

}

/* ===========================
   OPACITY
=========================== */

.opacity-25{opacity:.25;}
.opacity-50{opacity:.5;}
.opacity-75{opacity:.75;}
.opacity-100{opacity:1;}

/* ===========================
   SELECTION
=========================== */

::selection{

    background:#2563eb;

    color:#fff;

}

::-moz-selection{

    background:#2563eb;

    color:#fff;

}

/* ===========================
   PRINT
=========================== */

@media print{

    .header,
    footer,
    .back-top,
    .btn,
    .navbar{

        display:none!important;

    }

    body{

        background:#fff!important;

        color:#000!important;

    }

}

/* ===========================
   MOBILE IMPROVEMENTS
=========================== */

@media(max-width:576px){

    .section-title{

        font-size:28px;

    }

    .hero{

        padding:70px 0;

    }

    .hero h1{

        font-size:30px;

        line-height:1.3;

    }

    .hero p{

        font-size:15px;

    }

    .tool-box,
    .category-card,
    .feature-card{

        padding:22px;

    }

    .newsletter-box{

        padding:35px 20px;

    }

    .cta-box{

        padding:35px 20px;

    }

}

.footer{
    background:#111827;
}

.footer h3,
.footer h5{
    color:#fff;
}

.footer a{
    color:#cbd5e1;
    transition:.3s;
}

.footer a:hover{
    color:#0d6efd;
}

.footer hr{
    opacity:.15;
}

/*=========================================
PHOTOREDUCE CROP TOOL
=========================================*/

.crop-container{

    position:relative;

    display:inline-block;

    width:100%;

    overflow:hidden;

}

.crop-container img{

    width:100%;

    display:block;

    user-select:none;

    pointer-events:none;

}

.crop-box{

    position:absolute;

    left:50px;

    top:50px;

    width:200px;

    height:200px;

    border:3px solid #ffc107;

    background:rgba(255,193,7,.20);

    cursor:move;

    display:none;

    box-sizing:border-box;

}

.resize-handle{

    width:14px;

    height:14px;

    background:#ffc107;

    border:2px solid #fff;

    border-radius:50%;

    position:absolute;

}

.tl{

    left:-8px;

    top:-8px;

    cursor:nw-resize;

}

.tr{

    right:-8px;

    top:-8px;

    cursor:ne-resize;

}

.bl{

    left:-8px;

    bottom:-8px;

    cursor:sw-resize;

}

.br{

    right:-8px;

    bottom:-8px;

    cursor:se-resize;

}

/* ===========================
   END OF STYLESHEET
=========================== */

/*
==========================================
 PhotoReduce Premium UI
 Version : 1.0
 Framework : Bootstrap 5
 Language : PHP
 Author : ChatGPT
==========================================
*/