/* Layer on top of freelancer-custom.css — layout polish & fixes */

html {
    scroll-behavior: smooth;
}

.gnc-site {
    background: var(--bg-white);
}

/* —— Header brand —— */
.menu-bar.v2 .menu-logo a {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.menu-bar.v2 .brand-mark {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.menu-bar.v2 .brand-text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--secondary-color);
    -webkit-text-fill-color: unset;
    background: none;
}

.menu-bar.v2 .brand-dot {
    color: var(--primary-color);
}

.btn-nav-cta {
    align-items: center;
    padding: 0.65rem 1.35rem;
    background: var(--primary-color);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    white-space: nowrap;
    margin-left: 1rem;
}

.btn-nav-cta:hover {
    background: var(--primary-dark);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

/* —— Footer —— */
.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    text-align: left;
}

.site-footer .footer-logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.site-footer .footer-logo span {
    color: var(--accent-color);
}

.site-footer .footer-tagline {
    margin: 0.75rem 0 0;
    max-width: 28rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.6;
}

.site-footer .footer-links h6,
.site-footer .footer-contact h6 {
    color: #fff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.site-footer .footer-links ul,
.site-footer .footer-contact ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer .footer-links li + li,
.site-footer .footer-contact li + li {
    margin-top: 0.5rem;
}

.site-footer .footer-links a,
.site-footer .footer-contact a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.site-footer .footer-links a:hover,
.site-footer .footer-contact a:hover {
    color: var(--accent-color);
}

.site-footer .footer-bottom {
    text-align: center;
}

.site-footer .footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.site-footer .footer-bottom a {
    color: rgba(255, 255, 255, 0.85);
}

/* —— Contact form —— */
.talk-to-us.v1 .invalid-feedback {
    display: none;
    color: #fecaca;
    font-size: 0.875rem;
    margin-top: 0.35rem;
}

.talk-to-us.v1 .form-control.is-invalid {
    border-color: #f87171 !important;
    background: rgba(248, 113, 113, 0.12) !important;
}

.talk-to-us.v1 .btn-anime.v2:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.talk-to-us.v1 .alert {
    border-radius: 0.5rem;
    border: none;
}

/* —— Tone down legacy template clashes —— */
.gnc-site .banner.v2 {
    background-attachment: scroll;
}

.gnc-site section {
    scroll-margin-top: 5.5rem;
}

@media (max-width: 991px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        text-align: center;
    }

    .site-footer .footer-tagline {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .menu-bar.v2 .brand-text {
        font-size: 1.15rem;
    }
}
