/* Custom styles for Global Migration & Education Solutions */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Custom button hover effects */
a, button {
    transition: all 0.3s ease;
}

/* Form styles */
input, textarea, select {
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Card hover effects */
.shadow-lg {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

/* Mobile menu animation */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Logo SVG text styling */
svg text {
    font-family: 'Arial Black', Arial, sans-serif;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}

/* WhatsApp float button pulse */
@keyframes wa-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    70%  { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.wa-float {
    animation: wa-pulse 2.5s infinite;
}

/* University logos marquee */
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.university-marquee {
    animation: marquee 30s linear infinite;
    width: max-content;
}
.university-marquee:hover {
    animation-play-state: paused;
}
.university-marquee-wrapper::before,
.university-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.university-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f9fafb, transparent);
}
.university-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f9fafb, transparent);
}
.university-logo-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-size: 0.95rem;
    font-weight: 700;
    color: #374151;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 9999px;
    padding: 10px 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: border-color 0.2s, color 0.2s;
}
.university-logo-item:hover {
    border-color: #2563eb;
    color: #2563eb;
}

/* Line clamp utilities (not in Tailwind v2 CDN) */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Single blog post hero image — 16:9 aspect ratio, max 450px tall */
.post-hero-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 450px;
    overflow: hidden;
    background-color: #e5e7eb;
}