/*
Theme Name: kadence Child
Theme URI: http://example.com/blocksy-child/
Description: A child theme of the Blocksy WordPress theme.
Author: Your Name
Author URI: http://example.com
Template: kadence
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kadence-child
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #222;
    background: #f5f5f0;
}

a {
    color: #c0392b;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ── NAV ── */
nav {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: #c0392b;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: #222;
    font-size: 14px;
}

/* hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #222;
    border-radius: 2px;
    transition: all 0.3s;
    display: block;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* mobile menu */
.mobile-menu {
    display: none;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 24px;
    flex-direction: column;
    gap: 0;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    color: #222;
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 0.5px solid #eee;
    display: block;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* ── HERO ── */
.hero {
    background: #fff;
    text-align: center;
    padding: 32px 20px 28px;
    width: 900px;
    margin: auto auto 0;
}

.hero h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-icon {
    width: 80px;
    height: 80px;
    /* background: #c0392b; */
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-icon svg {
    width: 44px;
    height: 44px;
    fill: white;
}

.download-btn {
    background: #c0392b;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 20px;
    display: inline-block;
    text-decoration: none;
}

.download-btn:hover {
    background: #a93226;
    color: white;
    text-decoration: none;
}

.security-label {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
}

.security-row {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 8px;
}

.security-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #666;
}

.sec-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── CONTENT ── */
.content-wrap {
    max-width: 900px;
    margin: 24px auto;
    padding: 0 16px;
    margin: 0 auto;

}

/* ── TABLE OF CONTENTS ── */
.toc-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 28px;
    overflow: hidden;
    text-align: left;
}

.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
    user-select: none;
    background: #fff;
}

.toc-header h2 {
    font-size: 16px;
    font-weight: 600;
}

.toc-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #555;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    transition: background 0.2s;
}

.toc-toggle:hover {
    background: #f0f0f0;
}

.toc-body {
    padding: 4px 18px 16px;
    border-top: 1px solid #f0f0f0;
}

.toc-body ul {
    list-style: none;
    padding-left: 0;
}

.toc-body>ul>li {
    margin: 6px 0;
}

.toc-body ul ul {
    padding-left: 16px;
}

.toc-body ul ul li {
    margin: 4px 0;
}

.toc-body ul ul ul {
    padding-left: 14px;
}

.toc-body a {
    color: #c0392b;
    font-size: 14px;
}

/* ── ARTICLE SECTIONS ── */
.intro-text {
    background: #fff;
    border-radius: 6px;
    padding: 18px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
}

.intro-text p {
    margin-bottom: 12px;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.article-section {
    background: #fff;
    border-radius: 6px;
    margin-bottom: 20px;
    overflow: hidden;
}

.section-heading {
    background: #c0392b;
    color: white;
    font-size: 17px;
    font-weight: 600;
    padding: 12px 20px;
}

.section-body {
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.8;
    color: #222;
}

.section-body p {

    text-align: left;
}



/* Pros and cons */

.pros-cons-container {
    display: flex;
    /* Use flexbox for side-by-side columns */
    justify-content: center;
    /* Center the columns if there's extra space */
    gap: 20px;
    /* Space between the two columns */
    max-width: 900px;
    /* Limit the overall width */
    margin: 40px auto;
    /* Center the container on the page */
    font-family: Arial, sans-serif;
    /* Example font */
    line-height: 1.6;
}

.pros-column,
.cons-column {
    flex: 1;
    /* Allow columns to grow and shrink equally */
    padding: 20px;
    border-radius: 8px;
    /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
}

.pros-column {
    background-color: #e6ffe6;
    /* Light green for Pros */
    border: 1px solid #90ee90;
    /* Green border */
}

.cons-column {
    background-color: #ffe6e6;
    /* Light red for Cons */
    border: 1px solid #ff6666;
    /* Red border */
}

h2 {
    text-align: left;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
    color: #333;
}

.pros-column h2 {
    color: #33a033;
    /* Darker green for Pros heading */
}

.cons-column h2 {
    color: #cc3333;
    /* Darker red for Cons heading */
}

ul {
    list-style: none;
    /* Remove default bullet points */
    padding: 0;
    margin: 0;
}

li {
    position: relative;
    padding-left: 25px;
    /* Space for custom bullet point */
    margin-bottom: 10px;
    font-size: 16px;
    color: #444;
}

/* Custom bullet points */
.pros-column li::before {
    content: '•';
    /* Bullet point character */
    position: absolute;
    left: 0;
    color: #33a033;
    /* Green bullet */
    font-size: 1.2em;
    /* Make bullet slightly larger */
    line-height: 1;
}

.cons-column li::before {
    content: '•';
    /* Bullet point character */
    position: absolute;
    left: 0;
    color: #cc3333;
    /* Red bullet */
    font-size: 1.2em;
    line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pros-cons-container {
        flex-direction: column;
        /* Stack columns vertically on smaller screens */
        gap: 20px;
        padding: 0 15px;
        /* Add some padding to the sides */
    }
}

.section-body p {
    margin-bottom: 12px;
}

.section-body p:last-child {
    margin-bottom: 0;
}

.highlight-word {
    color: #c0392b;
    font-weight: 500;
}

/* Faq section */
.faq-item{
    margin-bottom: 10px;
    border-radius: 5px;
    
}

.faq-question{
    background-color: #c0392b;
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    margin: 5px;
    border-radius: 5px;
}

.faq-answer{
    max-height: 0;
    overflow: hidden;
    transition: maz-height 0.3s ease-out;
    padding: 0 15px;
    background-color: #ffe6e6;
    margin: 5px;
    color: black;
    text-align: left;
    border-radius: 5px;

}

.faq-answer p {
    padding: 15px 0;
}
.arrow {
    transition: transform 0.3s;

}

.faq-item.active .arrow{
    transform : rotate(180deg);
}

.faq-item.active .faq-answer{
    max-height: 200px;
}


/* Center Image */

.img-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px 0;
}

.img-section img {
    width: 80%;          /* Adjust percentage as needed */
    max-width: 900px;    /* Cap the max size */
    height: auto;        /* Maintains aspect ratio */
    display: block;
    object-fit: cover;
}

img{
max-width: 107% !important;
}

h2{
text-align:center !important;

}

/* Disblaed wordpress default header and footer */
/* ===== Hide Kadence Default Header ===== */
/* .page-template-home-page #masthead,
.page-template-home-page .site-header,
.page-template-home-page .site-header-row,
.page-template-home-page .site-header-row-container,
.page-template-home-page .site-header-row-container-inner {
    display: none !important;
} */

/* ===== Hide Kadence Default Footer ===== */
/* .page-template-home-page #colophon,
.page-template-home-page .site-footer,
.page-template-home-page footer {
    display: none !important;
} */

/* ── FOOTER ── */
footer {
    text-align: center;
    padding: 24px;
    font-size: 12px;
    color: #999;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    margin-top: 32px;
}

/* ── RESPONSIVE ── */


@media (max-width: 600px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 22px;
    }

    .security-row {
        gap: 16px;
    }

    .content-wrap {
        padding: 0 10px;
    }
}

@media (max-width: 650px) {
    .hero{
    width: 95% !important;

    }
}
