/* Free tools */
.paragraph p {
    color: #383D3D;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 127.778%;
}

.subtitle {
    color: #038181;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.72px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

h1 {
    margin: 0 0 15px 0;
    font-size: 52px;
    font-weight: 300;
    line-height: normal;
    color: #383D3D;
    font-family: "Roboto", sans-serif;
}

h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    color: #383D3D;
    margin-top: 30px;
    margin-bottom: 15px;
}

h4 {
    margin: 0 0 16px 0;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.uk-text-lead {
    color: #383D3D;
    font-size: 20px;
    line-height: 1.4;
    max-width: 700px;
    margin: 0 auto 30px auto;
    font-weight: 400;
}

.uk-section-muted {
    background-color: #ECF2F2;
}

.tool-hero {
    padding: 75px 0 65px 0;
    background-color: #FAF8F4;
}

.tool-form-wrapper {
    max-width: 600px;
    margin: 40px auto 0 auto;
    padding: 30px;
    border-radius: 12px;
    background-color: #FFF;
    box-shadow: 0px 4px 16.3px rgba(194, 188, 188, 0.25);
    border: 1px solid #E6E5E5;
}

.tool-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.tool-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #383D3D;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
}

.tool-form .form-group input[type="text"] {
    height: 48px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #9BD0D3;
    background-color: #FFF;
    padding: 0 15px;
    font-size: 16px;
    color: #383D3D;
    box-sizing: border-box;
}

.tool-form input[type="submit"] {
    height: 48px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 47px;
    background-color: #C4503C;
    padding: 0 33px;
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    cursor: pointer;
}

.tool-section {
    padding: 75px 0;
}

@media screen and (max-width: 768px) {
    .tool-section {
        padding: 50px 0;
    }

    h1 {
        font-size: 36px;
    }
}

.tool-card-style-1 {
    height: 100%;
    padding: 48px 32px 40px 32px;
    border-radius: 3px;
    background-color: #FAF8F4;
    box-shadow: 0px 4px 8.9px 0px rgba(56, 61, 61, 0.20);
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.tool-card-style-1:before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    z-index: -1;
    height: 10px;
    width: 100%;
    background-color: #9BD0D3;
    border-radius: 3px 3px 0 0;
}

.tool-card-style-1 h4 {
    color: #383D3D;
}

.tool-example-input {
    border-radius: 12px;
    border: 1px solid #E6E5E5;
    background-color: #fff;
    padding: 35px 40px 20px 40px;
    list-style: none;
    margin: 30px 0;
    box-shadow: 0px 4px 16.3px rgba(194, 188, 188, 0.25);
}

.tool-example-input h3 {
    margin-top: 0;
}

.tool-example-input ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.tool-example-input li {
    color: #383D3D;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 15px;
}

.tool-card-style-2 {
    height: 100%;
    border-radius: 12px;
    border: 1px solid #E6E5E5;
    background-color: #fff;
    overflow: hidden;
    padding: 25px 30px;
    box-shadow: 0px 4px 16.3px rgba(194, 188, 188, 0.25);
    box-sizing: border-box;
}

.tool-card-style-2 p {
    color: #383D3D;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 127.778%;
    margin: 0;
}

/* --- Global Tool Layout Styles --- */
.tool-explainer-content {
    max-width: 1000px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
    font-family: inherit;
    color: #333;
}

.explainer-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.explainer-header h2 {
    font-size: 2rem;
    color: #038181;
    margin-bottom: 20px;
    font-weight: 700;
}

.explainer-header p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.explainer-section {
    margin-bottom: 60px;
}

.explainer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #1e293b;
    font-weight: 700;
}

.content-block {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    margin-bottom: 50px;
    text-align: left;
}

.content-block h3 {
    color: #1e293b;
    margin-top: 0;
}

.content-block ol {
    padding-left: 20px;
    color: #475569;
    line-height: 1.8;
}

.content-block strong {
    color: #038181;
}


.benefits-grid,
.steps-grid,
.concepts-grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

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

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


.benefit-card,
.step-card,
.concept-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    text-align: left;
    transition: transform 0.2s, box-shadow 0.2s;
    border-top: 4px solid #038181;
    height: 100%; /* Ensure equal height in grids */
    box-sizing: border-box;
}

.benefit-card:hover, .step-card:hover, .concept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.benefit-card h4, .step-card h4, .concept-card h4 {
    color: #1e293b;
    font-size: 1.2rem;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.benefit-card p, .step-card p, .concept-card p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #038181;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.concept-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.cta-section {
    background: linear-gradient(135deg, #038181, #026464);
    color: white;
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(3, 129, 129, 0.2);
    margin-top: 60px;
}

.cta-section h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
    margin-top: 0;
    font-weight: 700;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #038181;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #025555;
    text-decoration: none;
}


@media (max-width: 768px) {
    .benefits-grid,
    .steps-grid,
    .concepts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .uk-lightbox-panel iframe {
        height: auto;
        min-height: 320px;
    }
}
