* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background:
        #f5f7fb;

    color:
        #222;

}


/* HEADER */

.site-header {

    background:
        white;

    border-bottom:
        1px solid #e5e5e5;

}


.header-inner {

    width:
        min(1100px, 92%);

    margin:
        auto;

    min-height:
        72px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

}


.logo {

    text-decoration:
        none;

    color:
        #111;

    font-size:
        27px;

    font-weight:
        800;

}


.tagline {

    color:
        #777;

    font-size:
        14px;

}


/* HERO */

.hero {

    background:
        white;

    padding:
        75px 20px 70px;

    text-align:
        center;

}


.hero-content {

    max-width:
        800px;

    margin:
        auto;

}


.hero-badge {

    display:
        inline-block;

    padding:
        8px 16px;

    border-radius:
        30px;

    background:
        #f0f0f0;

    font-size:
        14px;

    margin-bottom:
        20px;

}


.hero h1 {

    margin:
        0;

    font-size:
        clamp(38px, 7vw, 68px);

    line-height:
        1.05;

}


.hero p {

    max-width:
        650px;

    margin:
        25px auto 0;

    font-size:
        19px;

    line-height:
        1.6;

    color:
        #666;

}


/* SECTIONS */

.tools-section,
.why-section {

    width:
        min(1100px, 92%);

    margin:
        auto;

    padding:
        70px 0;

}


.section-title {

    text-align:
        center;

    margin-bottom:
        35px;

}


.section-title h2 {

    margin:
        0 0 10px;

    font-size:
        32px;

}


.section-title p {

    margin:
        0;

    color:
        #777;

}


/* TOOLS GRID */

.tools-grid {

    display:
        grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(260px, 1fr)
        );

    gap:
        22px;

}


.tool-card {

    background:
        white;

    border:
        1px solid #e8e8e8;

    border-radius:
        18px;

    padding:
        28px;

    box-shadow:
        0 6px 25px rgba(
            0,
            0,
            0,
            0.05
        );

    transition:
        transform 0.2s,
        box-shadow 0.2s;

}


.tool-card:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 12px 30px rgba(
            0,
            0,
            0,
            0.09
        );

}


.tool-icon {

    font-size:
        48px;

    margin-bottom:
        18px;

}


.tool-card h3 {

    margin:
        0 0 12px;

    font-size:
        22px;

}


.tool-card p {

    min-height:
        65px;

    color:
        #666;

    line-height:
        1.5;

}


.tool-button {

    display:
        inline-block;

    text-decoration:
        none;

    background:
        #111;

    color:
        white;

    border:
        none;

    padding:
        12px 20px;

    border-radius:
        9px;

    font-size:
        15px;

    cursor:
        pointer;

}


.tool-button.disabled {

    background:
        #ccc;

    color:
        #666;

    cursor:
        not-allowed;

}


.coming-card {

    opacity:
        0.78;

}


/* QUICK COMPRESSOR */

.quick-section {

    width:
        min(1100px, 92%);

    margin:
        20px auto 70px;

    background:
        white;

    border-radius:
        20px;

    padding:
        35px;

    box-shadow:
        0 8px 30px rgba(
            0,
            0,
            0,
            0.07
        );

}


.quick-content {

    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        35px;

    align-items:
        center;

}


.small-label {

    font-size:
        12px;

    font-weight:
        bold;

    color:
        #777;

    letter-spacing:
        1px;

}


.quick-content h2 {

    font-size:
        30px;

}


.quick-content p {

    color:
        #666;

    line-height:
        1.6;

}


#quickImageInput {

    display:
        block;

    width:
        100%;

    margin-bottom:
        15px;

}


.main-button {

    border:
        none;

    background:
        #111;

    color:
        white;

    padding:
        13px 22px;

    border-radius:
        9px;

    cursor:
        pointer;

    font-size:
        16px;

}


.quick-result {

    margin-top:
        20px;

    line-height:
        1.6;

}


.quick-result a {

    display:
        inline-block;

    background:
        #178a3b;

    color:
        white;

    padding:
        11px 17px;

    border-radius:
        8px;

    text-decoration:
        none;

}


/* FEATURES */

.features-grid {

    display:
        grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap:
        22px;

}


.feature-card {

    background:
        white;

    padding:
        30px;

    text-align:
        center;

    border-radius:
        17px;

    border:
        1px solid #e8e8e8;

}


.feature-icon {

    font-size:
        40px;

}


.feature-card h3 {

    margin:
        15px 0 10px;

}


.feature-card p {

    color:
        #666;

    line-height:
        1.5;

}


/* ABOUT */

