/* Custom CSS for Vic Duarte Website */

/* Variáveis Globais */
:root {
    /* Color Palette - Maintained as requested */
    --bg-light: #F2F2F2;
    --primary: #092140;
    --bs-primary: #092140;
    --bs-primary-rgb: 9, 33, 64;
    --secondary: #5F6073;
    --accent-1: #BF452A;
    --accent-2: #BF452A;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #0D0D0D;
    /* Typography Variables */
    --text-xs: clamp(0.75rem, 1.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 1.5vw, 1rem);
    --text-base: clamp(1rem, 1.75vw, 1.125rem);
    --text-lg: clamp(1.125rem, 2vw, 1.25rem);
    --text-xl: clamp(1.25rem, 2.5vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 3vw, 1.875rem);
    --text-3xl: clamp(1.875rem, 4vw, 2.25rem);
    --text-4xl: clamp(2.25rem, 5vw, 3rem);
    /* Responsive Spacing */
    --container-padding: clamp(1rem, 5vw, 3rem);
    --section-padding: clamp(3rem, 8vw, 5rem);
    --card-gap: clamp(1rem, 2.5vw, 1.5rem);
    /* Accessibility Colors - Improved Contrast */
    --text-on-light: #212529;
    --text-on-dark: #ffffff;
    --text-muted-light: #2C3E50;
    /* Darker for >4.5:1 contrast */
    --text-muted-dark: rgba(255, 255, 255, 0.85);
    /* Design System */
    --border-radius: clamp(8px, 1.5vw, 16px);
    --transition-speed: 0.3s;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Reset e Normalização */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-on-light);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Acessibilidade */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Tipografia */
p {
    font-size: var(--text-base);
}

h5 {
    font-size: var(--text-lg);
}

h4 {
    font-size: var(--text-xl);
}

h3 {
    font-size: var(--text-2xl);
}

h2 {
    font-size: var(--text-3xl);
}

h1 {
    font-size: var(--text-4xl);
}

.lead {
    font-size: var(--text-lg) !important;
    font-weight: 400;
}

.card-text {
    font-size: var(--text-base) !important;
    line-height: 1.7;
}

.card-title {
    font-size: var(--text-lg) !important;
    font-weight: 600;
    position: relative;
}

.card-title::after {
    content: none; /* Desativa o underline expansível */
}

.display-5 {
    font-size: var(--text-3xl) !important;
    font-weight: 700;
}

.text-muted {
    color: var(--text-muted-light) !important;
}

.text-white-75 {
    color: var(--text-muted-dark) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

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

.text-accent-1 {
    color: var(--accent-1) !important;
}

.text-accent-2 {
    color: var(--accent-2) !important;
}

/* Scroll e Container */
html {
    scroll-behavior: smooth;
}

.container {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

section {
    padding: var(--section-padding) 0;
    width: 100%;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-1) 100%);
    backdrop-filter: blur(10px);
    transition: all var(--transition-speed) ease;
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    min-height: 70px;
    width: 100%;
    will-change: transform;
}

.navbar .container {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: white !important;
    transition: all var(--transition-speed) ease;
    flex-shrink: 0;
    padding: 8px 0;
}

.navbar-brand img {
    height: 35px;
    margin-right: 10px;
    transition: transform var(--transition-speed) ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-collapse {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.navbar-nav {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 8px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 25px;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.95rem;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left var(--transition-speed) ease;
    border-radius: 25px;
}

.navbar-nav .nav-link:hover::before {
    left: 0;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.15);
}

.navbar-nav .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin-top: 8px;
    padding: 8px 0;
    min-width: 200px;
}

.navbar-nav .dropdown-item {
    color: var(--primary);
    padding: 10px 20px;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
}

.navbar-nav .dropdown-item:hover {
    background: rgba(9, 33, 64, 0.05);
    color: var(--accent-1);
    transform: translateX(4px);
}

.navbar-nav .dropdown-item i {
    width: 20px;
    text-align: center;
    margin-right: 10px;
    color: currentColor;
}

