@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* Custom scrollbar for a premium feel */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a; 
}
::-webkit-scrollbar-thumb {
    background: #306E66; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #23524b; 
}

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Glassmorphism utilities */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-dark {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover effects for Portfolio/Behance vibe */
.portfolio-item {
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.portfolio-item img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-text {
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-text {
    transform: translateY(0);
}

/* Floating WhatsApp Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float-anim {
    animation: float 3s ease-in-out infinite;
}

/* Sticky Bottom Bar Mobile adjustments */
@media (max-width: 768px) {
    body {
        padding-bottom: 80px; /* Leave space for sticky bar */
    }
}

/* FAQ Accordion smooth transitions */
.faq-answer {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                overflow 0s 0.4s;
}

.faq-card {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-card:hover {
    box-shadow: 0 4px 20px rgba(44, 122, 123, 0.08);
}
