/* =========================
   GLOBAL
========================= */
body {
    font-family: Arial, sans-serif !important;
    background: #f4f6fb;
    margin: 0;
    font-size: 14px;
}

/* =========================
   HERO (TOOL PAGE)
========================= */
.tool-hero {
    text-align: center;
    padding: 50px 20px;
}

.tool-hero h1 {
    font-size: 32px;
    margin-bottom: 10px;
    text-align: left;
}

.tool-hero p {
    color: #666;
    text-align: left;
}

.hero-center {
    text-align: center;
    margin-top: 60px;
}

/* =========================
   CONTAINER
========================= */
.container {
    width: 90%;
    max-width: 1400px;
    margin: auto;
}

/* =========================
   SECTION
========================= */
.section {
    margin: 80px 0;
}

.section h2 {
    margin-bottom: 20px;
}

/* =========================
   CARDS GRID
========================= */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
}

.card h3 {
    margin-bottom: 10px;
        min-height: 45px;

}

.card p {
    font-size: 14px;
    color: #555;
    min-height: 50px;
}

/* =========================
   BUTTONS
========================= */
.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
}

.btn:hover {
    background: #0056b3;
}

.btn-big {
    width: 100%;
    padding: 14px;
    font-size: 18px;
}
.card .btn {
    margin-top: auto;
}
.btn-green {
    background: #28a745;
    color: #fff;
}

/* =========================
   TOOL PAGE
========================= */
.tool-page {
    max-width: 1400px;
    margin: 40px auto;
}

/* =========================
   GRID (UNCHANGED - SAFE)
========================= */
.tool-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

/* =========================
   BOXES
========================= */
.tool-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.tool-side {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
}

.tool-side ul {
    padding-left: 20px;
}

.cta-box {
    margin-top: 30px;
    padding: 15px;
    background: #f4f8ff;
    border-radius: 10px;
}

/* =========================
   FORM
========================= */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 400;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* =========================
   RESULT BOX
========================= */
.result-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.result-main p {
    color: #777;
    margin-bottom: 5px;
}

.result-main h1 {
    font-size: 42px;
    color: #28a745;
    font-weight: 700;
}

.result-divider {
    height: 1px;
    background: #eee;
    margin: 15px 0;
}

.result-extra {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.result-extra div {
    text-align: center;
    flex: 1;
}

.result-extra span {
    display: block;
    font-size: 13px;
    color: #888;
}

.result-extra strong {
    font-size: 18px;
    font-weight: 600;
}

/* =========================
   FAQ GRID
========================= */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.faq-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: 0.2s;
}

.faq-card:hover {
    border-color: #ddd;
    transform: translateY(-3px);
}

.faq-card h4 {
    margin-bottom: 10px;
    font-size: 16px;
}

.faq-card p {
    font-size: 14px;
    color: #555;
}

