﻿/* Custom Styles for NonTotalLoss */

/* General Styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1 {
    color: white;
}

.gradient-bg {
    background: linear-gradient(to bottom, rgb(73, 120, 231) 0%, #ffffff 100%);
    background-attachment: fixed;
}

main {
    flex: 1;
}

.hero-section-contents {
    display: flex;
}
/* Navigation Bar */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0; /* Increased padding to make navbar taller */
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem; /* Increased from default */
}

.nav-link {
    font-size: 1.1rem; /* Increased from default */
    padding: 0.5rem 1rem !important; /* More padding around links */
}

.nav-icon {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    font-size: 1.2rem; /* Increased icon size */
}



/* Footer */
footer {
    margin-top: auto;
}

    footer a {
        text-decoration: none;
        transition: color 0.3s ease;
    }

        footer a:hover {
            color: #0d6efd !important;
        }

/* Custom Button Styles */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

    .btn-primary:hover {
        background-color: #0b5ed7;
        border-color: #0a58ca;
    }

/* Form Styles */
.form-control {
    border-radius: 20px;
    border-color: #c8d6e5;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: #4978e7;
        box-shadow: 0 0 0 0.25rem rgba(73, 120, 231, 0.15);
    }

.form-check-input {
    border-color: #c8d6e5;
}

    .form-check-input:checked {
        background-color: #4978e7;
        border-color: #4978e7;
    }

/* Card Styles */
.card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
    }



/* Bootstrap Color Customization */
:root {
    /* Define your custom colors here */
    --bs-primary: #1a5f7a; /* Custom primary color */
    --bs-primary-rgb: 26, 95, 122; /* RGB values of primary color */
    --bs-secondary: #2d2d2d; /* Custom secondary color */
    --bs-secondary-rgb: 45, 45, 45; /* RGB values of secondary color */
    /* Hover states - slightly darker versions */
    --bs-primary-hover: #134a60;
    --bs-secondary-hover: #1a1a1a;
}

.partner-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    justify-items: center;
    background: white;
}

.partner-scroll-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: fit-content;
    padding: 20px 0;
}

.partner-logo {
    height: 80px; /* Increased size */
    width: auto;
    margin: 0 40px; /* Increased spacing between logos */
    object-fit: contain;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Optional: Pause animation on hover */
.partner-scroll-track:hover {
    animation-play-state: paused;
}

.title-container {
    display: flex;
    justify-content: right;
    flex-direction: column;
    align-items: flex-end;
}

.form-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 2.5rem;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.first-section {
    display: flex;
    flex-wrap: nowrap;
    padding-top: 0;
    position: relative;
    min-height: 100vh;
    align-items: center;
    padding: 10rem 2rem;
    flex-direction: row;
    justify-content: space-between;
}

.form-wrapper {
    order: 0;
}

.title-container {
    order: 1;
}

.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(73, 120, 231, 0.7), rgba(0, 0, 0, 0.8)), url("/images/Damaged_Car.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
    transform: translateX(0);
    will-change: transform;
    -webkit-mask-image: radial-gradient( ellipse at center, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100% );
    mask-image: radial-gradient( ellipse at center, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100% );
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-size: cover;
}

.first-section section {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Hero Title Responsive Sizing */
/*.hero-title {
    font-size: 4.5rem;*/ /* Base size */
/*}*/

.fifth-section {
    padding-top: 3rem;
}

.nav-icon {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.nav-link:hover .nav-icon {
    opacity: 1;
}

.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #0d6efd;
    color: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1000;
    transform: translateY(100px);
    font-size: 1.25rem;
}

    .scroll-to-top-btn.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .scroll-to-top-btn:hover {
        background-color: #0b5ed7;
        transform: translateY(-3px);
    }

.hero-title {
    font-size: clamp(2.5rem, 6vw, 8rem);
    text-align: right;
}

.lead-title {
    width: 60%;
    text-align: right;
    font-size: 1.5rem; /* Increased from default 1.25rem */
    line-height: 1.6; /* Adjusted line height for better readability */
    font-weight: 400; /* Keeping the light weight for elegance */
}

.form {
    max-width: 850px;
    min-width: 850px;
}

/* Media Breaks Start Here */

@media (max-width: 1280px) {

    .first-section {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .form-wrapper {
        order: 2;
    }

    .title-container {
        order: 1;
        text-align: center;
        align-items: center;
    }

    .lead-title {
        text-align: center;
    }

    .form {
        min-width: unset;
    }

}

@media (max-width: 768px) {
    .first-section {
        padding: 6rem 1rem;
    }

    .nav-link {
        font-size: 1rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    footer .col-md-4 {
        margin-bottom: 1.5rem;
    }

    .title-container {
        align-items: center;
        text-align: center;
    }

    .lead-title {
        width: 100%;
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .card {
        padding: 1rem;
    }

    .hero-title {
        text-align:center;
    }
}