/* ==========================================
   CLEVER TECHIE SITE HEADER
   ========================================== */

.ct-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background:
        linear-gradient(180deg, rgba(3, 12, 20, 0.94), rgba(3, 12, 20, 0.88));
    border-bottom: 1px solid rgba(255,255,255,0.07);
    backdrop-filter: blur(14px);
}

.ct-site-header-inner {
    max-width: 1680px;
    margin: 0 auto;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.ct-brand {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    text-decoration: none;
}

.ct-brand-logo {
    width: 76px;
    height: 76px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 12px rgba(30,214,255,0.14));
}

.ct-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.ct-brand-title {
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    white-space: nowrap;
}

.ct-brand-subtitle {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
    color: #00f0dc;
    white-space: nowrap;
}

.ct-site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    flex-shrink: 0;
}

.ct-site-nav a {
    color: #d9e7f4;
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    transition: color 0.18s ease;
}

.ct-site-nav a:hover {
    color: #ffffff;
}

/* Search button inside header */
.ct-site-nav .search-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    color: #e8f0f7;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.ct-site-nav .search-trigger-btn:hover {
    background: rgba(30,214,255,0.10);
    border-color: rgba(30,214,255,0.24);
    color: #ffffff;
    transform: translateY(-1px);
}

.search-trigger-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.search-trigger-icon {
    color: #bcd0e2;
}

.ct-site-nav .search-trigger-btn:hover .search-trigger-icon {
    color: #1ed6ff;
}

.search-trigger-shortcut {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b7c7d8;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 900px) {
    .ct-site-header-inner {
        padding: 22px 24px;
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .ct-site-nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 14px;
    }
}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 600px) {
    .ct-site-header-inner {
        padding: 18px;
    }

    .ct-brand {
        gap: 14px;
    }

    .ct-brand-logo {
        width: 60px;
        height: 60px;
    }

    .ct-brand-title {
        font-size: 22px;
        letter-spacing: 0.06em;
    }

    .ct-brand-subtitle {
        font-size: 13px;
        white-space: normal;
    }

    .ct-site-nav {
        gap: 10px;
    }

    .ct-site-nav .search-trigger-btn {
        width: 100%;
        justify-content: space-between;
    }

    .ct-site-nav a {
        font-size: 15px;
    }
}

@media (max-width: 420px) {
    .ct-brand-title {
        font-size: 19px;
    }

    .ct-brand-logo {
        width: 54px;
        height: 54px;
    }
}

/* ==========================================
   CLEVER TECHIE SITE FOOTER
   ========================================== */

.ct-footer {
    position: relative;
    margin-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background:
        radial-gradient(circle at center, rgba(0,255,220,0.06), transparent 38%),
        linear-gradient(180deg, #04111d 0%, #020913 100%);
}

.ct-footer-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 60px 40px 28px;
}

.ct-footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 42px;
    align-items: start;
}

.ct-footer-brand {
    display: flex;
    gap: 18px;
    align-items: center;
}

.ct-footer-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(0,255,220,0.14));
}

.ct-footer-title {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 1.6px;
    color: #ffffff;
    line-height: 1;
}

.ct-footer-tagline {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #00f0dc;
    letter-spacing: 0.3px;
}

.ct-footer-heading {
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #00f0dc;
}

.ct-footer-links-group a {
    display: block;
    margin-bottom: 12px;
    color: #d8e5f4;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.18s ease;
}

.ct-footer-links-group a:hover {
    color: #00f0dc;
    transform: translateX(3px);
}

.ct-footer-about {
    margin: 0;
    color: #b4c7d8;
    line-height: 1.75;
    font-size: 15px;
}

.ct-footer-bottom {
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.ct-footer-copy {
    color: #7f94a8;
    font-size: 14px;
}

.ct-footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.ct-footer-bottom-links a {
    color: #9fb4c7;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.ct-footer-bottom-links a:hover {
    color: #00f0dc;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1100px) {
    .ct-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 720px) {

    .ct-footer-inner {
        padding: 46px 22px 24px;
    }

    .ct-footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ct-footer-brand {
        align-items: center;
    }

    .ct-footer-logo {
        width: 58px;
        height: 58px;
    }

    .ct-footer-title {
        font-size: 28px;
    }

    .ct-footer-tagline {
        font-size: 14px;
    }

    .ct-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
