:root {
    /* --primary-color: #004aad; */
    --primary-color: #DC3545;
    --secondary-color: #ffc107;
    /* --accent-color: #00d2ff; */
    --accent-color: #562cec;
    --mysecondary-color: #304459;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}


body {
    font-family: 'Outfit', sans-serif;
    background-color: #f0f2f5;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--primary-color);
}

/* Minhas mudança no boostrap */
.btn-secondary {
    background-color: var(--mysecondary-color) !important;
    border-color: var(--mysecondary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;

}

.text-secondary {
    color: var(--mysecondary-color) !important;

}

.btn-secondary:hover {
    background-color: var(--mysecondary-color) !important;
    border-color: var(--mysecondary-color) !important;
}

.btn-outline-secondary {
    color: var(--mysecondary-color) !important;
    border-color: var(--mysecondary-color) !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary.active,
.btn-outline-secondary:focus {
    background-color: var(--mysecondary-color) !important;
    border-color: var(--mysecondary-color) !important;
    color: #fff !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--mysecondary-color) !important;
    border-color: var(--mysecondary-color) !important;
}


/*    background: rgba(48, 68, 89, 0.45); /* sua cor com opacidade */
/*    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(16, 24, 32, 0.25);
    color: #fff; /* ajustar conforme necessário */


/* Navbar */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: var(--glass-border);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color) !important;

}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}


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

/* Hero Section / Carousel */
.carousel-item {
    height: 100vh;
    background-position: center;
    background-size: cover;
    position: relative;
}

.mysecondary-color {
    color: var(--mysecondary-color);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.4), rgba(26, 26, 46, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.carousel-caption-custom {
    z-index: 2;
    max-width: 850px;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(0.5px);
    -webkit-backdrop-filter: blur(0.5px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.carousel-caption-custom h1 {
    font-size: 4rem;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    font-weight: 800;
    animation: fadeInUp 1s ease-out;
}

.carousel-caption-custom p {
    font-size: 1.4rem;
    margin-bottom: 35px;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 74, 173, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 74, 173, 0.4);
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
}

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

footer h5 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

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

/* Responsive */
@media (max-width: 768px) {
    .carousel-item {
        height: 100vh;
    }

    .carousel-caption-custom h1 {
        font-size: 2rem;
    }
}

/* Custom Modal Backdrop */
.modal-backdrop {
    background-color: rgba(255, 255, 255, 0.3) !important;
    /* Light and transparent */
    backdrop-filter: blur(10px);
    /* Blurred */
    -webkit-backdrop-filter: blur(10px);
}


.modal-backdrop.show {
    opacity: 1 !important;
    /* Ensure our background color alpha controls the transparency */
}

/* Page Loader */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f2f5;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

#page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}