/* =========================================================
   IMGCOVERTER HOMEPAGE
   All classes are prefixed with ic-
========================================================= */

.ic-home {
    background: #ffffff;
    color: #172033;
    font-family: Arial, Helvetica, sans-serif;
}

.ic-home *,
.ic-home *::before,
.ic-home *::after {
    box-sizing: border-box;
}

.ic-home-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}


/* =========================================================
   TRUST STRIP
========================================================= */

.ic-trust-strip {
    background: #f4f7ff;
    border-bottom: 1px solid #edf1fa;
}

.ic-trust-strip .ic-home-container {
    min-height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    font-size: 12px;
    color: #4f5f78;
}

.ic-trust-strip span:first-child {
    color: #247b45;
}


/* =========================================================
   HERO
========================================================= */

.ic-hero {
    padding: 58px 0 48px;
    background:
        linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.ic-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 60px;
}

.ic-mini-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 17px;
    flex-wrap: wrap;
}

.ic-mini-badges span {
    font-size: 12px;
    color: #287a49;
    font-weight: 600;
}

.ic-hero h1 {
    margin: 0 0 18px;
    font-size: 48px;
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: #111827;
}

.ic-hero h1 strong {
    color: #1769ff;
}

.ic-hero-description {
    max-width: 590px;
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.7;
    color: #526174;
}


/* =========================================================
   HERO UPLOAD BOX
========================================================= */

.ic-hero-upload {
    max-width: 570px;
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid #e7ebf2;
    border-radius: 12px;
    box-shadow: 0 7px 25px rgba(20, 42, 80, .07);
}

.ic-hero-upload-row {
    display: flex;
    align-items: center;
    gap: 13px;
}

.ic-hero-upload-button {
    flex: 1;
    min-height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 15px;
    border: 1px solid #e4e8f1;
    border-radius: 8px;
    color: #4f5b6e;
    background: #fafbfe;
    text-decoration: none;
    font-size: 13px;
}

.ic-hero-upload-button i {
    color: #4778ed;
}

.ic-or {
    color: #7b8492;
    font-size: 13px;
}

.ic-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 43px;
    padding: 10px 19px;
    border-radius: 7px;
    background: #1769e8;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border: none;
    transition: .2s ease;
}

.ic-primary-button:hover {
    background: #0e56ca;
    color: #ffffff;
}

.ic-hero-upload > p {
    margin: 9px 0 0;
    text-align: center;
    font-size: 11px;
    color: #707b8c;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.ic-hero-visual {
    position: relative;
    height: 315px;
    max-width: 400px;
    margin: 0 auto;
}

.ic-format-card {
    position: absolute;
    width: 100px;
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 800;
    font-size: 20px;
    transform: rotate(-7deg);
    box-shadow: 0 12px 25px rgba(40, 60, 100, .13);
}

.ic-format-jpg {
    top: 25px;
    left: 40px;
    background: #36ba8c;
}

.ic-format-png {
    top: 12px;
    left: 145px;
    background: #467be7;
    transform: rotate(3deg);
}

.ic-format-webp {
    top: 30px;
    right: 30px;
    background: #8350dd;
    transform: rotate(8deg);
}

.ic-hero-image-card {
    position: absolute;
    left: 105px;
    top: 130px;
    width: 175px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.9);
    border: 1px solid #e7edf7;
    border-radius: 13px;
    box-shadow: 0 12px 30px rgba(45, 72, 120, .1);
}

.ic-hero-image-card i {
    font-size: 47px;
    color: #d8e3fa;
}

.ic-security-bubble {
    position: absolute;
    right: 8px;
    bottom: 0;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(32, 62, 110, .14);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 27px;
    gap: 5px;
}

.ic-security-bubble span {
    font-size: 10px;
    color: #31874d;
    font-weight: 700;
}


/* =========================================================
   FEATURES
========================================================= */

.ic-features {
    padding: 5px 0 25px;
}

