/* Professional Polish - Refined Visual Elements */

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

/* Better link styling */
a {
    transition: all 0.3s ease;
}

/* Section titles with refined styling */
.text-center h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.text-center .text-muted {
    font-size: 1.15rem;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}

/* Card refinements */
.card {
    border-radius: 12px;
    border: 2px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-body {
    padding: 24px;
}

.card-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Resources section cards */
.resources-section .card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.resources-section .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
    border-color: var(--primary-light);
}

.resources-section .card-body i {
    transition: all 0.3s ease;
}

.resources-section .card:hover .card-body i {
    transform: scale(1.1);
    color: var(--secondary);
}

/* Service features list refinement */
.service-features {
    list-style: none;
    padding-left: 0;
}

.service-features li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Navbar refinement */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid var(--border);
}

/* Better focus states for accessibility */
*:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Subtle animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.service-card,
.card {
    animation: fadeInUp 0.6s ease-out;
}

/* Stagger animation delays */
.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

/* Better text selection */
::selection {
    background-color: var(--secondary-light);
    color: white;
}

::-moz-selection {
    background-color: var(--secondary-light);
    color: white;
}

/* Refined spacing */
section {
    padding: 60px 0;
}

/* Professional container max-width */
.container {
    max-width: 1200px;
}

/* Better image rendering */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Subtle pulse animation for CTAs */
@keyframes subtle-pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
    }
    50% {
        box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
    }
}

.btn-primary-large {
    animation: subtle-pulse 3s ease-in-out infinite;
}

.btn-primary-large:hover {
    animation: none;
}
