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

/* BASE STYLES */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0e0e0e;
    color: #eaeaea;
    line-height: 1.6;
    padding-bottom: 50px;
}

a {
    color: #00ffd5;
    text-decoration: none;
}

a:hover {
    color: #0ff;
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: 1100px;
    padding: 20px;
    margin: auto;
}

/* BUTTON */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #00ffd5, #00a8ff);
    color: #0e0e0e;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 5px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.7);
}

.btn:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #00a8ff, #00ffd5);
    box-shadow: 0 0 10px rgba(0, 255, 200, 0.4);
}

/* Secondary button (use with class="btn btn-secondary") */
.btn.btn-secondary {
    background: #333;            /* calm, neutral */
    color: #eaeaea;
    border: 1px solid #444;
    box-shadow: none;            /* no neon glow by default */
}

.btn.btn-secondary:hover {
    transform: scale(1.03);
    background: #3b3b3b;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(0, 255, 213, 0.25);
}

.btn.btn-secondary:active {
    transform: scale(0.98);
    background: #2b2b2b;
    box-shadow: inset 0 0 6px rgba(0, 255, 213, 0.2);
}

.btn.btn-secondary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 255, 213, 0.3);
}

.btn.btn-secondary:disabled,
.btn.btn-secondary.disabled {
    opacity: 0.6;
    pointer-events: none;
    box-shadow: none;
}

.btn.small {
    padding: 8px 14px;
    font-size: 0.9rem;
    color: #0e0e0e;
}

.btn-reset {
    display: inline-block;
    background: #333;
    color: #eaeaea;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 5px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
}

.btn-reset:hover {
    background: #444;
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}

.btn-tiny {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 6px;
    margin: 2px;
    font-weight: bold;
    text-align: center;
    transition: all 0.25s ease;
    box-shadow: 0 0 12px rgba(0, 255, 200, 0.6);
}

.btn-tiny:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #00a8ff, #00ffd5);
    box-shadow: 0 0 8px rgba(0, 255, 200, 0.4);
}


/*Mobile size Optimized buttons */
@media (max-width: 768px) {
    .btn {
        padding: 8px 12px;
        font-size: 0.85rem;
        margin: 2px;
    }

    .btn.small {
        padding: 6px 8px;
        font-size: 0.75rem;
    }

    .search-bar {
        padding: 10px;
        font-size: 0.9rem;
    }

    .tool-card h3 {
        font-size: 1rem;
    }

    .tool-card p {
        font-size: 0.85rem;
    }
}

/* SEARCH BOX */
.search-bar {
    width: 90%;
    max-width: 500px;
    padding: 14px;
    border-radius: 10px;
    font-size: 1rem;
    border: none;
    margin: 20px auto;
    display: block;
    background: #1c1c1c;
    color: #fff;
    box-shadow: 0 0 8px rgba(0, 255, 200, 0.2);
}

/* TOOL GRID */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* TOOL CARD */
.tool-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 255, 200, 0.08);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tool-card:hover {
    box-shadow: 0 0 25px rgba(0, 255, 200, 0.2);
    transform: translateY(-3px);
}

.tool-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.tool-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.tool-card p {
    font-size: 0.95rem;
    color: #aaa;
    margin-bottom: 15px;
}

.tool-actions {
    margin-top: auto;
}

/* FOOTER */
footer {
    background: #111;
    color: #777;
    padding: 30px 20px;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 50px;
    border-top: 1px solid #222;
}

footer a {
    color: #00ffd5;
}

footer a:hover {
    text-decoration: underline;
}

/* PAGINATION */
.pagination {
    text-align: center;
    margin-top: 30px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .tool-grid {
        grid-template-columns: 1fr;
    }
}

.main-header {
    background: #0d0d0d;
    padding: 15px 0;
    border-bottom: 1px solid #222;
}

.logo {
    display: flex;
    align-items: center;
    color: #00ffd5;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
}

.logo img {
    margin-right: 10px;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu a {
    margin-left: 20px;
    color: #ccc;
    font-weight: bolder;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: #00ffd5;
}

/* Mobile styles */
@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu {
        margin-top: 10px;
        font-weight: bold;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-menu a {
        margin-left: 0;
    }
}

/* Breadcrumb */
.breadcrumb a {
    color: #00ffd5;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}

/* === Modern Footer === */
.site-footer {
    background-color: #0d0d0d;
    color: #ccc;
    padding: 60px 20px 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    padding: 10px;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #00ffd5;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #aaa;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: 0.2s ease;
}

.footer-column ul li a:hover {
    color: #00ffd5;
}

.footer-logo img {
    width: 110px;
    vertical-align: middle;
}

.portal-name {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 15px 0 10px;
}

.about-text {
    color: #aaa;
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 20px;
}

.footer-social a {
    color: #888;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: #00ffd5;
}

.get-started-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 26px;
    background: linear-gradient(to right, #00ffd5, #00a8ff);
    color: #000;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 0 10px #00ffd5;
    transition: 0.3s ease;
}

.get-started-btn:hover {
    box-shadow: 0 0 20px #00ffd5;
    transform: translateY(-2px);
}

.footer-disclaimer {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.7;
    max-width: 1100px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid #222;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column {
        margin-bottom: 30px;
    }

    .footer-social {
        justify-content: center;
    }
}


/* === FAQ Accordion === */
.faq-accordion {
    max-width: 800px;
    margin: auto;
}

.faq-item {
    margin-bottom: 15px;
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #222;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 20px;
    background: none;
    border: none;
    color: #00ffd5;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}

.faq-question::after {
    content: '\25BC';
    position: absolute;
    right: 20px;
    transition: transform 0.3s;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    color: #ccc;
    background-color: #111;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 15px 20px 20px;
}

/* Support Box */
.faq-support-box {
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px;
    background-color: #111;
    border-radius: 12px;
    border: 1px solid #222;
    color: #ccc;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.faq-support-box h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 10px;
}

.faq-support-box p {
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 20px;
}

.support-btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(to right, #ff6a00, #ff9500);
    box-shadow: 0 0 12px #ff6a00;
    transition: 0.3s ease;
}

.support-btn:hover {
    box-shadow: 0 0 20px #ff9500;
}

.notification-box {
    background: #1c1c1c;
    padding: 18px 20px;
    border-left: 4px solid #00ffd5;
    border-radius: 8px;
    color: #ccc;
}

textarea.wysiwyg {
    min-height: 120px;
    padding: 12px;
    font-size: 15px;
    background: #111;
    color: #fff;
    border-radius: 8px;
    border: 1px solid #00ffd5;
    resize: vertical;
}
