/*
Theme Name: Astra Child
Template: astra
*/
/* ===== FULL PAGE BACKGROUND ===== */
body.page-template-template-font-tool,
body.page-template-template-font-tool .site,
body.page-template-template-font-tool .ast-container,
body.page-template-template-font-tool .site-content {
    background: #0b1a2b !important;
    color: #f1f5f9 !important;
}
/* ===== HEADER ===== */
body.page-template-template-font-tool .site-header,
body.page-template-template-font-tool .ast-primary-header-bar,
body.page-template-template-font-tool .main-header-bar {
    background: #0b1a2b !important;
    border-bottom: 1px solid #1e293b;
}
}
body.page-template-template-font-tool .site-footer,
body.page-template-template-font-tool .ast-footer-overlay,
body.page-template-template-font-tool footer {
    background: #0b1a2b !important;
    color: #cbd5e1;
    border-top: 1px solid #1e293b;
}
/* ===== FOOTER FINAL FIX ===== */

body.page-template-template-font-tool .ast-builder-footer-wrap {
    background: #0b1a2b !important;
}

/* Inner layers bhi match karo */
body.page-template-template-font-tool .ast-builder-layout-element,
body.page-template-template-font-tool .ast-builder-grid-row {
    background: #0b1a2b !important;
}

/* Text color */
body.page-template-template-font-tool footer {
    color: #94a3b8 !important;
}
body.page-template-template-font-tool footer * {
    background: transparent !important;
}
/* ===== REMOVE WHITE BOX ===== */
body.page-template-template-font-tool .ast-article-post,
body.page-template-template-font-tool .entry-content,
body.page-template-template-font-tool .content-area {
    background: transparent !important;
}

/* ===== TEXT COLOR FIX ===== */
body.page-template-template-font-tool h1,
body.page-template-template-font-tool h2,
body.page-template-template-font-tool h3,
body.page-template-template-font-tool p {
    color: #f1f5f9;
}

/* ===== HOMEPAGE DESIGN ===== */

.home-wrapper {
    max-width: 1000px;
    margin: auto;
    padding: 30px 20px;
}

/* MAIN HEADING */
.home-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
}

/* Description */
.home-desc {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 30px;
}

/* SECTION HEADING (Font + Social) */
.section-title {
    font-size: 30px;  
    font-weight: 600;
    color: #e6f1ff;
    margin-top: 30px;
    margin-bottom: 10px;
}

.home-wrapper {
    max-width: 1000px;
    margin: auto;
    margin-top: 40px;
    padding: 80px 20px 30px; 
}

@media (max-width: 768px) {
    .home-title {
        font-size: 26px;
    }

    .section-title {
        font-size: 18px;
    }
}

/* GRID */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* CARD (Square box) */
.tool-card {
    background: #12263a;
    border: 1px solid #1f3b5c;
    border-radius: 12px;
    height: 220px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    padding: 20px;
    text-align: center;
    transition: 0.3s;
}

/* TOOL NAME CENTER */
.tool-card h3 {
    color: #e6f1ff;
    font-size: 18px;
    margin-top: 20px;
}

/* BUTTON */
.tool-btn {
    display: inline-block;
    padding: 10px 16px;
    background: linear-gradient(135deg, #00cec9, #0984e3);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

/* BUTTON HOVER */
.tool-btn:hover {
    background: linear-gradient(135deg, #00b894, #0652dd);
    color: #000;
}

/* CARD HOVER */
.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 206, 201, 0.2);
    
}

/* ===== CONTACT FORM 7 DARK UI ===== */

.wpcf7 {
    background: #12263a;
    padding: 25px;
    border-radius: 14px;
    border: 1px solid #1f3b5c;
}

/* INPUT + TEXTAREA */
.wpcf7 input,
.wpcf7 textarea {
    width: 100%;
    background: #0a1929 !important;
    border: 1px solid #1f3b5c !important;

    color: #ffffff !important;

    padding: 14px;
    border-radius: 10px;

    margin-top: 10px;
    margin-bottom: 20px;

    outline: none;
}

/* PLACEHOLDER */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #94a3b8;
}

/* BUTTON */
.wpcf7-submit {
    width: 100%;

    background: linear-gradient(135deg, #00cec9, #0984e3) !important;

    border: none !important;
    color: #ffffff !important;

    padding: 14px;
    border-radius: 10px;

    cursor: pointer;
    transition: 0.3s;
}

/* BUTTON HOVER */
.wpcf7-submit:hover {
    background: linear-gradient(135deg, #00b894, #0652dd) !important;

    color: #000 !important;
}

/* LABEL */
.wpcf7 label {
    color: #e6f1ff;
}

/* SUCCESS MESSAGE */
.wpcf7-response-output {
    color: #ffffff;
    border-color: #00cec9 !important;
}