.about-section {

    background:
        white;

    text-align:
        center;

    padding:
        60px 20px;

}


.about-section h2 {

    font-size:
        30px;

}


.about-section p {

    max-width:
        650px;

    margin:
        auto;

    color:
        #666;

    line-height:
        1.7;

}


/* FOOTER */

.site-footer {

    text-align:
        center;

    padding:
        30px;

    background:
        #111;

    color:
        #aaa;

}


.site-footer p {

    margin:
        6px;

}


/* MOBILE */

@media (
    max-width: 700px
) {

    .header-inner {

        flex-direction:
            column;

        justify-content:
            center;

        padding:
            15px 0;

    }


    .tagline {

        font-size:
            13px;

    }


    .hero {

        padding:
            55px 20px;

    }


    .hero p {

        font-size:
            16px;

    }


    .quick-content {

        grid-template-columns:
            1fr;

    }


    .quick-section {

        padding:
            25px;

    }


    .features-grid {

        grid-template-columns:
            1fr;

    }


    .tools-section,
    .why-section {

        padding:
            50px 0;

    }

}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    margin: 0 8px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.logo img {
    width: 240px;
    height: auto;
    display: block;
}

@media (max-width: 600px) {
    .logo img {
        width: 190px;
    }
}


/* ================================
   CALCULATORS & TECH HELP
   ================================ */

.extra-tools-section {
    width: min(1100px, 92%);
    margin: auto;
    padding: 70px 0;
}

.extra-tools-section.alt-bg {
    width: 100%;
    padding: 70px max(4%, calc((100% - 1100px) / 2));
    background: #ffffff;
}

.extra-section-header {
    text-align: center;
    margin-bottom: 35px;
}

.extra-section-header h2 {
    margin: 0 0 10px;
    font-size: 32px;
}

.extra-section-header p {
    margin: 0 auto;
    max-width: 680px;
    color: #777;
    line-height: 1.6;
}


/* CALCULATOR GRID */

.calculator-grid,
.tech-help-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(250px, 1fr)
    );
    gap: 22px;
}


/* CALCULATOR CARD */

.calculator-card,
.tech-help-card {
    display: flex;
    flex-direction: column;

    background: #fff;

    border: 1px solid #e8e8e8;

    border-radius: 18px;

    padding: 28px;

    box-shadow:
        0 6px 25px rgba(
            0,
            0,
            0,
            0.05
        );

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.calculator-card:hover,
.tech-help-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(
            0,
            0,
            0,
            0.09
        );
}


/* ICON */

.calculator-icon,
.tech-help-icon {
    font-size: 46px;
    margin-bottom: 16px;
}


/* CARD TITLE */

.calculator-card h3,
.tech-help-card h3 {
    margin: 0 0 10px;
    font-size: 21px;
}


/* CARD TEXT */

.calculator-card p,
.tech-help-card p {
    color: #666;

    line-height: 1.55;

    margin: 0 0 22px;

    flex: 1;
}


/* BUTTON */

.calculator-button,
.tech-help-button {
    display: inline-block;

    width: fit-content;

    text-decoration: none;

    background: #111;

    color: #fff;

    border: none;

    padding: 12px 19px;

    border-radius: 9px;

    font-size: 15px;

    cursor: pointer;

    transition:
        background 0.2s,
        transform 0.2s;
}

.calculator-button:hover,
.tech-help-button:hover {
    background: #333;

    transform: translateY(-1px);
}


/* CATEGORY BADGE */

.category-badge {
    display: inline-block;

    width: fit-content;

    margin-bottom: 12px;

    padding: 6px 11px;

    border-radius: 20px;

    background: #f0f0f0;

    color: #555;

    font-size: 12px;

    font-weight: 600;
}


/* ================================
   CALCULATOR PAGE
   ================================ */

.calculator-page {
    width: min(700px, 92%);
    margin: 50px auto 80px;
}

.calculator-box {
    background: #fff;

    border: 1px solid #e8e8e8;

    border-radius: 20px;

    padding: 35px;

    box-shadow:
        0 8px 30px rgba(
            0,
            0,
            0,
            0.07
        );
}

.calculator-box h1 {
    margin-top: 0;

    font-size: 32px;

    text-align: center;
}

.calculator-box .description {
    color: #666;

    line-height: 1.6;

    text-align: center;

    margin-bottom: 30px;
}


/* FORM */

.calculator-form {
    display: grid;

    gap: 18px;
}

.calculator-form label {
    display: block;

    margin-bottom: 7px;

    font-size: 14px;

    font-weight: 600;
}

