/*
Theme Name: Astra child theme
Author: 
Description: Your description goes here
Version: 1.0
Template: astra

This is the child theme for Astra theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/


.ast-container{
    max-width:100% !important;
    padding-left:0 !important;
    padding-right:0 !important;
}

.site-content{
    padding-top:0 !important;
    padding-bottom:0 !important;
}

.entry-content{
    margin:0 !important;
}

.page .entry-header {
    display: none !important;
}

.ch-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }


/* ================= HEADER ================= */
:root {
    --its-primary: #2563eb;
    --its-dark: #0f172a;
    --its-text: #334155;
    --its-border: #e2e8f0;
}

.its-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Top bar */
.its-topbar { background: var(--its-dark); color: #cbd5e1; font-size: 13px; padding: 9px 0; }
.its-topbar-info { display: flex; gap: 24px; }
.its-top-link {
    color: #cbd5e1; text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
    transition: color .2s;
}
.its-top-link:hover { color: #fff; }
.its-top-menu { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.its-top-menu a { color: #cbd5e1; text-decoration: none; font-size: 13px; }
.its-top-menu a:hover { color: #fff; }

/* Main header */
.its-header {
    background: #fff;
    border-bottom: 1px solid var(--its-border);
    position: sticky; top: 0; z-index: 999;
    transition: box-shadow .3s;
}
.its-header.is-stuck { box-shadow: 0 4px 20px rgba(15,23,42,.08); }
.its-header .its-container { min-height: 74px; }

.its-logo-text { text-decoration: none; }
.its-logo-mark { font-size: 22px; font-weight: 700; color: var(--its-dark); letter-spacing: -.02em; }
.custom-logo { max-height: 46px; width: auto; }

/* Primary menu */
.its-primary-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.its-primary-menu li { position: relative; }
.its-primary-menu > li > a {
    display: block; padding: 26px 14px;
    color: var(--its-text); font-size: 15px; font-weight: 500;
    text-decoration: none; transition: color .2s;
}
.its-primary-menu > li > a:hover,
.its-primary-menu > li.current-menu-item > a { color: var(--its-primary); }

.its-primary-menu > li.menu-item-has-children > a::after {
    content: ""; display: inline-block;
    width: 6px; height: 6px; margin-left: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

/* Dropdown */
.its-primary-menu .sub-menu {
    position: absolute; top: 100%; left: 0;
    min-width: 235px; background: #fff;
    border: 1px solid var(--its-border); border-radius: 10px;
    box-shadow: 0 12px 32px rgba(15,23,42,.1);
    padding: 8px; list-style: none; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all .22s ease;
}
.its-primary-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.its-primary-menu .sub-menu a {
    display: block; padding: 10px 12px; border-radius: 6px;
    color: var(--its-text); font-size: 14px; text-decoration: none;
    transition: all .18s;
}
.its-primary-menu .sub-menu a:hover { background: #f1f5f9; color: var(--its-primary); }
.its-primary-menu .sub-menu .sub-menu { top: -8px; left: 100%; }

/* Button */
.its-btn {
    display: inline-block; background: var(--its-primary);
    color: #fff !important; padding: 11px 22px; border-radius: 8px;
    font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
    transition: transform .2s, background .2s;
}
.its-btn:hover { background: #1d4ed8; transform: translateY(-1px); }
.its-nav-cta { display: none; }

/* Toggle */
.its-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.its-toggle span { width: 24px; height: 2px; background: var(--its-dark); border-radius: 2px; transition: .25s; }
.its-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.its-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.its-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile ---------- */
@media (max-width: 991px) {
    .its-topbar-info { gap: 14px; font-size: 12px; }
    .its-topbar-nav { display: none; }
    .its-btn-desktop { display: none; }
    .its-toggle { display: flex; }

    .its-nav {
        position: fixed; top: 0; right: -100%;
        width: min(320px, 85vw); height: 100vh;
        background: #fff; padding: 80px 20px 40px;
        overflow-y: auto; box-shadow: -8px 0 30px rgba(0,0,0,.12);
        transition: right .3s ease; z-index: 1000;
    }
    .its-nav.is-open { right: 0; }

    .its-primary-menu { flex-direction: column; align-items: stretch; gap: 0; }
    .its-primary-menu > li > a { padding: 14px 4px; border-bottom: 1px solid var(--its-border); }

    .its-primary-menu .sub-menu {
        position: static; opacity: 1; visibility: visible; transform: none;
        border: 0; box-shadow: none; padding: 0 0 0 14px;
        max-height: 0; overflow: hidden; transition: max-height .3s ease;
    }
    .its-primary-menu li.is-open > .sub-menu { max-height: 600px; }
    .its-primary-menu .sub-menu .sub-menu { left: 0; top: 0; }

    .its-primary-menu > li.menu-item-has-children > a::after { float: right; margin-top: 6px; }
    .its-primary-menu > li.is-open > a::after { transform: rotate(-135deg); }

    .its-nav-cta { display: block; margin-top: 20px; }
    .its-nav-cta .its-btn { display: block; text-align: center; }

    .its-overlay {
        position: fixed; inset: 0; background: rgba(15,23,42,.45);
        opacity: 0; visibility: hidden; transition: .3s; z-index: 998;
    }
    .its-overlay.is-open { opacity: 1; visibility: visible; }
}


/* ================= FOOTER ================= */
.its-footer {
    background: #0b1120;
    color: #94a3b8;
    position: relative;
    overflow: hidden;
}
.its-footer::before {
    content: "";
    position: absolute;
    top: -180px; right: -120px;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(37,99,235,.16) 0%, transparent 68%);
    pointer-events: none;
}
.its-footer::after {
    content: "";
    position: absolute;
    bottom: 40px; left: -160px;
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(139,92,246,.10) 0%, transparent 70%);
    pointer-events: none;
}

.its-f-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* ---- CTA band ---- */
.its-footer-cta {
    background: linear-gradient(120deg, #2563eb 0%, #4f46e5 50%, #7c3aed 100%);
    position: relative;
    z-index: 3;
}
.its-footer-cta .its-f-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-top: 46px;
    padding-bottom: 46px;
    flex-wrap: wrap;
}
.its-cta-text h2 {
    color: #fff;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 0 0 6px;
    line-height: 1.25;
}
.its-cta-text p {
    color: rgba(255,255,255,.82);
    font-size: 15px;
    margin: 0;
}
.its-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    color: #1e293b !important;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0,0,0,.16);
    transition: transform .25s, box-shadow .25s;
}
.its-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,.24);
}
.its-cta-btn svg { transition: transform .25s; }
.its-cta-btn:hover svg { transform: translateX(4px); }

/* ---- Main grid ---- */
.its-footer-main { padding: 66px 0 52px; }
.its-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr;
    gap: 40px 32px;
}

.its-flogo img { max-height: 44px; width: auto; }
.its-flogo-text {
    display: inline-block;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -.02em;
}
.its-fdesc {
    font-size: 14px;
    line-height: 1.75;
    margin: 18px 0 22px;
    max-width: 320px;
    color: #94a3b8;
}

/* Socials */
.its-socials { display: flex; gap: 9px; }
.its-social {
    width: 38px; height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.09);
    color: #cbd5e1;
    text-decoration: none;
    transition: all .25s;
}
.its-social:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    transform: translateY(-3px);
}

