/* ================================================================ */
/*                    DIPART CONSOLIDATED STYLES                     */
/* ================================================================ */

/* Modern CSS Variables */
:root {
    /* Primary Colors */
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --primary-light: #6ea8fe;
    
    /* Secondary Colors */
    --secondary: #6c757d;
    --secondary-dark: #495057;
    --secondary-light: #adb5bd;
    
    /* Success Colors */
    --success: #198754;
    --success-dark: #146c43;
    --success-light: #75b798;
    
    /* Danger Colors */
    --danger: #dc3545;
    --danger-dark: #b02a37;
    --danger-light: #ea868f;
    
    /* Warning Colors */
    --warning: #ffc107;
    --warning-dark: #b45309;
    --warning-light: #ffda6a;
    
    /* Info Colors */
    --info: #0dcaf0;
    --info-dark: #0aa2c0;
    --info-light: #6edff6;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light: #f8f9fa;
    --dark: #212529;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Theme Colors */
    --background: #1756b3;
    --main: #1756b3;
    --hover: #0d47a1;
    --cotation: #e3f2fd;
    --logo: #1756b3;
    
    /* Typography */
    --font-family-sans: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-monospace: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    
    /* Font Sizes */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;
    
    /* Spacing */
    --spacing-0: 0;
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;
    
    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-2xl: 1.5rem;
    --border-radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
}

/* Dark Mode Variables */
[data-bs-theme="dark"] {
    --white: #1a1a1a;
    --light: #2d2d2d;
    --dark: #ffffff;
    --gray-100: #2d2d2d;
    --gray-200: #404040;
    --gray-300: #525252;
    --gray-400: #737373;
    --gray-500: #a3a3a3;
    --gray-600: #d4d4d4;
    --gray-700: #e5e5e5;
    --gray-800: #f5f5f5;
    --gray-900: #fafafa;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family-sans);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--gray-900);
    background-color: var(--white);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--gray-900);
    margin-bottom: var(--spacing-4);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    margin-bottom: var(--spacing-4);
    line-height: var(--line-height-relaxed);
}

/* Links */
a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ================================================================ */
/*                         BUTTONS                                  */
/* ================================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3) var(--spacing-6);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-normal);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

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

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

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

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

.btn-lg {
    padding: var(--spacing-4) var(--spacing-8);
    font-size: var(--font-size-lg);
    border-radius: var(--border-radius-lg);
}

.btn-sm {
    padding: var(--spacing-2) var(--spacing-4);
    font-size: var(--font-size-sm);
    border-radius: var(--border-radius-sm);
}

/* ================================================================ */
/*                        FORMS                                     */
/* ================================================================ */

.form-control {
    display: block;
    width: 100%;
    padding: var(--spacing-3) var(--spacing-4);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--gray-900);
    background-color: var(--white);
    background-clip: padding-box;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    color: var(--gray-900);
    background-color: var(--white);
    border-color: var(--primary);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgb(13 110 253 / 0.25);
}

.form-label {
    margin-bottom: var(--spacing-2);
    font-weight: var(--font-weight-medium);
    color: var(--gray-700);
}

/* ================================================================ */
/*                        CARDS                                     */
/* ================================================================ */

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: var(--white);
    background-clip: border-box;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: all var(--transition-normal);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-body {
    flex: 1 1 auto;
    padding: var(--spacing-6);
}

.card-title {
    margin-bottom: var(--spacing-3);
    font-weight: var(--font-weight-semibold);
    color: var(--gray-900);
}

.card-text {
    color: var(--gray-600);
    line-height: var(--line-height-relaxed);
}

/* ================================================================ */
/*                       TABLES                                     */
/* ================================================================ */

.table {
    width: 100%;
    margin-bottom: var(--spacing-6);
    color: var(--gray-900);
    vertical-align: top;
    border-color: var(--gray-300);
}

.table > :not(caption) > * > * {
    padding: var(--spacing-4);
    border-bottom-width: 1px;
}

.table > thead {
    background-color: var(--gray-100);
}

.table > thead > tr > th {
    font-weight: var(--font-weight-semibold);
    color: var(--gray-700);
    border-bottom: 2px solid var(--gray-300);
}

.table > tbody > tr:hover {
    background-color: var(--gray-100);
}

