/* Enhanced Styles for Title Registry Landing Page */

/* Hero Section Enhancements */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(135,206,235,0.05)" points="0,1000 1000,800 1000,1000"/></svg>') no-repeat bottom;
    background-size: cover;
}

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

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

.hero-visual {
    position: relative;
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    background: white;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.service-icon-wrapper {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1);
}

/* Why Choose Us Cards */
.why-choose-card {
    background: white;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid #f1f3f4;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.why-choose-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.2);
    border-color: rgba(135, 206, 235, 0.3);
}

.icon-wrapper {
    transition: all 0.3s ease;
}

.why-choose-card:hover .icon-wrapper {
    transform: scale(1.1);
}

/* Button Styles */
.btn-baby-blue {
    background-color: #87CEEB;
    border-color: #87CEEB;
    color: #1e3a8a;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-baby-blue:hover {
    background-color: #6BB6E0;
    border-color: #6BB6E0;
    color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(135, 206, 235, 0.4);
}

.btn-outline-navy {
    border-color: #1e3a8a;
    color: #1e3a8a;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-navy:hover {
    background-color: #1e3a8a;
    border-color: #1e3a8a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

/* Trust Rating */
.trust-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

/* Pain Points and Solutions */
.pain-points .fas.fa-times-circle,
.solution-points .fas.fa-check-circle {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.stat-item {
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(135, 206, 235, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(135, 206, 235, 0.2);
}

.stat-item:hover {
    transform: translateY(-3px);
    background: rgba(135, 206, 235, 0.2);
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.3);
    border-color: rgba(135, 206, 235, 0.4);
}

/* Trust Indicators */
.trust-item {
    border-radius: 16px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #f1f3f4;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.trust-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(135, 206, 235, 0.1), transparent);
    transition: left 0.5s ease;
}

.trust-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.15);
    border-color: #87ceeb;
}

.trust-item:hover::before {
    left: 100%;
}

/* Enhanced Button Styles */
.btn {
    border-radius: 10px !important;
    font-weight: 600 !important;
    padding: 14px 28px !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    letter-spacing: 0.025em;
    border: 2px solid transparent !important;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

/* Removed hover pseudo-element that was blocking clicks */
}

.btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
}

.btn-baby-blue:hover {
    background-color: #6bb6d6 !important;
    border-color: #6bb6d6 !important;
}

.btn-navy:hover {
    background-color: #1e40af !important;
    border-color: #1e40af !important;
}

/* Enhanced Service Content */
.service-content {
    position: relative;
    overflow: hidden;
}

.service-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.02) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-column:hover .service-content::before {
    transform: translateX(100%);
}

/* Enhanced Typography */
.lead {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* Symbol Enhancements */
.symbol-large, .symbol-large-navy {
    font-size: 3rem;
    line-height: 1;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
}

.feature-section:hover .symbol-large,
.feature-section:hover .symbol-large-navy {
    transform: scale(1.1) rotate(5deg);
}

/* Enhanced Footer */
.social-links a {
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #87ceeb;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.social-links a:hover::before {
    transform: scale(1);
}

.social-links a:hover {
    color: #1e3a8a !important;
    transform: translateY(-2px);
}

.social-links a i {
    position: relative;
    z-index: 1;
}

/* Navigation Enhancements */
.navbar {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #87ceeb;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Service Column Hover Effects */
.service-column {
    transition: all 0.3s ease;
    position: relative;
}

.service-column::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-column:hover::after {
    opacity: 1;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-content,
.trust-item,
.stat-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Feature Section Enhancements */
.feature-section {
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 8px;
}

.feature-section:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero {
        min-height: 50vh;
        padding: 2rem 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .stat-item {
        margin-bottom: 1rem;
    }
    
    .symbol-large, .symbol-large-navy {
        font-size: 2.5rem;
    }
    
    .btn {
        padding: 12px 24px !important;
        font-size: 0.9rem !important;
    }
    
    .trust-item {
        margin-bottom: 1rem;
    }
}

/* Accessibility Improvements */
.btn:focus,
.nav-link:focus {
    outline: 2px solid #87ceeb;
    outline-offset: 2px;
}

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

/* Performance Optimizations */
* {
    will-change: auto;
}

.service-column:hover,
.trust-item:hover,
.btn:hover {
    will-change: transform;
}