.ic-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ic-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ic-feature-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef4ff;
    color: #1769e8;
}

.ic-feature h3 {
    margin: 0 0 5px;
    font-size: 13px;
    color: #1c2736;
}

.ic-feature p {
    margin: 0;
    font-size: 11px;
    line-height: 1.5;
    color: #707b8b;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.ic-tool-section {
    padding: 32px 0;
}

.ic-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.ic-section-heading h2,
.ic-why-section h2 {
    margin: 0;
    font-size: 23px;
    color: #121a27;
    letter-spacing: -.3px;
}

.ic-section-heading a {
    font-size: 12px;
    color: #1769e8;
    text-decoration: none;
    font-weight: 600;
}

.ic-section-heading a i {
    margin-left: 5px;
}


/* =========================================================
   CONVERTER CARDS
========================================================= */

.ic-converter-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.ic-converter-card {
    min-height: 195px;
    display: flex;
    flex-direction: column;
    padding: 17px;
    border: 1px solid #e8ecf3;
    border-radius: 11px;
    background: #ffffff;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(20, 40, 75, .035);
    transition: .2s ease;
}

.ic-converter-card:hover {
    transform: translateY(-3px);
    border-color: #cfdcf7;
    box-shadow: 0 9px 22px rgba(30, 70, 130, .09);
}

.ic-converter-icon {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 40px;
    margin-bottom: 13px;
}

.ic-converter-icon span {
    padding: 7px 6px;
    border-radius: 6px;
    background: #edf4ff;
    color: #1769e8;
    font-size: 9px;
    font-weight: 800;
}

.ic-converter-icon i {
    font-size: 9px;
    color: #8794a8;
}

.ic-converter-card h3 {
    margin: 0 0 7px;
    font-size: 14px;
    color: #202a39;
}

.ic-converter-card p {
    margin: 0 0 12px;
    font-size: 11px;
    line-height: 1.5;
    color: #6d7889;
}

.ic-card-link {
    margin-top: auto;
    font-size: 12px;
    color: #1769e8;
    font-weight: 600;
}


/* =========================================================
   IMAGE TOOLS
========================================================= */

.ic-tools-section {
    padding-top: 25px;
}

.ic-tools-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 13px;
}

.ic-tool-card {
    min-height: 175px;
    padding: 17px 13px;
    text-align: center;
    border: 1px solid #e8ecf3;
    border-radius: 10px;
    background: #ffffff;
    text-decoration: none;
    transition: .2s ease;
}

.ic-tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 60, 110, .08);
}

.ic-tool-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f0f5ff;
    color: #1769e8;
    font-size: 17px;
}

.ic-tool-card:nth-child(1) .ic-tool-icon {
    background: #eef5ff;
    color: #2878e8;
}

.ic-tool-card:nth-child(2) .ic-tool-icon {
    background: #f1f0ff;
    color: #6857df;
}

.ic-tool-card:nth-child(3) .ic-tool-icon {
    background: #fff5e9;
    color: #ee9b22;
}

.ic-tool-card:nth-child(4) .ic-tool-icon {
    background: #fff0f0;
    color: #ed6b68;
}

.ic-tool-card:nth-child(5) .ic-tool-icon {
    background: #f5efff;
    color: #8051d9;
}

.ic-tool-card:nth-child(6) .ic-tool-icon {
    background: #edf9ef;
    color: #45a65a;
}

/* =========================================
   POPULAR IMAGE CONVERTERS
   ========================================= */

.ic-converter-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.ic-converter-card {
    display: block;
    padding: 25px 20px;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    text-decoration: none;
    text-align: center;
    transition: transform 0.25s ease,
                box-shadow 0.25s ease,
                border-color 0.25s ease;
}

.ic-converter-card:hover {
    transform: translateY(-5px);
    border-color: #d9e2ee;
    box-shadow: 0 12px 30px rgba(30, 60, 90, 0.10);
}


/* Converter icon area */

