/* Custom Styles for BenefitSource */

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

:root {
    --charcoal: #2C3E50;
    --coral: #E76F6F;
    --coral-dark: #D45959;
    --stone-50: #FAFAF8;
    --white: #FFFFFF;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--charcoal);
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Navigation */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Buttons */
.btn-primary {
    background: var(--coral);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Animations */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.8s ease forwards;
}

.reveal-text:nth-child(2) {
    animation-delay: 0.2s;
}

.reveal-text:nth-child(3) {
    animation-delay: 0.4s;
}

.reveal-text:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu */
.mobile-link {
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--coral);
}

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

/* Form Styles */
input:focus,
select:focus,
textarea:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(231, 111, 111, 0.1);
}

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

::-webkit-scrollbar-track {
    background: var(--stone-50);
}

::-webkit-scrollbar-thumb {
    background: var(--charcoal);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--coral);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-playfair {
        font-size: 2rem;
    }
}