/* =========================
   MOBILE (UNCHANGED)
========================= */
@media(max-width: 768px) {

    .cards {
        grid-template-columns: 1fr;
    }

    .tool-grid {
        display: flex;
        flex-direction: column;
    }

    .tool-box,
    .tool-side,
    .result-box {
        margin-bottom: 15px;
    }

    .result-extra {
        flex-direction: column;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================
   MOBILE FIX ONLY (SAFE)
========================= */
@media (max-width: 768px) {

    /* 1. REDUCE HEADING SIZE */
    .tool-hero h1 {
        font-size: 22px !important;
        line-height: 28px;
    }

    .tool-hero p {
        font-size: 13px;
    }

    /* 2. FIX MAIN WRAPPER CENTER */
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* 3. FIX FORM BOX WIDTH */
    .tool-box {
        width: 100%;
        margin: 0 auto;
        padding: 15px;
    }

    /* 4. FIX RESULT BOX (BOTTOM BOX) */
    .result-box {
        width: 100%;
        margin: 15px 0;
    }

    /* 5. FIX FAQ / BOTTOM CARDS */
    .faq-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .faq-card {
        width: 100%;
    }

    /* 6. FIX INFO BOXES (How it works) */
    .info-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

}
/* =========================
   FIX: REMOVE EQUAL HEIGHT (DESKTOP ONLY)
========================= */
@media (min-width: 769px) {

    .tool-grid {
        align-items: start !important; /* 🔥 THIS FIXES IT */
    }

    .tool-side {
        height: auto !important;
    }

}
/* =========================
   FIX: CENTER CONTENT (MOBILE + TABLET)
========================= */
@media (max-width: 1024px) {

    .tool-page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .container {
        padding-left: 0;
        padding-right: 0;
    }

    .tool-box {
        margin-left: auto;
        margin-right: auto;
    }

}

/* =========================
   FIX: QUICK TIPS ALIGNMENT
========================= */
.tool-extra-left {
    margin-top: 20px;
    padding: 15px 18px;
    background: #f7f9fc;
    border-radius: 10px;

    /* 🔥 KEY FIX */
    width: 100%;
    box-sizing: border-box;
}

/* FIX LIST ALIGNMENT */
.tool-extra-left ul {
    padding-left: 18px;
    margin: 0;
}

/* MOBILE SPACING FIX */
@media (max-width: 1024px) {

    .tool-extra-left {
        margin-left: 0;
        margin-right: 0;
    }

}
/* =========================
   FIX: STAMP DUTY BREAKDOWN (YOUR STRUCTURE)
========================= */
.stamp-breakdown-box {
    margin-top: 20px;
    background: #fff;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* TITLE */
.stamp-breakdown-box h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

/* TABLE FIX */
.sdlt-table {
    width: 100%;
    border-collapse: collapse;
}

/* HEADER */
.sdlt-table th {
    text-align: left;
    font-weight: 600;
    padding: 10px;
    background: #f8f9fa;
    font-size: 14px;
}

/* ROWS */
.sdlt-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

/* LAST ROW STRONG */
.sdlt-table tr:last-child td {
    font-weight: 400;
}

/* ALIGN RIGHT FOR NUMBERS */
.sdlt-table th:nth-child(2),
.sdlt-table th:nth-child(3),
.sdlt-table td:nth-child(2),
.sdlt-table td:nth-child(3) {
    text-align: right;
}

/* MOBILE FIX */
@media (max-width: 768px) {

    .stamp-breakdown-box {
        padding: 15px;
    }

    .sdlt-table th,
    .sdlt-table td {
        font-size: 13px;
        padding: 8px;
    }

}

/* =========================
   TOOL PAGE HEADINGS ONLY
========================= */

/* H2 (section titles like "How it works") */
.tool-page h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* H3 (small headings like "Quick Tips", "What you'll get") */
.tool-page h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

@media (max-width: 768px) {

    .tool-page h2 {
        font-size: 18px;
    }

    .tool-page h3 {
        font-size: 14px;
    }

}
/* RENTAL COLORS */
#yield {
    color: #007bff;
}

#netProfit {
    color: #28a745;
}

/* ROI COLORS */
#roiResult {
    color: #007bff;
}

#roiProfit {
    color: #28a745;
}
#btlProfit { color: #28a745; }
#btlROI { color: #007bff; }

/* =========================
   MORE TOOLS SLIDER (FINAL)
========================= */

.more-tools-section {
    margin-top: 40px;
}

.more-tools-section h2 {
    margin-bottom: 20px;
}

/* SLIDER WRAP */
.tools-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

/* CARD */
.tool-slide {
    min-width: 260px;
    max-width: 260px;
    flex-shrink: 0;

    background: #fff;
    border-radius: 10px;
    padding: 20px;

    text-align: center;

    box-shadow: 0 2px 10px rgba(0,0,0,0.05);

    scroll-snap-align: start;

    transition: transform 0.2s ease;
}

.tool-slide:hover {
    transform: translateY(-4px);
}

/* IMAGE FIX (NO JUMP) */
/* IMAGE WRAPPER */
.tool-img {
    width: 100%;
    margin-bottom: 15px;
}


/* IMAGE */
.tool-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* TITLE */
.tool-slide h4 {
    font-size: 16px;
    margin: 10px 0 5px;
}

/* DESCRIPTION */
.tool-slide p {
    font-size: 13px;
    color: #666;
    min-height: 40px;
}
 
/* BUTTON */
.tool-slide .btn {
    margin-top: 10px;
    display: inline-block;
}

/* SCROLLBAR (OPTIONAL NICE LOOK) */
.tools-slider::-webkit-scrollbar {
    height: 6px;
}

.tools-slider::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}