/* ================================================================ */
/*                     UTILITIES                                    */
/* ================================================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }
.text-info { color: var(--info) !important; }
.text-light { color: var(--gray-600) !important; }
.text-dark { color: var(--gray-900) !important; }

.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-success { background-color: var(--success) !important; }
.bg-danger { background-color: var(--danger) !important; }
.bg-warning { background-color: var(--warning) !important; }
.bg-info { background-color: var(--info) !important; }
.bg-light { background-color: var(--gray-100) !important; }
.bg-dark { background-color: var(--gray-900) !important; }

.shadow { box-shadow: var(--shadow) !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }

.rounded { border-radius: var(--border-radius) !important; }
.rounded-lg { border-radius: var(--border-radius-lg) !important; }
.rounded-xl { border-radius: var(--border-radius-xl) !important; }

/* Spacing Utilities */
.m-0 { margin: var(--spacing-0) !important; }
.m-1 { margin: var(--spacing-1) !important; }
.m-2 { margin: var(--spacing-2) !important; }
.m-3 { margin: var(--spacing-3) !important; }
.m-4 { margin: var(--spacing-4) !important; }
.m-5 { margin: var(--spacing-5) !important; }

.p-0 { padding: var(--spacing-0) !important; }
.p-1 { padding: var(--spacing-1) !important; }
.p-2 { padding: var(--spacing-2) !important; }
.p-3 { padding: var(--spacing-3) !important; }
.p-4 { padding: var(--spacing-4) !important; }
.p-5 { padding: var(--spacing-5) !important; }

/* Display Utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }

/* Flex Utilities */
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-center { align-items: center !important; }

/* ================================================================ */
/*                    RESPONSIVE UTILITIES                          */
/* ================================================================ */

@media (min-width: 576px) {
    .d-sm-none { display: none !important; }
    .d-sm-block { display: block !important; }
    .d-sm-flex { display: flex !important; }
}

@media (min-width: 768px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
    .d-md-flex { display: flex !important; }
}

@media (min-width: 992px) {
    .d-lg-none { display: none !important; }
    .d-lg-block { display: block !important; }
    .d-lg-flex { display: flex !important; }
}

@media (min-width: 1200px) {
    .d-xl-none { display: none !important; }
    .d-xl-block { display: block !important; }
    .d-xl-flex { display: flex !important; }
}

/* ================================================================ */
/*                   COMPONENTS - ALERTS                            */
/* ================================================================ */

.alert {
    position: relative;
    padding: var(--spacing-4);
    margin-bottom: var(--spacing-4);
    border: 1px solid transparent;
    border-radius: var(--border-radius);
}

.alert-success {
    color: var(--success-dark);
    background-color: var(--success-light);
    border-color: var(--success);
}

.alert-danger {
    color: var(--danger-dark);
    background-color: var(--danger-light);
    border-color: var(--danger);
}

.alert-warning {
    color: var(--warning-dark);
    background-color: var(--warning-light);
    border-color: var(--warning);
}

.alert-info {
    color: var(--info-dark);
    background-color: var(--info-light);
    border-color: var(--info);
}

/* Badge */
.badge {
    display: inline-block;
    padding: var(--spacing-1) var(--spacing-2);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: var(--border-radius-full);
}

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

.badge-success {
    color: var(--white);
    background-color: var(--success);
}

.badge-danger {
    color: var(--white);
    background-color: var(--danger);
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 0.25em solid var(--gray-300);
    border-right-color: var(--primary);
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

/* ================================================================ */
/*                      ANIMATIONS                                  */
/* ================================================================ */

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ================================================================ */
/*                    PRINT STYLES                                  */
/* ================================================================ */

@media print {
    .no-print { display: none !important; }
    body { background: white !important; }
    .card { box-shadow: none !important; border: 1px solid #ddd !important; }
}

/* ================================================================ */
/*                    ACCESSIBILITY                                 */
/* ================================================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Styles */
.btn:focus,
.form-control:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: var(--border-radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* ================================================================ */
/*                     HEADER STYLES                                */
/* ================================================================ */

header {
    background-color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

header #menu {
    display: flex;
    justify-content: right;
    flex-direction: column;
}

header #menu .social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

header #menu .social a {
    padding: 10px;
    font-size: large;
}

header .header-logo img {
    height: 100px;
}

header .header-logo img path {
    fill: var(--logo);
}

.menu-item:hover {
    background-color: var(--hover);
}

.menu-item-submenu {
    width: 100px;
    padding: 10px;
    text-align: center;
}

.menu-item-submenu-large {
    width: 200px;
    padding: 10px;
    text-align: center;
}

.menu-item-submenu-large:hover {
    background-color: var(--secondary);
    color: black !important;
}

.menu-item-submenu:hover {
    background-color: white;
    border-left: 1px solid black;
    border-right: 1px solid black;
    color: black !important;
}

.submenu {
    margin-left: -10px;
    background-color: var(--main);
    display: none;
    position: absolute;
    z-index: 2;
    height: 0;
    transition: 0.2s;
}

.submenu a {
    color: white !important;
}

@media only screen and (min-width: 768px) {
    #mobileMenuIcon {
        display: none;
    }

    header #menu {
        margin-right: 20px;
    }

    header #menu nav {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        flex-direction: row;
    }

    header #menu nav a {
    }

    .menu-item {
        height: 42px;
        padding: 10px;
        text-align: center;
    }

    .dropdown:hover .submenu {
        display: block;
        color: black !important;
        height: auto;
        transition: 0.2s;
    }
}