.ic-converter-icon {
    /* width: 92px; */
    height: 92px;
    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    border-radius: 20px;

    font-size: 12px;
    font-weight: 800;
}


/* Format labels */

.ic-converter-icon span {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 30px;
    height: 30px;
    padding: 0 5px;

    border-radius: 7px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2px;
}


/* Arrow */

.ic-converter-icon i {
    font-size: 11px;
}


/* =========================================
   INDIVIDUAL CONVERTER COLORS
   ========================================= */


/* 1. JPG → PNG */

.ic-converter-card:nth-child(1) .ic-converter-icon {
    background: #eef6ff;
    color: #2878e8;
}

.ic-converter-card:nth-child(1) .ic-converter-icon span:first-child {
    background: #2878e8;
    color: #ffffff;
}

.ic-converter-card:nth-child(1) .ic-converter-icon span:last-child {
    background: #dff1e5;
    color: #35a35a;
}

.ic-converter-card:nth-child(1) .ic-converter-icon i {
    color: #2878e8;
}


/* 2. PNG → JPG */

.ic-converter-card:nth-child(2) .ic-converter-icon {
    background: #f1f0ff;
    color: #6758d9;
}

.ic-converter-card:nth-child(2) .ic-converter-icon span:first-child {
    background: #6758d9;
    color: #ffffff;
}

.ic-converter-card:nth-child(2) .ic-converter-icon span:last-child {
    background: #fff0d9;
    color: #e79724;
}

.ic-converter-card:nth-child(2) .ic-converter-icon i {
    color: #6758d9;
}


/* 3. WebP → JPG */

.ic-converter-card:nth-child(3) .ic-converter-icon {
    background: #fff4e8;
    color: #ed8d28;
}

.ic-converter-card:nth-child(3) .ic-converter-icon span:first-child {
    background: #ed8d28;
    color: #ffffff;
}

.ic-converter-card:nth-child(3) .ic-converter-icon span:last-child {
    background: #e8edff;
    color: #536bd9;
}

.ic-converter-card:nth-child(3) .ic-converter-icon i {
    color: #ed8d28;
}


/* 4. HEIC → JPG */

.ic-converter-card:nth-child(4) .ic-converter-icon {
    background: #eaf9f6;
    color: #20a58a;
}

.ic-converter-card:nth-child(4) .ic-converter-icon span:first-child {
    background: #20a58a;
    color: #ffffff;
}

.ic-converter-card:nth-child(4) .ic-converter-icon span:last-child {
    background: #ffeceb;
    color: #e66d68;
}

.ic-converter-card:nth-child(4) .ic-converter-icon i {
    color: #20a58a;
}


/* 5. JPG → WebP */

.ic-converter-card:nth-child(5) .ic-converter-icon {
    background: #f5efff;
    color: #8055d8;
}

.ic-converter-card:nth-child(5) .ic-converter-icon span:first-child {
    background: #8055d8;
    color: #ffffff;
}

.ic-converter-card:nth-child(5) .ic-converter-icon span:last-child {
    background: #fff0dc;
    color: #e89728;
}

.ic-converter-card:nth-child(5) .ic-converter-icon i {
    color: #8055d8;
}


/* =========================================
   CONVERTER CARD TEXT
   ========================================= */

.ic-converter-card h3 {
    margin: 0 0 8px;
    color: #172033;
    font-size: 17px;
    font-weight: 700;
}

.ic-converter-card p {
    margin: 0;
    color: #6c7788;
    font-size: 13px;
    line-height: 1.6;
}


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

@media (max-width: 1100px) {
    .ic-converter-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .ic-converter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .ic-converter-card {
        padding: 20px 14px;
    }
}

@media (max-width: 450px) {
    .ic-converter-grid {
        grid-template-columns: 1fr;
    }
}










.ic-tool-card h3 {
    margin: 0 0 7px;
    font-size: 12px;
    color: #1e2837;
}