/* Column headings */
.its-fhead {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 12px;
}
.its-fhead::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 28px; height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
}

/* Link lists */
.its-flist { list-style: none; margin: 0; padding: 0; }
.its-flist li { margin-bottom: 11px; }
.its-flist a {
    color: #94a3b8;
    font-size: 14.5px;
    text-decoration: none;
    display: inline-block;
    transition: color .22s, transform .22s;
}
.its-flist a:hover { color: #fff; transform: translateX(5px); }

/* Contact list */
.its-fcontact { list-style: none; margin: 0 0 26px; padding: 0; }
.its-fcontact li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 14px;
    font-size: 14.5px;
    line-height: 1.6;
}
.its-fcontact svg { flex-shrink: 0; margin-top: 3px; color: #3b82f6; }
.its-fcontact a { color: #94a3b8; text-decoration: none; transition: color .22s; }
.its-fcontact a:hover { color: #fff; }

/* Newsletter */
.its-fnews-label {
    color: #e2e8f0;
    font-size: 13.5px;
    font-weight: 500;
    margin: 0 0 11px;
}
.its-fnews {
    display: flex;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 5px;
    transition: border-color .25s;
}
.its-fnews:focus-within { border-color: #3b82f6; }
.its-fnews input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    outline: none;
    color: #fff;
    font-size: 14px;
    padding: 9px 11px;
}
.its-fnews input::placeholder { color: #64748b; }
.its-fnews button {
    flex-shrink: 0;
    width: 38px; height: 38px;
    border: 0;
    border-radius: 7px;
    background: #2563eb;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .22s, transform .22s;
}
.its-fnews button:hover { background: #1d4ed8; transform: translateX(2px); }

/* ---- Bottom bar ---- */
.its-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 22px 0;
}
.its-footer-bottom .its-f-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.its-copy { font-size: 13.5px; margin: 0; color: #64748b; }
.its-legal-menu {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.its-legal-menu a {
    color: #64748b;
    font-size: 13.5px;
    text-decoration: none;
    transition: color .22s;
}
.its-legal-menu a:hover { color: #fff; }

/* ---- Back to top ---- */
.its-totop {
    position: fixed;
    right: 24px; bottom: 24px;
    width: 46px; height: 46px;
    border: 0;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(37,99,235,.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: all .3s ease;
    z-index: 997;
}
.its-totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.its-totop:hover { background: #1d4ed8; transform: translateY(-3px); }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    .its-footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .its-fcol-contact { grid-column: 1 / -1; }
    .its-fcol-contact .its-fcontact { max-width: 380px; }
    .its-fnews { max-width: 420px; }
}

@media (max-width: 767px) {
    .its-footer-cta .its-f-container {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 38px;
        padding-bottom: 38px;
    }
    .its-cta-btn { width: 100%; justify-content: center; }

    .its-footer-main { padding: 48px 0 38px; }
    .its-footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
    .its-fcol-brand { grid-column: 1 / -1; }
    .its-fdesc { max-width: 100%; }

    .its-footer-bottom .its-f-container {
        flex-direction: column;
        text-align: center;
    }
    .its-legal-menu { justify-content: center; flex-wrap: wrap; gap: 16px; }

    .its-totop { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

@media (max-width: 480px) {
    .its-footer-grid { grid-template-columns: 1fr; }
}


