/*
* Fast Rent USA - Modern Styles
* Beautiful, impactful, and clean design with modern patterns
******************************************************************************/

/* Import modern fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Montserrat:wght@300;400;500;600;700&display=swap');

.menu .app-brand.demo {
    height: 64px;
    margin-top: 12px;
}

.app-brand-logo.demo svg {
    width: 22px;
    height: 38px;
}

.app-brand-text.demo {
    font-size: 1.75rem;
    letter-spacing: -0.5px;
}

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
    padding-top: 74px !important;
}

/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px !important;
}

.docs-page .layout-navbar-fixed.layout-wrapper:not(.layout-without-menu) .layout-page,
.docs-page .layout-menu-fixed.layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 62px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
    z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks>* {
    display: block !important;
}

.demo-inline-spacing>* {
    margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing>* {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element> :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-lg>* {
    margin-top: 1.875rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element> :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-xl>* {
    margin-top: 5rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element> :first-child {
    margin-top: 0 !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
    #dropdown-variation-demo .btn-group .text-truncate {
        width: 231px;
        position: relative;
    }

    #dropdown-variation-demo .btn-group .text-truncate::after {
        position: absolute;
        top: 45%;
        right: 0.65rem;
    }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 1rem;
}

.layout-demo-placeholder img {
    width: 900px;
}

.layout-demo-info {
    text-align: center;
    margin-top: 1rem;
}

/* Custom styles for Fast Rent USA */

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    min-height: 100vh;
}

/* Modern Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Impactful H1 Styles */
h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #54595F;
    position: relative;
    text-align: center;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #E8AF00, #D4AF37);
    border-radius: 2px;
    animation: lineExpand 2s ease-out;
}

@keyframes textGlow {
    from {
        filter: drop-shadow(0 0 5px rgba(232, 175, 0, 0.5));
    }

    to {
        filter: drop-shadow(0 0 20px rgba(232, 175, 0, 0.8));
    }
}

@keyframes lineExpand {
    from {
        width: 0;
    }

    to {
        width: 80px;
    }
}

/* Secondary Headings */
h2 {
    font-size: 2.5rem;
    color: #1a202c;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #E8AF00, #D4AF37);
    border-radius: 2px;
}

h3 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

h4 {
    font-size: 1.5rem;
    color: #4a5568;
    margin-bottom: 1rem;
}

/* Enhanced Paragraphs */
p {
    font-size: 1.1rem;
    color: #718096;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: #4a5568;
    line-height: 1.6;
}

/* Modern Hero Section */
.hero {
    background: #ffffff;
    color: #54595F;
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    border-radius: 0 0 50px 50px;
}

.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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: #54595F;
    text-shadow: 0 2px 10px rgba(232, 175, 0, 0.3);
    animation: slideInUp 1s ease-out;
    font-weight: 700;
}

.hero p {
    color: #54595F;
    font-weight: 500;
    text-shadow: none;
    animation: slideInUp 1s ease-out 0.2s both;
}

.hero .btn {
    background: #54595F;
    border: 2px solid #54595F;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    animation: slideInUp 1s ease-out 0.4s both;
    box-shadow: 0 4px 15px rgba(84, 89, 95, 0.3);
}

.hero .btn:hover {
    background: #3d4145;
    border-color: #3d4145;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(84, 89, 95, 0.4);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Logo Styles */
.hero-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInUp 1s ease-out 0.6s both;
}

.hero-logo {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    /*border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);*/
    background-color: transparent;
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

/* Modern Features Section */
.features {
    padding: 5rem 0;
    background: white;
}

.features .card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.features .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E8AF00, #D4AF37);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.features .card:hover::before {
    transform: scaleX(1);
}

.features .card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(232, 175, 0, 0.15);
}

.features .card .card-body {
    text-align: center;
}

.features .card i {
    font-size: 3rem;
    color: #E8AF00;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.features .card:hover i {
    transform: scale(1.1);
    color: #D4AF37;
}

.features .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.features .card-text {
    color: #718096;
    line-height: 1.6;
}

/* Modern Navbar */
.navbar {
    background: #E8AF00;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #54595F !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: #3d4145 !important;
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #54595F !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #3d4145 !important;
    transform: translateY(-2px);
}

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

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

.btn-primary {
    background: #54595F;
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(84, 89, 95, 0.3);
    color: white;
}

.btn-primary:hover {
    background: #3d4145;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(84, 89, 95, 0.4);
}

/* Modern Footer */
footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: auto;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E8AF00, #D4AF37, #B8860B);
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 400;
}

/* Additional custom styles */
.demo-vertical-spacing>* {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element> :first-child {
    margin-top: 0 !important;
}

/* Modern Form Styles */
.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.form-control:focus {
    border-color: #E8AF00;
    box-shadow: 0 0 0 3px rgba(232, 175, 0, 0.1), 0 4px 20px rgba(232, 175, 0, 0.15);
    background: white;
    transform: translateY(-1px);
}

.form-label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.btn {
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.4);
}

/* Modern Card Styles */
.card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232, 175, 0, 0.1), transparent);
    transition: left 0.5s;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.card-text {
    color: #718096;
    line-height: 1.6;
}

/* Modern Sidebar Styles */
.sidebar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.sidebar .nav-link {
    color: #4a5568;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    background: #54595F;
    color: white;
}

.sidebar .nav-link:hover {
    background: #3d4145;
    transform: translateX(5px);
}

.sidebar .nav-link.active {
    background: #E8AF00;
    color: #54595F;
    box-shadow: 0 4px 15px rgba(232, 175, 0, 0.3);
}

.sidebar .nav-link i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.sidebar .nav-link:hover i {
    transform: scale(1.1);
}

.sidebar-heading {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid linear-gradient(90deg, #E8AF00, #D4AF37);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section visibility */
.seccion-activa {
    display: block;
}

.seccion-oculta {
    display: none;
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 3rem 0;
        border-radius: 0 0 30px 30px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .features .card {
        margin-bottom: 2rem;
    }

    .sidebar {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 2rem;
        border-radius: 15px;
    }

    .col-md-9,
    .col-lg-10,
    .offset-md-3,
    .offset-lg-2 {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .card-body {
        padding: 1.5rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

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

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid #000;
    }

    .btn-primary {
        background: #000;
        color: #fff;
    }
}

/* Sophisticated color palette adjustments */
body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.text-muted {
    color: #6c757d !important;
}

.text-primary {
    color: #E8AF00 !important;
}

.bg-light {
    background: rgba(248, 249, 250, 0.8) !important;
    backdrop-filter: blur(10px);
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}