.navbar-nav .dropdown-divider {
    margin: 8px 0;
    border-color: rgba(9, 33, 64, 0.1);
}

.navbar-nav .dropdown-toggle::after {
    display: none;
}

.navbar-nav .dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform var(--transition-speed) ease;
}

.navbar-nav .dropdown.show .dropdown-toggle i {
    transform: rotate(180deg);
}

.btn-linkedin.btn-sm {
    padding: 6px 16px;
    font-size: 0.85rem;
    border-radius: 20px;
    font-weight: 600;
}

.navbar-toggler {
    border: none;
    padding: 6px 8px;
    margin-left: auto;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(9, 33, 64, 0.85) 0%, rgba(191, 69, 42, 0.75) 100%), url('../images/vic-hero-bg.jpg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 90px;
    width: 100%;
    will-change: transform;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 33, 64, 0.3);
    backdrop-filter: blur(1px);
}

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

/* Ícones Modernos */
.icon-box-modern {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed) ease;
    animation: float 4s ease-in-out infinite;
}

.icon-box-modern::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 18px;
}

.icon-box-modern i {
    font-size: 32px;
    color: white;
    position: relative;
    z-index: 2;
}

.icon-box-modern:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.icon-box-talk {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-1) 0%, var(--primary) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 6px 20px rgba(191, 69, 42, 0.2);
    transition: all var(--transition-speed) ease;
}

.icon-box-talk::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 16px;
}

.icon-box-talk i {
    font-size: 28px;
    color: white;
    position: relative;
    z-index: 2;
}

.icon-box-talk:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 30px rgba(191, 69, 42, 0.3);
}

/* Secçao livro - bordas*/

.book-section { background: #f8f9fa; padding: 40px 20px; border-radius: 15px; margin-top: 40px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
        .book-section .book-image { max-width: 100%; height: auto; max-height: 300px; object-fit: cover; border-radius: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); }
        .book-section .btn-book { font-size: 1.1rem; padding: 10px 25px; margin: 5px; }
        
/* Foto de perfil */
        .profile-image { max-width: 100%; height: auto; max-height: 400px; object-fit: cover; }

/* Cards */
.card {
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    border: none;
    background: white;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.card:nth-child(1) {
    animation-delay: 0.1s;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.3s;
}

.card:nth-child(4) {
    animation-delay: 0.4s;
}

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

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

.talk-card {
    border: 2px solid transparent;
}

.talk-card:hover {
    border-color: var(--accent-1);
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(191, 69, 42, 0.1);
}

/* Botão LinkedIn */
.btn-linkedin {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-1) 100%);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-linkedin::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-linkedin:hover::before {
    left: 100%;
}

.btn-linkedin:hover {
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(9, 33, 64, 0.3);
    text-decoration: none;
}

.btn-linkedin:active {
    transform: scale(0.98) translateY(-1px);
}

.btn-linkedin:focus {
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(9, 33, 64, 0.25);
}

.btn-linkedin::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn-linkedin:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(100, 100);
        opacity: 0;
    }
}

/* Cabeçalho de Seção */
.section-header {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 3rem);
    padding: 0 1rem;
}

.section-header h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-header p {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted-light);
}

/* Grid de Momentos Profissionais */
.moments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
}

.moments-grid .moment-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed) ease;
}

.moments-grid .moment-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.moments-grid .moment-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--transition-speed) ease;
}

.moments-grid .moment-item:hover img {
    transform: scale(1.05);
}

.moments-grid .moment-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(9, 33, 64, 0.9));
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform var(--transition-speed) ease;
}

.moments-grid .moment-item:hover .moment-overlay {
    transform: translateY(0);
}

.moments-grid .moment-content h5 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.moments-grid .moment-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

/* Seção de Citação */
.quote-section-container {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-1) 100%);
    border-radius: var(--border-radius);
    padding: 3rem;
    color: white;
    text-align: center;
    box-shadow: var(--shadow-md);
    margin-top: 1rem;
    width: 100%;
}

.quote-section-container blockquote {
    border: none;
    margin: 0;
}