@media only screen and (max-width: 768px) {
    header #menu {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 113px;
        z-index: 1;
        display: none;
    }

    header #menu .social {
        display: none;
    }

    header #nav {
        flex-direction: column;
        background-color: white;
        width: 100%;
        height: 100%;
    }

    #mobileMenuIcon {
        float: right;
        display: flex;
        align-items: center;
        padding: 0px 10px;
    }

    #mobileMenuIcon i {
        font-size: 40px;
    }

    .menu-item {
        padding: 10px;
        text-align: center;
        display: block;
    }
}

/* ================================================================ */
/*                    FOOTER STYLES                                 */
/* ================================================================ */

footer {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: var(--background);
    color: white !important;
}

footer p, footer a {
    color: white !important;
}

footer .social i {
    padding: 10px;
    font-size: 30px;
}

footer li:hover {
    background-color: var(--secondary);
}

@media only screen and (max-width: 480px) {
    footer #site-map, footer #contacts {
        display: none;
    }
}

/* ================================================================ */
/*                    HOME STYLES                                   */
/* ================================================================ */

.MultiCarousel { 
    overflow: hidden; 
    padding: 15px; 
    width: 100%; 
    position: relative; 
}

.MultiCarousel .MultiCarousel-inner { 
    transition: 1s ease all; 
    float: left; 
}

.MultiCarousel .MultiCarousel-inner .item { 
    float: left; 
    width: 150px !important; 
    height: 150px;
}

.MultiCarousel .MultiCarousel-inner .item > div { 
    text-align: center; 
    padding: 10px; 
    margin: 10px;
}

.MultiCarousel .leftLst, .MultiCarousel .rightLst { 
    position: absolute; 
    border-radius: 50%; 
    top: calc(50%); 
}

.MultiCarousel .leftLst { 
    left: 0; 
}

.MultiCarousel .rightLst { 
    right: 40px; 
}

.MultiCarousel .leftLst.over, .MultiCarousel .rightLst.over { 
    pointer-events: none; 
    background: var(--secondary); 
}

#cotation {
    height: 500px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-image: linear-gradient(90deg, white, #1756b3);
    padding-bottom: 0px;
}

#cotation #content {
    display: flex;
    flex-direction: column;
    align-items: end;
    padding: 15px 0px;
    padding: 30px;
    border-radius: 25px;
    color: white
}

#cotationRequest {
    align-items: center;
    appearance: none;
    background-color: #22D0F5;
    color: black;
    border-radius: 4px;
    border-width: 0;
    box-shadow: hwb(260 11% 80% / 0.2) 0 2px 4px, rgba(45, 35, 66, 0.15) 0 7px 13px -3px, #181f29 0 -3px 0 inset;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-flex;
    height: 48px;
    justify-content: center;
    line-height: 1;
    list-style: none;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
    position: relative;
    text-align: left;
    text-decoration: none;
    transition: box-shadow .15s, transform .15s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    will-change: box-shadow, transform;
    font-size: 18px;
}

#cotationRequest:focus {
    box-shadow: #181f29 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #11161d 0 -3px 0 inset;
}

#cotationRequest:hover {
    box-shadow: rgba(45, 35, 66, 0.3) 0 4px 8px, rgba(45, 35, 66, 0.2) 0 7px 13px -3px, #11161d 0 -3px 0 inset;
    transform: translateY(-2px);
}

#cotationRequest:active {
    box-shadow: #181f29 0 3px 7px inset;
    transform: translateY(2px);
}

#cotation h3 {
    font-size: xxx-large;
    text-align: end;
    margin: 0px 0px 20px 0px;
}

#cotation h4 {
    font-size: large;
    font-weight: 100;
    text-align: end;
    margin: 0px 0px 20px 0px;
    max-width: 400px;
    float: right;
}

#tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: 0% 10%;
}

#tags .tag p {
    padding: 0px 15px 20px;
    text-align: center;
    color: #302f2f;
    font-size: smaller;
}

#tags .tag {
    min-height: 210px;
    margin: 0px;
    padding: 15px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    word-wrap: normal;
}

