@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

.gradient-bg {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
}

.gradient-accent {
    background: linear-gradient(135deg, #2b61a8 0%, #1f4f8f 100%);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.nav-sticky {
    transition: all 0.3s ease;
}

.scroll-smooth {
    scroll-behavior: smooth;
}

.accent-red {
    color: #2b61a8;
}

.accent-green {
    color: #6b7280;
}

.bg-accent-red {
    background-color: #2b61a8;
}

.bg-accent-green {
    background-color: #6b7280;
}

.logo-text {
    display: flex;
    align-items: center;
    height: 100%;
}



.nav-logo {
    height: 58px;
    width: auto;
    display: block;
}


.contact-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(180deg, #2b61a8 0%, #1f4f8f 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform .18s ease, box-shadow .18s ease;
    z-index: 9999;
}

/* Hover/active */
.contact-float:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* SVG icon sizing */
.contact-float svg {
    width: 28px;
    height: 28px;
    fill: white;
}

/* Optional small label */
.contact-badge {
    position: absolute;
    right: 70px;
    bottom: 16px;
    background: #ffffff;
    color: #1f4f8f;
    padding: 6px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(6px);
    transition: opacity .18s ease, transform .18s ease;
    pointer-events: none;
    font-size: 13px;
}

/* show badge on hover (desktop) */
.contact-float:hover+.contact-badge,
/* in case DOM order differs */
.contact-float:hover .contact-badge {
    opacity: 1;
    transform: translateX(0);
}

.contact-float i {
    color: #ffffff;
    font-size: 26px;
}


/* AMS brand color overrides for old Tailwind red utility classes still present in the template */
.hover\:text-red-600:hover,
.hover\:text-red-500:hover {
    color: #2b61a8;
}
.hover\:bg-red-700:hover,
.hover\:bg-red-600:hover {
    background-color: #1f4f8f;
}


.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lang-switcher-mobile {
    margin-bottom: 8px;
}

.lang-btn {
    width: 38px;
    height: 38px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.lang-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

.lang-btn.active {
    border-color: #2b61a8;
    box-shadow: 0 0 0 2px rgba(43, 97, 168, 0.18);
}

@media (max-width: 767px) {
    .nav-logo {
        height: 52px;
    }
}


/* Legal notice page */
.legal-page {
    padding-top: 120px;
}

.legal-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
    padding: 32px;
}

.legal-content {
    display: none;
}

.legal-content.active {
    display: block;
}

.legal-content h2 {
    margin-top: 28px;
    margin-bottom: 12px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #111827;
}

.legal-content p,
.legal-content li {
    color: #374151;
    line-height: 1.75;
}

.legal-content ul {
    margin-left: 1.25rem;
    list-style: disc;
}

.legal-note {
    border-left: 4px solid #2b61a8;
    background: #eff6ff;
    padding: 14px 16px;
    border-radius: 10px;
    color: #1f2937;
}

/* SEO content cards */
.seo-section {
    position: relative;
}

/* Language links */
.lang-btn {
    text-decoration: none;
}

/* Legal notice page */
.legal-page {
    padding-top: 120px;
}

.legal-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
    padding: 32px;
}

.legal-content h2 {
    margin-top: 28px;
    margin-bottom: 12px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #111827;
}

.legal-content p,
.legal-content li {
    color: #374151;
    line-height: 1.75;
}

.legal-content ul {
    margin-left: 1.25rem;
    list-style: disc;
}

.legal-note {
    border-left: 4px solid #2b61a8;
    background: #eff6ff;
    padding: 14px 16px;
    border-radius: 10px;
    color: #1f2937;
}

/* Anti-spam phone reveal */
.phone-reveal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #1f4f8f;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.phone-reveal-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,.16);
    background: #eff6ff;
}

.phone-reveal-link {
    color: #d1d5db;
    text-decoration: underline;
    text-underline-offset: 3px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    font: inherit;
}

.phone-reveal-link:hover {
    color: #ffffff;
}

.phone-reveal-hint {
    margin-top: 8px;
    font-size: .85rem;
    color: rgba(255,255,255,.72);
}
