/* Import Google Font if not already in HTML */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700;900&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
/* Custom transitions and marquee */
.brand-outline-thin {
    -webkit-text-stroke: 1px #334155;
    color: transparent;
}

/* Marquee Animations - Single definition */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes marquee-reverse {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

.animate-marquee {
    animation: marquee 28s linear infinite;
}

.animate-marquee-reverse {
    animation: marquee-reverse 28s linear infinite;
}

/* Float animation */
.floating-shape {
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Timeline dot */
.timeline-dot {
    transition: all 0.2s ease;
}

.group:hover .timeline-dot {
    transform: scale(1.3);
    background-color: #f97316;
}

/* Hover scale effect */
.hover-scale {
    transition: all 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.02);
}

/* Service card styles */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-6px);
}

.gradient-border {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.hover-glow:hover {
    box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
}

/* Modal functionality */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

#mobile-menu {
    position: fixed;
    inset-y: 0;
    right: 0;
    z-index: 50;
    width: 100%;
    max-width: 24rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border: none;
    padding: 0;
}

#mobile-menu.active {
    transform: translateX(0);
}

#mobile-menu:focus {
    outline: none;
}

/* Hide scrollbar on modal when needed */
body.modal-open {
    overflow: hidden;
}

/* Custom orange color overrides */
.hover\:text-orange-500:hover {
    color: #f97316 !important;
}

.text-orange-500 {
    color: #f97316;
}

.bg-orange-500 {
    background-color: #f97316;
}

.hover\:bg-orange-600:hover {
    background-color: #ea580c;
}

.ring-orange-500 {
    --tw-ring-color: #f97316;
}

.focus-visible\:outline-orange-500:focus-visible {
    outline-color: #f97316;
}

.from-orange-500 {
    --tw-gradient-from: #f97316;
}

.to-amber-600 {
    --tw-gradient-to: #d97706;
}