.quote-section-container .lead {
    color: white;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.7;
}

.quote-section-container .blockquote-footer {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.quote-section-container .blockquote-footer strong {
    color: white;
}

/* Banner de Certificações */
.certification-banner {
    display: inline-block;
}

.certification-banner img {
    max-height: 200px;
    width: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

/* Grid de Publicações */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
}

.publication-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    border-left: 4px solid var(--accent-1);
    padding: 1rem;
    word-break: break-word;
}

.publication-card:nth-child(1) {
    animation-delay: 0.1s;
}

.publication-card:nth-child(2) {
    animation-delay: 0.2s;
}

.publication-card:nth-child(3) {
    animation-delay: 0.3s;
}

.publication-card:nth-child(4) {
    animation-delay: 0.4s;
}

.publication-card:nth-child(5) {
    animation-delay: 0.5s;
}

.publication-card:nth-child(6) {
    animation-delay: 0.6s;
}

.publication-card:nth-child(7) {
    animation-delay: 0.7s;
}

.publication-card:nth-child(8) {
    animation-delay: 0.8s;
}

.publication-card:nth-child(9) {
    animation-delay: 0.9s;
}

.publication-card:nth-child(10) {
    animation-delay: 1.0s;
}

.publication-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.publication-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.publication-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.publication-tag {
    background: rgba(191, 69, 42, 0.1);
    color: var(--accent-1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: var(--text-xs);
    font-weight: 500;
}

.publication-date {
    color: var(--text-muted-light);
    font-size: var(--text-xs);
    font-weight: 500;
}

.publication-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.publication-excerpt {
    font-size: var(--text-sm);
    color: var(--text-muted-light);
    margin-bottom: 0.75rem;
    flex: 1;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}

.publication-excerpt::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(transparent, white);
    pointer-events: none;
}

.publication-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.publication-link {
    font-size: var(--text-xs);
    color: var(--accent-1);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed) ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.publication-link:hover {
    color: var(--primary);
}

.publication-count {
    background: rgba(9, 33, 64, 0.05);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: var(--text-sm);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

/* Seção de Disciplinas */
.discipline-card {
    border-top: 4px solid var(--accent-1);
    transition: all var(--transition-speed) ease;
    overflow-wrap: break-word;
    line-height: 1.8;
}

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

.discipline-features {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.75rem, 1vw, 1rem);
    justify-content: flex-start;
}

.feature-tag {
    background: rgba(9, 33, 64, 0.05);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: var(--text-xs);
    font-weight: 500;
    display: flex;
    align-items: center;
}

/* Botão Voltar ao Topo */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-1) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-speed) ease;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--accent-1) 0%, var(--primary) 100%);
}

.back-to-top-btn:focus {
    outline: 2px solid var(--accent-1);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(191, 69, 42, 0.25);
}

/* Footer */
.footer-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    width: 100%;
}

.footer-section::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="50" cy="50" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

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

/* Background */
.bg-light {
    background-color: var(--bg-light) !important;
}

/* Logos */
.hero-logo {
    max-height: 120px;
    height: auto;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.footer-logo {
    max-height: 80px;
    height: auto;
}

.section-logo {
    max-height: 40px;
    height: auto;
    opacity: 0.8;
    transition: opacity var(--transition-speed) ease;
}

.section-logo:hover {
    opacity: 1;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

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

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

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

/* Grid de Palestras */
.talks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--card-gap);
    width: 100%;
}

/* Container Queries */
.card-container {
    container-type: inline-size;
}

@container (min-width: 400px) {
    .card-container .card {
        padding: 1.5rem;
    }
    .card-container .card-title {
        font-size: var(--text-xl);
    }
}

@container (min-width: 600px) {
    .card-container .card {
        padding: 2rem;
    }
    .card-container .card-title {
        font-size: var(--text-2xl);
    }
}

/* Seletors Modernos */
.nav-link:has(.fa-linkedin) {
    background-color: rgba(255, 255, 255, 0.1);
}

.card:has(.icon-box-modern) {
    border-top: 3px solid var(--accent-1);
}

