/* Debt Collection Specific Styles */
:root {
    --primary-color: #017bf5;
    --secondary-color: #392729;
    --accent-color: #2d2525;
    --dark-color: #2b2d42;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header h2 span {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Hero Section */
.debt-hero {
    padding: 180px 0 80px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    position: relative;
    overflow: hidden;
}

.debt-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1621761191319-c6fb62004040?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1887&q=80') center/cover;
    opacity: 0.1;
    z-index: -1;
}

.debt-hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.debt-hero .hero-content {
    flex: 1;
    text-align: center;
}

.debt-hero .hero-content h1 {
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.2;
}

.debt-hero .hero-content h1 span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.debt-hero .hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(230, 57, 70, 0.2);
    z-index: -1;
    transition: var(--transition);
}

.debt-hero .hero-content:hover h1 span::after {
    height: 15px;
}

.debt-hero .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--gray-color);
    max-width: 600px;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.debt-hero .hero-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transform: perspective(1000px) rotateY(-15deg);
    transition: var(--transition);
}

.debt-hero .hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.debt-hero .hero-image img {
    transition: var(--transition);
    width: 100%;
    height: auto;
    display: block;
}

.debt-hero .hero-image:hover img {
    transform: scale(1.05);
}

/* Trust Indicators */
.trust-indicators {
    padding: 40px 0;
    background-color: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.trust-item {
    padding: 20px;
    border-radius: var(--border-radius);
    background-color: var(--light-color);
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.trust-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.trust-item span {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
}

/* Performance Section */
.guarantee-section {
    padding: 80px 0;
    background-color: #fff5f5;
}

.guarantee-card {
    display: flex;
    align-items: center;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.guarantee-content {
    flex: 1;
    padding: 40px;
}

.guarantee-content h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.guarantee-content h2 span {
    color: var(--primary-color);
}

.guarantee-content p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 30px;
}

.recovery-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 20px 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.recovery-badge span:first-child {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.recovery-badge span:last-child {
    font-size: 1rem;
    opacity: 0.9;
}

.guarantee-card:hover .recovery-badge {
    transform: scale(1.05);
}

.guarantee-image {
    flex: 1;
    height: 400px;
    overflow: hidden;
}

.guarantee-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.guarantee-image:hover img {
    transform: scale(1.1);
}

/* Customer-Centric Approach */
.customer-approach {
    padding: 80px 0;
    background-color: var(--white);
}

.approach-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.approach-text {
    flex: 1;
}

.approach-text p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 30px;
}

.approach-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.point {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.point:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.point i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.point span {
    font-weight: 600;
}

.approach-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.approach-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.approach-image:hover img {
    transform: scale(1.05);
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background-color: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    position: relative;
    padding: 30px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-content {
    margin-top: 20px;
}

.step-content h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.step-content p {
    color: var(--gray-color);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-card h4 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.info-card p {
    color: var(--gray-color);
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-color);
    font-weight: 500;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
}

.input-with-icon input,
.input-with-icon textarea {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.input-with-icon textarea {
    height: 150px;
    resize: vertical;
}

.input-with-icon input:focus,
.input-with-icon textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(1, 123, 245, 0.1);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-about .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-about .logo i {
    color: var(--primary-color);
}

.footer-about p {
    color: var(--light-gray);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--light-gray);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .debt-hero .container,
    .approach-content,
    .contact-container {
        flex-direction: column;
    }

    .debt-hero .hero-content,
    .approach-text,
    .contact-info {
        margin-bottom: 40px;
    }

    .guarantee-card {
        flex-direction: column;
    }

    .guarantee-content {
        text-align: center;
    }

    .recovery-badge {
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .trust-grid,
    .approach-points,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .debt-hero {
        padding: 120px 0 60px;
    }

    .approach-points {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .guarantee-banner h3 {
        font-size: 1.5rem;
    }

    .guarantee-banner p {
        font-size: 1rem;
    }

    .step-card {
        padding: 20px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-grid {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Message Container */
.message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 300px;
}

.message {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease-out;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Auth Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: var(--white);
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: var(--gray-color);
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--dark-color);
}

.auth-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.btn-google {
    background-color: #fff;
    color: #757575;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-google:hover {
    background-color: #f5f5f5;
}

/* Prominent Google Button */
.btn-google.prominent {
    background-color: #4285f4;
    border-color: #4285f4;
    color: white;
    font-size: 1rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
    transition: all 0.3s ease;
}

.btn-google.prominent:hover {
    background-color: #3367d6;
    border-color: #3367d6;
    color: white;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
    transform: translateY(-1px);
}

.google-logo {
    width: 18px;
    height: 18px;
    margin-right: 0.75rem;
    filter: brightness(0) invert(1);
}

.divider-text {
    text-align: center;
    color: var(--gray-color);
    margin: 1.5rem 0 1rem 0;
    font-size: 0.9rem;
    position: relative;
}

.divider-text::before,
.divider-text::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background-color: var(--light-gray);
}

.divider-text::before {
    left: 0;
}

.divider-text::after {
    right: 0;
}

.btn-email {
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-email:hover {
    background-color: var(--secondary-color);
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-color);
    text-decoration: underline;
    padding: 0;
    margin: 10px 0;
}

.btn-link:hover {
    color: var(--secondary-color);
}

/* Password Strength Meter */
.password-strength-meter {
    height: 5px;
    background-color: #eee;
    margin: 10px 0;
    border-radius: 3px;
    overflow: hidden;
}

.password-strength-meter::before {
    content: '';
    display: block;
    height: 100%;
    width: 0;
    transition: width 0.3s ease;
}

.password-strength-meter.weak::before {
    width: 33.33%;
    background-color: #ff4444;
}

.password-strength-meter.medium::before {
    width: 66.66%;
    background-color: #ffbb33;
}

.password-strength-meter.strong::before {
    width: 100%;
    background-color: #00C851;
}

.password-strength-text {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* User Menu */
#user-menu {
    display: none;
    align-items: center;
    gap: 15px;
}

.user-email {
    color: var(--dark-color);
    font-weight: 500;
}

#auth-buttons {
    display: flex;
    gap: 15px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo i {
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader-inner {
    text-align: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--light-gray);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Legal Services Section */
.legal-services-section {
    padding: 80px 0;
    background-color: var(--white);
}

.legal-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.legal-service-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.legal-service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.legal-service-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.legal-service-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.service-features li i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.legal-cta {
    text-align: center;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-top: 40px;
}

.legal-cta p {
    margin-bottom: 20px;
    color: var(--dark-color);
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .legal-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .legal-services-grid {
        grid-template-columns: 1fr;
    }
}