/* ===== Custom Styles for Sandhills Integrated Care ===== */

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

/* Body */
body {
    overflow-x: hidden;
}

/* ===== Hero Animations ===== */
.hero-elem {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-elem:nth-child(1) { animation-delay: 0.1s; }
.hero-elem:nth-child(2) { animation-delay: 0.25s; }
.hero-elem:nth-child(3) { animation-delay: 0.4s; }
.hero-elem:nth-child(4) { animation-delay: 0.55s; }
.hero-elem:nth-child(5) { animation-delay: 0.7s; }

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

/* ===== Section Animations ===== */
.section-label {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.section-title {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.6s ease 0.1s;
}

.section-label.visible,
.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Service Cards ===== */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Navbar ===== */
.navbar-scrolled {
    background: rgba(253, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(123, 45, 59, 0.08);
}

/* ===== Mobile Menu ===== */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* ===== Divider Line ===== */
.divider-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7B2D3B, #f9a7b8);
    border-radius: 2px;
}

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

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

::-webkit-scrollbar-thumb {
    background: #f9cfd8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f4a7b8;
}

/* ===== Focus Styles ===== */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* ===== Button Hover Glow ===== */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

/* ===== Image Hover ===== */
img {
    transition: transform 0.6s ease;
}

/* ===== Responsive Typography ===== */
@media (max-width: 640px) {
    .font-serif {
        line-height: 1.15;
    }
}

/* ===== Selection Color ===== */
::selection {
    background: #fce4e8;
    color: #7B2D3B;
}