#tags .tag h4 {
    font-size: 1.3rem;
    font-weight: bold;
    padding: 1px;
    margin: 0px !important;
}

#tags .tag i {
    width: fit-content;
    padding: 15px;
    border-radius: 50px;
}

.big-box {
    height: 200px;
    width: 180px;
    margin: 20px 10px;
    background-color: var(--cotation);
    border-radius: 17px;
    padding-top: 10px;
}

#home #infos {
    background-color: var(--secondary);
}

#home #infos .info p {
    text-align: justify;
    padding: 10px;
}

#home #insurances {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

#home #insurances .insurance, .big-box {
    width: 190px;
    height: 254px;
    background-color: var(--cotation);
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.2s;
}

#home #insurances .insurance:hover p, #home #insurances .insurance:hover h3, #home #insurances .insurance:hover i {
    color: white;
}

#home #insurances .insurance:hover, .big-box:hover {
    transform: scale(1.05);
    background-color: var(--background);
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    transition: 0.2s;
}

#home #insurances .insurance i {
    padding: 10px;
    border-radius: 999px;
}

.insurance::after {
    content: "Saiba Mais";
    background-color: white;
    transform: translateY(-50px);
    width: 80px;
    display: flex;
    align-self: center;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid var(--hover);
    font-size: 15px;
    visibility: hidden;
}

.insurance:hover::after {
    visibility: visible;
}

.big-box {
    height: 135px;
}

.big-box p {
    text-align: center;
}

#home #insuranceCompanies {
    background-color: white;
}

@media only screen and (min-width: 768px) {
    #cotation #content {
        height: 280px;
        align-self: center;
        width: 500px;
        color: white
    }
    
    #home #infos {
        padding: 50px;
        margin: 0% 10% 0% 10%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    #tags {
        padding: 20px;
    }
}

@media only screen and (max-width: 480px) {
    #cotation .c3 p {
        margin-top: 50px;
        margin-left: calc(18%);
    }
    
    #cotation {
        height: 500px !important;
    }

    #cotation img {
        display: none;
    }

    #tags .tag {
        margin: 20px 0px;
    }
    
    #home #insurances .insurance {
    }
}

/* ================================================================ */
/*                 COTATION PAGE STYLES                             */
/* ================================================================ */

.sucess {
    background-color: #72ff72;
    padding: 10px;
    margin: 10px;
}

.cotation-item {
    background-color: var(--cotation);
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    transition: 0.2s;
}

.cotation-item:hover {
    background-color: var(--hover);
    transform: scale(1.1);
    transition: 0.2s;
}

/* ================================================================ */
/*                 PAGINATION STYLES                                */
/* ================================================================ */

#pages ul {
    display: flex;
    flex-direction: row;
}

#pages .active {
    background-color: var(--main);
    border-radius: 99px;
    width: 20px;
    text-align: center;
}

#pages .page-item {
    width: 20px;
    text-align: center;
    border-radius: 99px;
    margin: 0 5px;
}

#pages .page-item:hover {
    background-color: var(--secondary);
}

.pagination-controls {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding-left: 0;
    list-style: none;
    margin: 1rem 0;
}

.pagination-controls .page-item {
    display: inline-block;
}

.pagionation-wrapper svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.pagination-controls .page-link,
.pagination-controls .page-link:link,
.pagination-controls .page-link:visited,
.pagination-controls a,
.pagination-controls span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #e6eef9;
    color: #2b3440;
    background: #ffffff;
    min-width: 38px;
    height: 38px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition: all 0.15s ease;
}

.pagination-controls .page-link:hover {
    transform: translateY(-2px);
    border-color: #c7d2fe;
    background: linear-gradient(180deg, #fbfdff, #eef2ff);
}

.pagination-controls .active .page-link,
.pagination-controls .page-item.active span.page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.22);
}

.pagination-controls .disabled .page-link,
.pagination-controls .page-item.disabled span.page-link {
    opacity: 0.55;
    cursor: default;
    pointer-events: none;
    background: #f8fafc;
}

.pagination-controls .page-link .arrow,
.pagination-controls .page-link .label {
    display: inline-block;
}

.pagination-controls .page-link .arrow {
    font-size: 0.95rem;
    margin: 0 6px;
}

@media (max-width: 480px) {
    .pagination {
        gap: 6px;
    }

    .pagination .page-link {
        padding: 0.35rem 0.5rem;
        min-width: 32px;
        height: 34px;
        font-size: 0.9rem;
    }

    .pagination .page-item:first-child .page-link,
    .pagination .page-item:last-child .page-link {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

.pagination-controls .page-link:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.12);
}

