/* 
* PrecisionClaims - Modern Landing Page
* Custom CSS Styles
*/

:root {
    --bs-primary: #0d6efd;
    --bs-primary-rgb: 13, 110, 253;
    --bs-primary-subtle: rgba(13, 110, 253, 0.1);
    --bs-secondary: #6c757d;
    --bs-dark: #212529;
    --bs-light: #f8f9fa;
    --bs-body-font-family: 'Inter', sans-serif;
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #212529;
    --bs-body-bg: #fff;
}

/* General Styles */
body {
    font-family: var(--bs-body-font-family);
    font-size: var(--bs-body-font-size);
    font-weight: var(--bs-body-font-weight);
    line-height: var(--bs-body-line-height);
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
}

/* Utility Classes */
.py-lg-7 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* Header */
.header {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

/* Hero Section */
.hero {
    background-color: var(--bs-light);
    background-image: linear-gradient(180deg, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.hero-image {
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-5px);
}

/* Services Section */
.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* About Section */
.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--bs-primary);
    border-radius: 0.75rem;
    top: -15px;
    left: -15px;
    z-index: -1;
}

/* Expertise Section */
.expertise-item {
    margin-bottom: 2rem;
}

.expertise-item .icon-box {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
}

/* Testimonials Section */
.testimonials .card {
    transition: transform 0.3s ease;
}

.testimonials .card:hover {
    transform: translateY(-5px);
}

/* Contact Section */
.contact-info .icon-box {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
}

.form-control, .form-select {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Footer */
.footer {
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTI4MCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzIxMjUyOSI+PHBhdGggZD0iTTEyODAgMTQwVjBTOTkzLjQ2IDE0MCA2NDAgMTM5IDAgMCAwIDB2MTQweiIvPjwvZz48L3N2Zz4=');
    background-size: 100% 100px;
    background-position: top;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.1;
}

.social-links a {
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--bs-primary) !important;
}

/* Success Modal */
#successModal .icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .py-lg-7 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .about-image::before {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}