:is(.professional-moment-large, .professional-moment-medium, .professional-moment-small) {
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Seção Sobre Mim */
.profile-image-container {
    position: relative;
    display: inline-block;
}

.profile-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.profile-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(191, 69, 42, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(191, 69, 42, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(191, 69, 42, 0);
    }
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.expertise-tag {
    background: rgba(9, 33, 64, 0.05);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: var(--text-sm);
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.expertise-tag:hover {
    background: rgba(191, 69, 42, 0.1);
    color: var(--accent-1);
    transform: translateY(-2px);
}

/* Carrossel de Momentos Profissionais */
.moment-carousel-item {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.moment-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.moment-carousel-item:hover img {
    transform: scale(1.05);
}

.carousel-caption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    padding: 2rem 1rem 1rem;
    bottom: 0;
    left: 0;
    right: 0;
}

.carousel-caption h5 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-indicators {
    margin-bottom: 1rem;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.carousel-indicators [data-bs-target]:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.carousel-indicators .active {
    background-color: var(--accent-1);
    width: 14px;
    height: 14px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next,
.carousel:focus-within .carousel-control-prev,
.carousel:focus-within .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel-item {
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    transform: translateX(0);
}

.carousel:focus-within .carousel-inner,
.carousel:hover .carousel-inner {
    animation-play-state: paused;
}

/* Seção de Livros */
.book-card {
    border-left: 4px solid var(--accent-1);
    transition: all var(--transition-speed) ease;
}

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

.book-cover-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.book-cover {
    max-height: 400px;
    width: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-speed) ease;
}

.book-cover:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.book-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

.book-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.download-options {
    margin-top: 1.5rem;
}

.download-info {
    margin-top: 1rem;
}

/* Botão Amazon */
.btn-amazon {
    background: linear-gradient(135deg, #232F3E 0%, #37475A 100%);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-amazon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-amazon:hover::before {
    left: 100%;
}

.btn-amazon:hover {
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(35, 47, 62, 0.3);
    text-decoration: none;
}

.btn-amazon:active {
    transform: scale(0.98) translateY(-1px);
}

.btn-amazon:focus {
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(35, 47, 62, 0.25);
}

.btn-amazon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn-amazon:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

/* Lazy Loading */
.lazy-img {
    filter: blur(10px);
    transition: filter 0.3s ease;
}

.lazy-img.loaded {
    filter: blur(0);
}

/* Spinner de Carregamento */
.loading-spinner {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted-light);
}

/* Modal */
.modal-backdrop {
    backdrop-filter: blur(5px);
}

.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-lg);
}

/* Media Queries */
@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .publications-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .navbar {
        padding: 10px 0;
        min-height: 65px;
        backdrop-filter: none;
        background: var(--primary);
    }
    .navbar-brand {
        font-size: 1.1rem;
    }
    .navbar-brand img {
        height: 30px !important;
    }
    .hero-section {
        padding-top: 75px;
        min-height: 90vh;
        backdrop-filter: none;
    }
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    .mb-5 {
        margin-bottom: 2.5rem !important;
    }
    .certification-banner img {
        max-height: 150px;
    }
    .publications-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1rem;
    }
    .profile-image-container {
        text-align: center;
        margin-bottom: 30px;
    }
    .profile-image {
        max-width: 300px;
    }
    .profile-badge {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    .moment-carousel-item {
        height: 400px;
    }
    .carousel-caption {
        padding: 1.5rem 1rem 0.75rem;
    }
    .carousel-caption h5 {
        font-size: 1.1rem;
    }
    .carousel-caption p {
        font-size: 0.9rem;
    }
    .book-cover {
        max-height: 300px;
    }
    .book-badge {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .download-options .btn-lg {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    .download-info .alert {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .icon-box-modern {
        width: 70px;
        height: 70px;
    }
    .icon-box-modern i {
        font-size: 28px !important;
    }
    .icon-box-talk {
        width: 60px;
        height: 60px;
    }
    .icon-box-talk i {
        font-size: 24px !important;
    }
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    .g-4 {
        gap: 1rem !important;
    }
    .card {
        border-radius: 12px;
        margin-bottom: 15px;
    }
    .card-body {
        padding: 1.5rem !important;
    }
    .card:hover {
        transform: translateY(-4px);
    }
    .btn-linkedin {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
    .certification-banner img {
        max-height: 120px;
    }
    .publications-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .publication-card {
        padding: 0.75rem;
    }
    .publication-title {
        font-size: var(--text-base);
        margin-bottom: 0.25rem;
    }
    .publication-excerpt {
        font-size: var(--text-xs);
        margin-bottom: 0.5rem;
        -webkit-line-clamp: 2;
    }
    .section-header {
        margin-bottom: 2rem;
        padding: 0 0.75rem;
    }
    .section-header h2 {
        font-size: 1.75rem;
    }
    .section-header p {
        font-size: 1rem;
    }
    .moments-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .quote-section-container {
        padding: 2rem 1.5rem;
    }
    .quote-section-container .lead {
        font-size: 1.1rem;
    }
    .expertise-tags {
        justify-content: center;
    }
    .expertise-tag {
        font-size: var(--text-xs);
        padding: 6px 12px;
    }
    .moment-carousel-item {
        height: 350px;
    }
    .carousel-caption {
        padding: 1rem 0.75rem 0.5rem;
    }
    .carousel-caption h5 {
        font-size: 1rem;
    }
    .carousel-caption p {
        font-size: 0.85rem;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    .carousel-indicators [data-bs-target] {
        width: 40px;
        height: 40px;
        margin: 0 3px;
    }
    .carousel-indicators .active {
        width: 42px;
        height: 42px;
    }
    .book-cover {
        max-height: 250px;
    }
    .book-badge {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    .download-options .btn-lg {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    .download-info .alert {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    .navbar {
        padding: 8px 0;
        min-height: 60px;
        backdrop-filter: none;
        background: var(--primary);
    }
    .navbar-brand {
        font-size: 1rem;
    }
    .navbar-brand img {
        height: 28px !important;
        margin-right: 8px !important;
    }
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--primary) 0%, var(--accent-1) 100%);
        margin-top: 0;
        border-radius: 0 0 10px 10px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(9, 33, 64, 0.3);
        max-width: none;
        width: 100%;
    }
    .navbar-nav {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 4px;
    }
    .navbar-nav .nav-item {
        margin: 0;
        width: 100%;
    }
    .navbar-nav .nav-link {
        text-align: center;
        margin: 0;
        border-radius: 8px;
    }
    .navbar-nav .dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
        width: 100%;
    }
    .navbar-nav .dropdown-item {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        border-radius: 8px;
        margin: 4px 0;
    }
    .navbar-nav .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        transform: none;
    }
    .navbar-nav .dropdown-item i {
        color: rgba(255, 255, 255, 0.8);
    }
    .navbar-nav .dropdown-divider {
        border-color: rgba(255, 255, 255, 0.2);
    }
    .navbar-nav .nav-item:last-child {
        margin-left: 0;
        margin-top: 10px;
    }
    .btn-linkedin.btn-sm {
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
    .hero-section {
        padding-top: 70px;
        padding-bottom: 40px;
        min-height: 85vh;
        backdrop-filter: none;
    }
    .hero-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .hero-section h2 {
        font-size: 1.5rem !important;
    }
    .hero-section .lead {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }
    .hero-section .btn {
        width: 100%;
        margin-bottom: 15px;
        padding: 15px 20px;
        font-size: 1rem;
    }
    .hero-section .d-flex {
        gap: 0 !important;
    }
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    .mb-5 {
        margin-bottom: 1.5rem !important;
    }
    .mb-4 {
        margin-bottom: 1.25rem !important;
    }
    .mb-3 {
        margin-bottom: 1rem !important;
    }
    .g-4 {
        gap: 0.75rem !important;
    }
    .section-logo {
        max-height: 80px !important;
        width: auto;
    }
    .hero-logo {
        max-height: 120px !important;
        width: auto;
    }
    .footer-logo {
        max-height: 60px !important;
        width: auto;
    }
    .certification-banner img {
        max-height: 100px;
    }
    .publications-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .publication-card {
        padding: 0.5rem;
    }
    .publication-title {
        font-size: var(--text-sm);
        margin-bottom: 0.25rem;
    }
    .publication-excerpt {
        font-size: var(--text-xs);
        margin-bottom: 0.5rem;
        -webkit-line-clamp: 2;
    }
    .publication-footer {
        padding-top: 0.25rem;
    }
    .section-header {
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    .section-header h2 {
        font-size: 1.5rem;
    }
    .section-header p {
        font-size: 0.9rem;
    }
    .quote-section-container {
        padding: 1.5rem;
    }
    .quote-section-container .lead {
        font-size: 1rem;
    }
    .profile-image {
        max-width: 250px;
    }
    .profile-badge {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: -10px;
        right: -10px;
    }
    .footer-section .row {
        text-align: center;
    }
    .footer-section .col-lg-8 {
        margin-bottom: 2rem;
    }
    .footer-section .d-flex {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .btn-linkedin {
        padding: 14px 24px;
        font-size: 0.9rem;
        letter-spacing: 0.3px;
    }
    .btn-lg {
        padding: 16px 30px !important;
        font-size: 1rem !important;
    }
    .text-sm-center {
        text-align: center !important;
    }
    .w-sm-100 {
        width: 100% !important;
    }
    .d-sm-block {
        display: block !important;
    }
    .navbar-divider {
        display: none;
    }
    .moment-carousel-item {
        height: 300px;
    }
    .carousel-caption {
        padding: 0.75rem 0.5rem 0.25rem;
    }
    .carousel-caption h5 {
        font-size: 0.9rem;
    }
    .carousel-caption p {
        font-size: 0.8rem;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }
    .carousel-indicators {
        margin-bottom: 0.5rem;
    }
    .carousel-indicators [data-bs-target] {
        width: 32px;
        height: 32px;
        margin: 0 2px;
    }
    .carousel-indicators .active {
        width: 34px;
        height: 34px;
    }
    .book-cover {
        max-height: 200px;
    }
    .book-badge {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    .download-options .btn-lg {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    .download-info .alert {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

/* Suporte a Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-logo {
        animation: none;
        opacity: 1;
    }
    .publication-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .discipline-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .back-to-top-btn {
        transition: none !important;
    }
    .profile-badge {
        animation: none;
    }
    .carousel-item {
        transition: none !important;
    }
    .book-badge {
        animation: none;
    }
}

/* Estados de Foco para Acessibilidade */
a:focus,
button:focus,
.btn:focus,
.navbar-toggler:focus,
.nav-link:focus,
.dropdown-item:focus {
    outline: 2px solid var(--accent-1);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(191, 69, 42, 0.25);
}

@media (prefers-contrast: high) {
    a:focus,
    button:focus,
    .btn:focus,
    .navbar-toggler:focus,
    .nav-link:focus,
    .dropdown-item:focus {
        outline-width: 3px;
        outline-offset: 3px;
    }
}
/* ==========================================
   Livro Page Specific Styles
   ========================================== */

.min-vh-60 {
    min-height: 60vh !important;
}

.icon-box-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-1) 100%);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.icon-box-modern:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(9, 33, 64, 0.3);
}

.card.border-primary {
    position: relative;
    overflow: hidden;
}

.card.border-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent-1) 100%);
}

/* Improved book section styles */
.book-section .book-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.book-section .book-image:hover {
    transform: scale(1.05);
}

/* Icon box for talks/content sections */
.icon-box-talk {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-1) 100%);
    border-radius: 12px;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .min-vh-60 {
        min-height: 50vh !important;
    }
    
    .icon-box-modern {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ========================================== */


/* ==========================================
   Bootstrap Color Overrides
   ========================================== */

/* Override Bootstrap primary color globally */
.bg-primary {
    background-color: var(--primary) !important;
}

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

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #0a2a52 !important;
    border-color: #0a2a52 !important;
}

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

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

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

/* ========================================== */