/* ================================================================ */
/*            FILTER & SEARCH STYLES                                */
/* ================================================================ */

.filter-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    align-items: flex-end;
}

.filter-container label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.filter-container input[type="text"],
.filter-container input[type="date"],
.filter-container select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    background-color: white;
    color: #333;
    transition: all 0.3s ease;
}

.filter-container input[type="text"]:focus,
.filter-container input[type="date"]:focus,
.filter-container select:focus {
    outline: none;
    border-color: #4a73df;
    box-shadow: 0 0 0 3px rgba(74, 115, 223, 0.1);
    background-color: #fff;
}

.filter-container input[type="text"]:hover,
.filter-container input[type="date"]:hover,
.filter-container select:hover {
    border-color: #999;
}

.filter-container input:disabled,
.filter-container select:disabled {
    background-color: #f0f0f0;
    color: #999;
    cursor: not-allowed;
}

.filter-container select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 35px;
}

.sort-group {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #4a73df;
}

.sort-group-title {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-group-title::before {
    content: "⚙";
    font-size: 1.1rem;
}

.sort-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.sort-controls label {
    margin-bottom: 4px;
}

.sort-controls select {
    font-size: 0.9rem;
    padding: 8px 10px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.filter-container button,
.filter-container input[type="submit"] {
    padding: 11px 22px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-container input[type="submit"],
.filter-container .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.filter-container input[type="submit"]:hover,
.filter-container .btn-primary:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    transform: translateY(-2px);
}

.filter-container .button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 11px 22px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.filter-container .button:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.filter-container .button.secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.filter-container .button.secondary:hover {
    background: linear-gradient(135deg, #e07adb 0%, #e03d52 100%);
}

@media (max-width: 768px) {
    .filter-container {
        padding: 15px;
    }

    .filter-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sort-controls {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .filter-container input[type="text"],
    .filter-container input[type="date"],
    .filter-container select {
        padding: 9px 10px;
        font-size: 16px;
    }

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

    .filter-container button,
    .filter-container input[type="submit"],
    .filter-container .button {
        width: 100%;
        text-align: center;
    }
}

#filter {
    margin-bottom: 20px;
}

div[style*="margin-top: 10px"] {
    margin-top: 15px !important;
    padding: 12px 0;
}

select[name="sort"],
select[name="direction"] {
    min-width: 150px;
}

.filter-container input[type="text"]::placeholder {
    color: #999;
    font-style: italic;
}

.filter-container input.error,
.filter-container select.error {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.filter-container input.error:focus,
.filter-container select.error:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
}

.filter-container input.success,
.filter-container select.success {
    border-color: #28a745;
    background-color: #f5fff9;
}

.filter-container input.success:focus,
.filter-container select.success:focus {
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
    border-color: #28a745;
}

.filter-message {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-message.success {
    background-color: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

.filter-message.error {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.filter-message.warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
}

.filter-message.info {
    background-color: #d1ecf1;
    border-left: 4px solid #17a2b8;
    color: #0c5460;
}

.filter-divider {
    border: none;
    border-top: 2px dashed #ddd;
    margin: 15px 0;
}

.filter-loading {
    animation: pulse 1.5s ease-in-out infinite;
}

.filter-container * {
    transition: all 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    .filter-container {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    }

    .filter-container label {
        color: #ecf0f1;
    }

    .filter-container input[type="text"],
    .filter-container input[type="date"],
    .filter-container select {
        background-color: #34495e;
        color: #ecf0f1;
        border-color: #555;
    }

    .filter-container input[type="text"]:focus,
    .filter-container input[type="date"]:focus,
    .filter-container select:focus {
        border-color: #667eea;
        background-color: #2c3e50;
    }

    .sort-group {
        background-color: rgba(60, 80, 100, 0.8);
    }

    .sort-group-title {
        color: #ecf0f1;
    }
}

/* ================================================================ */
/*              QUEM SOMOS PAGE STYLES (MISSING)                    */
/* ================================================================ */

#quem_somos {
    font-size: larger;
    padding: 20px;
}

/* Grid layout for about page - 60/40 split */
.c4-5 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.c4-5.content {
    grid-column: 1;
}

.c5 {
    grid-column: 1;
}

.c4-5 p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

.c5 img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for desktop */
@media (min-width: 768px) {
    .c4-5 {
        grid-template-columns: 1.5fr 1fr;
    }

    .c4-5.content {
        grid-column: 1;
    }

    .c5 {
        grid-column: 2;
    }

    .c5 img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    #quem_somos {
        padding: 10px;
    }

    .c4-5 {
        gap: 20px;
    }

    .c4-5 p {
        font-size: 0.95rem;
    }
}
