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

html, body {
    scroll-behavior: smooth;
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Poppins', sans-serif;
}

/* Custom Utilities for smooth scroll & active states */
.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.bg-hero-pattern {
    background-image: linear-gradient(to right, rgba(30, 41, 59, 0.95) 0%, rgba(30, 41, 59, 0.8) 45%, rgba(30, 41, 59, 0.3) 100%), url('../assets/herobg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
@media (max-width: 768px) {
    .bg-hero-pattern {
        background-attachment: scroll !important;
    }
}

.text-gradient {
    background: linear-gradient(90deg, #1D4ED8, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Testimonial slider custom pagination */
.swiper-pagination-bullet-active {
    background-color: #1D4ED8 !important;
}

/* Timeline Custom Styles */
.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2rem;
    width: 2px;
    background-color: #E2E8F0;
    z-index: -1;
}
@media (min-width: 768px) {
    .timeline-item::before {
        top: 2rem;
        bottom: auto;
        left: 0;
        right: 0;
        height: 2px;
        width: 100%;
    }
}

/* Google Translate Cleanups - Keep UI Pristine & Prevent Top Shift */
.goog-te-banner-frame.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
}
body {
    top: 0px !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.goog-te-gadget {
    color: transparent !important;
    font-size: 0 !important;
}
.goog-te-gadget .goog-te-combo {
    margin: 0 !important;
}

/* Floating Action Buttons Accessibility Widget */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-end;
}
.fab-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
    flex-shrink: 0;
}
.fab-button:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}
.fab-tooltip {
    position: absolute;
    right: 62px;
    background: #1E293B;
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.fab-button:hover .fab-tooltip {
    opacity: 1;
    transform: translateX(0);
}
@media (max-width: 640px) {
    .fab-container {
        bottom: 20px;
        right: 16px;
        gap: 10px;
    }
    .fab-button {
        width: 44px;
        height: 44px;
    }
    .fab-button i, .fab-button svg {
        width: 20px !important;
        height: 20px !important;
    }
}
.fab-pulse {
    animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}