.calculator-form input,
.calculator-form select {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #ddd;

    border-radius: 9px;

    background: #fff;

    font-size: 16px;

    outline: none;
}

.calculator-form input:focus,
.calculator-form select:focus {
    border-color: #999;
}


/* RESULT */

.calculator-result {
    display: none;

    margin-top: 25px;

    padding: 20px;

    border-radius: 12px;

    background: #f5f7fb;

    border: 1px solid #e5e5e5;

    line-height: 1.7;
}

.calculator-result.show {
    display: block;
}

.calculator-result strong {
    font-size: 18px;
}


/* ================================
   TECH HELP PAGE
   ================================ */

.tech-help-page {
    width: min(900px, 92%);

    margin: 50px auto 80px;
}

.tech-help-box {
    background: #fff;

    border: 1px solid #e8e8e8;

    border-radius: 20px;

    padding: 35px;

    box-shadow:
        0 8px 30px rgba(
            0,
            0,
            0,
            0.07
        );
}

.tech-help-box h1 {
    margin-top: 0;

    font-size: 34px;
}

.tech-help-box h2 {
    margin-top: 30px;

    font-size: 24px;
}

.tech-help-box p {
    color: #555;

    line-height: 1.7;
}

.tech-help-box ul {
    padding-left: 22px;

    color: #555;

    line-height: 1.8;
}

.tech-help-box li {
    margin-bottom: 7px;
}


/* PROBLEM SOLVER CARD */

.problem-card {
    background: #fff;

    border: 1px solid #e8e8e8;

    border-radius: 16px;

    padding: 22px;

    margin-bottom: 18px;
}

.problem-card h3 {
    margin-top: 0;

    font-size: 20px;
}

.problem-card p {
    color: #666;

    line-height: 1.6;
}

.problem-card .solution {
    margin-top: 15px;

    padding: 15px;

    border-radius: 10px;

    background: #f5f7fb;
}


/* ================================
   MOBILE
   ================================ */

@media (max-width: 700px) {

    .extra-tools-section {
        padding: 50px 0;
    }

    .extra-tools-section.alt-bg {
        padding: 50px 4%;
    }

    .extra-section-header h2 {
        font-size: 28px;
    }

    .calculator-grid,
    .tech-help-grid {
        grid-template-columns: 1fr;
    }

    .calculator-card,
    .tech-help-card {
        padding: 24px;
    }

    .calculator-page,
    .tech-help-page {
        margin-top: 30px;

        margin-bottom: 55px;
    }

    .calculator-box,
    .tech-help-box {
        padding: 25px 20px;
    }

    .calculator-box h1,
    .tech-help-box h1 {
        font-size: 28px;
    }

}


/* =================================
   INDIA DAILY DASHBOARD
   ================================= */

.daily-dashboard {
    width: min(1100px, 92%);
    margin: 20px auto 30px;
    padding: 55px 0 20px;
}

.daily-dashboard .section-title {
    margin-bottom: 30px;
}

.daily-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px, 1fr)
        );

    gap: 18px;
}

.daily-card {
    background: #fff;

    border: 1px solid #e8e8e8;

    border-radius: 16px;

    padding: 23px;

    box-shadow:
        0 6px 25px rgba(
            0,
            0,
            0,
            0.05
        );

    transition:
        transform 0.2s,
        box-shadow 0.2s;

    min-height: 155px;
}

.daily-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 28px rgba(
            0,
            0,
            0,
            0.08
        );
}

.daily-icon {
    font-size: 34px;
    margin-bottom: 12px;
}

.daily-card h3 {
    margin: 0 0 9px;

    font-size: 18px;
}

.daily-card div:not(.daily-icon) {
    font-size: 20px;

    font-weight: 700;

    line-height: 1.4;
}

.daily-card small {
    display: block;

    margin-top: 7px;

    color: #777;

    font-size: 13px;
}

.dashboard-updated {
    text-align: center;

    margin-top: 22px;

    color: #777;

    font-size: 13px;
}


/* DAILY DASHBOARD MOBILE */

@media (max-width: 700px) {

    .daily-dashboard {
        padding:
            45px 0 15px;
    }

    .daily-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 12px;
    }

    .daily-card {
        padding: 18px;

        min-height: 145px;

        border-radius: 14px;
    }

    .daily-icon {
        font-size: 30px;

        margin-bottom: 9px;
    }

    .daily-card h3 {
        font-size: 16px;
    }

    .daily-card div:not(.daily-icon) {
        font-size: 17px;
    }

}

@media (max-width: 400px) {

    .daily-grid {
        grid-template-columns: 1fr;
    }

}