.ic-tool-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #707b8a;
}


/* =========================================================
   CTA
========================================================= */

.ic-cta-section {
    padding: 28px 0;
}

.ic-cta {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 16px 20px;
    border: 1px solid #ccebd5;
    border-radius: 11px;
    background: #f2fbf4;
}

.ic-cta-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #ddf4e3;
    color: #3b9b58;
}

.ic-cta-content {
    flex: 1;
}

.ic-cta-content h2 {
    margin: 0 0 4px;
    font-size: 15px;
    color: #203025;
}

.ic-cta-content p {
    margin: 0;
    font-size: 13px;
    color: #647267;
}

.ic-cta .ic-primary-button {
    white-space: nowrap;
}


/* =========================================================
   WHY CHOOSE
========================================================= */

.ic-why-section {
    padding: 22px 0 35px;
}

.ic-why-section h2 {
    margin-bottom: 17px;
}

.ic-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
}

.ic-why-card {
    display: flex;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e9edf3;
    border-radius: 10px;
    background: #ffffff;
}

.ic-why-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef5ff;
    color: #1769e8;
}

.ic-why-card h3 {
    margin: 0 0 5px;
    font-size: 12px;
    color: #222c3a;
}

.ic-why-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #707a88;
}


/* =========================================================
   ARTICLES
========================================================= */

.ic-articles-section {
    padding: 20px 0 45px;
    background: #fafbfd;
}

.ic-article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.ic-article-card {
    display: flex;
    gap: 17px;
    padding: 20px;
    border: 1px solid #e8ecf2;
    border-radius: 11px;
    background: #ffffff;
}

.ic-article-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #eef4ff;
    color: #1769e8;
}

.ic-article-label {
    font-size: 12px;
    font-weight: 700;
    color: #1769e8;
}

.ic-article-content h3 {
    margin: 5px 0 7px;
    font-size: 15px;
}

.ic-article-content h3 a {
    color: #202a38;
    text-decoration: none;
}

.ic-article-content p {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.55;
    color: #697587;
}

.ic-read-more {
    font-size: 11px;
    color: #1769e8;
    text-decoration: none;
    font-weight: 600;
}


/* =========================================================
   AD AREA
========================================================= */

.ic-ad-section {
    padding: 10px 0 40px;
}

.ic-ad-placeholder {
    min-height: 90px;
    width: 100%;
    text-align: center;
}


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

@media (max-width: 1000px) {

    .ic-hero-grid {
        grid-template-columns: 1fr;
    }

    .ic-hero-content {
        text-align: center;
    }

    .ic-mini-badges {
        justify-content: center;
    }

    .ic-hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .ic-hero-upload {
        margin-left: auto;
        margin-right: auto;
    }

    .ic-converter-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ic-tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ic-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ic-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 700px) {

    .ic-home-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ic-trust-strip .ic-home-container {
        gap: 8px 14px;
        flex-wrap: wrap;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .ic-hero {
        padding-top: 35px;
    }

    .ic-hero h1 {
        font-size: 36px;
    }

    .ic-hero-description {
        font-size: 14px;
    }

    .ic-hero-upload-row {
        flex-direction: column;
    }

    .ic-hero-upload-button,
    .ic-primary-button {
        width: 100%;
    }

    .ic-or {
        display: none;
    }

    .ic-hero-visual {
        transform: scale(.85);
        margin-top: -15px;
    }

    .ic-feature-grid,
    .ic-converter-grid,
    .ic-tools-grid,
    .ic-why-grid,
    .ic-article-grid {
        grid-template-columns: 1fr;
    }

    .ic-section-heading {
        align-items: flex-start;
        gap: 10px;
    }

    .ic-section-heading h2 {
        font-size: 20px;
    }

    .ic-cta {
        flex-wrap: wrap;
    }

    .ic-cta .ic-primary-button {
        width: 100%;
    }

    .ic-article-card {
        flex-direction: column;
    }
}