* {
    font-family: 'Poppins', sans-serif;
}

.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-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 1000 1000"><polygon fill="%23ffffff08" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

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

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-elements::before,
.floating-elements::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-elements::before {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 10%;
    animation-delay: -2s;
}

.floating-elements::after {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 10%;
    animation-delay: -4s;
}

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

.service-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 15px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.service-card-dark {
    transition: all 0.3s ease;
    border: none;
    background: linear-gradient(145deg, #2c2c54 0%, #40407a 100%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 15px;
    overflow: hidden;
    color: #ffffff !important;
}

.service-card-dark:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    background: linear-gradient(145deg, #40407a 0%, #2c2c54 100%);
}

.service-card-dark .card-text {
    color: #e9ecef !important;
}

.service-card-dark .list-unstyled li {
    color: #f8f9fa !important;
}

.article-card-dark {
    transition: all 0.3s ease;
    border: none;
    background: #343a40;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 15px;
    overflow: hidden;
}

.article-card-dark:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.article-card-dark .card-body {
    background: #343a40 !important;
}

.article-card-dark .card-text {
    color: #e9ecef !important;
}

.article-card-dark .text-muted {
    color: #adb5bd !important;
}

.service-icon {
    font-size: 3rem;
    background: linear-gradient(45deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-modern {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(45deg, #764ba2, #667eea);
}

.navbar-modern {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    padding: 15px 0;
    z-index: 1050 !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand img {
    height: 80px;
    width: auto;
    max-width: 300px;
}

.navbar-modern .nav-link {
    color: #ffffff !important;
}

.navbar-modern .nav-link:hover {
    color: #ffd700 !important;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
}

.bg-secondary {
    background: linear-gradient(145deg, #343a40 0%, #495057 100%) !important;
}

/* Correções de contraste para textos */
.bg-dark .lead {
    color: #f8f9fa !important;
}

.bg-secondary .lead {
    color: #f8f9fa !important;
}

.bg-secondary .text-light {
    color: #f8f9fa !important;
}

.bg-secondary .text-muted {
    color: #adb5bd !important;
}

/* Melhorar contraste nos cards escuros */
.service-card-dark h5 {
    color: #ffffff !important;
}

.service-card-dark p {
    color: #e9ecef !important;
}

.service-card-dark ul li {
    color: #f8f9fa !important;
}