:root {
    --primary-blue: #3b82f6;
    --azul-forte: #1e3a8a;
    --secondary-green: #10b981;
    --accent-orange: #fbbf24;    
    --dark-blue: #1e40af;
    --light-gray: #e0f2fe;
    --gradient-start: rgba(59, 130, 246, 0.8);
    --gradient-end: rgba(30, 64, 175, 0.8);
     --text-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        --accent-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Bootstrap overrides */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-success {
    background-color: var(--secondary-green);
    border-color: var(--secondary-green);
}

.text-primary {
    color: var(--primary-blue) !important;
}

.text-accent {
    color: var(--accent-orange) !important;
}

.bg-primary {
    background-color: var(--primary-blue) !important;
}

.text-azulmarinho {
    color: var(--azul-forte) !important;
}

.bg-cinza {
    background-color: var(--light-gray) !important;
}

/* Navbar Styles */
.navbar {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-light .nav-link:hover {
    color: var(--accent-orange) !important;
}

/* Hero Section */
.hero-section {
   background: linear-gradient(rgba(30, 58, 138, 0.7), rgba(30, 64, 175, 0.7)),
              url('../images/novacapa.png') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-title {
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Stats Section */
.stats-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.stats-label {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Course Cards */
.course-card {
    transition: all 0.3s ease;
    border: none;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.course-icon {
    width: 50px;
    height: 50px;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.course-card .btn {
    transition: all 0.3s ease;
}

.course-card:hover .btn {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* About Section Image */
.position-relative img {
    transition: transform 0.3s ease;
}

.position-relative:hover img {
    transform: scale(1.02);
}

/* Testimonials */
.blockquote {
    font-size: 0.95rem;
}

.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/tIGUDKi9wlcU.webp') center/cover no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

/* Contact Cards */
.contact-card {
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue)) !important;
}

footer a:hover {
    color: var(--accent-orange) !important;
    transition: color 0.3s ease;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats-number {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .stats-number {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .course-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Utility Classes */
.shadow-soft {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.border-radius-lg {
    border-radius: 1rem;
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll padding for fixed navbar */
section {
    scroll-margin-top: 80px;
}

/* Button hover effects */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

/* Card hover effects for testimonials */
.card-body {
    transition: all 0.3s ease;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}



/* Featured Course Section */
.featured-course-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.featured-course-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    min-height: 400px;
}

.featured-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.4);
}

.featured-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-background-new.jpg') center/cover no-repeat;
    opacity: 0.1;
    border-radius: 20px;
}

.featured-content {
    position: relative;
    z-index: 2;
}

.featured-icon-container {
    position: relative;
    z-index: 2;
}

.featured-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

/* Pulse animation for the icon */
.pulse-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 3px solid var(--accent-orange);
    border-radius: 50%;
    animation: pulse 2s infinite;
    opacity: 0.6;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Floating elements */
.floating-element {
    position: absolute;
    font-size: 2rem;
    animation: floatSlow 4s ease-in-out infinite;
}

.floating-element-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.floating-element-2 {
    bottom: 30%;
    left: 5%;
    animation-delay: 1s;
}

.floating-element-3 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* Badge enhancements */
.featured-course-card .badge {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.featured-course-card .btn-warning {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
    color: var(--azul-forte);
    font-weight: 700;
    transition: all 0.3s ease;
}

.featured-course-card .btn-warning:hover {
    background-color: #f59e0b;
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4);
}

/* Responsive adjustments for featured section */
@media (max-width: 768px) {
    .featured-course-card {
        min-height: auto;
        margin: 0 15px;
    }
    
    .featured-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .pulse-animation {
        width: 80px;
        height: 80px;
    }
    
    .floating-element {
        font-size: 1.5rem;
    }
    
    .featured-content {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .featured-course-card .display-6 {
        font-size: 1.8rem;
    }
    
    .featured-course-card .lead {
        font-size: 1rem;
    }
}

.navbar-light.fixed-top {
    background-color: rgb(255, 255, 255) !important;
    z-index: 1030;
}


.top-bar {
    background-color: #ffffff;
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: bold;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e5e5;
    z-index: 1040;
}

.top-bar span {
    display: inline-block;
    margin-right: 2rem;
}

.top-bar .social-icons a {
    color: var(--primary-blue);
    margin-left: 0.5rem;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.top-bar .social-icons a:hover {
    color: var(--accent-orange);
}

.navbar {
    background-color:rgb(47, 140, 239) !important;
    z-index: 1030;
}

.sticky-top {
    position: sticky;
    top: 0;
}


.navbar .nav-link,
.navbar-brand {
    color: #f1f1f1 !important;
    font-weight: bold;
     font-size: 1.5rem;
    transition: color 0.3s ease;
}

.fonte-link {
    color: #ebedf1 !important;
    font-weight: bold;
     font-size: 1.1rem !important;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: var(--accent-orange) !important;
}

.navbar .dropdown-menu {    
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue)) !important;
    animation: fadeIn 0.3s ease-in-out;
}

.navbar .dropdown-item {
    color: #fff;
}

.navbar .dropdown-item:hover {
    background-color: var(--accent-orange);
}

.search-box input {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 5px 12px;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
}

.logo span {
    color: #a1a1a1;
    font-size: 1rem;
    vertical-align: super;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.navbar,
.top-bar {
    animation: fadeIn 0.6s ease-in;
}

@media (max-width: 992px) {
    .search-box {
        margin-top: 10px;
        width: 100%;
    }
    
    .top-bar span {
        margin-right: 1rem;
        font-size: 0.8rem;
    }
    
    .top-bar {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .top-bar span {
        display: block;
        margin-right: 0;
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none !important;
        height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
    }
    
    /* Ocultar elementos do navbar principal em dispositivos móveis, mantendo apenas logo e "Escola NEWPOINT" */
    #navbar-principal .welcome-badge {
        display: none !important;
    }
    
    #navbar-principal .hero-text-section .modern-subtitle {
        display: none !important;
    }
    
    #navbar-principal .hero-text-section h2.modern-subtitle {
        display: none !important;
    }
    
    /* Centralizar elementos visíveis no navbar principal em mobile */
    #navbar-principal .container-fluid {
        justify-content: center !important;
    }
    
    #navbar-principal .d-flex {
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    #navbar-principal .navbar-brand {
        margin-bottom: 0.5rem !important;
    }
    
    #navbar-principal .hero-text-section {
        text-align: center !important;
        width: 100% !important;
    }
    
    /* Manter apenas o título principal "Escola NEWPOINT" */
    #navbar-principal .main-brand-title {
        font-size: 1.2rem !important;
        margin-bottom: 0 !important;
        text-align: center !important;
    }
    
    /* Posicionar o botão do menu no canto superior direito */
    #navbar-principal .navbar-toggler {
        position: absolute !important;
        top: 1rem !important;
        right: 1rem !important;
        margin: 0 !important;
    }
}

.navbar-warning {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue)) !important;
}

.dourado-forte {
    background-color: var(--accent-orange)  !important;
}

/* .fw-bold {
    color: #011343 !important;
} */

  /* Estilos personalizados para os cards das formações */
        .formacao-card {
            transition: all 0.3s ease;
            border-radius: 15px;
            overflow: hidden;
        }
        
        .formacao-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
        }
        
        .formacao-icon {
            width: 80px;
            height: 80px;
            box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
        }
        
        .card-text.text-justify {
            text-align: justify;
            line-height: 1.6;
        }
        
        .formacao-card .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(251, 191, 36, 0.4);
        }

/* Estilos corrigidos para centralização do menu de navegação principal */

/* Mobile-first: comportamento padrão */
@media (max-width: 991.98px) {
    #menuNav .navbar-nav {
        text-align: center;
        width: 100%;
    }
    
    #menuNav .nav-item {
        margin: 0.5rem 0;
    }
}

/* Desktop: centralização usando flexbox */
@media (min-width: 992px) {
    #menuNav {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    #menuNav .navbar-nav {
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    #navbar-principal .nav-link {
        font-weight: 600;
        padding: 0.75rem 2rem !important;
        font-size: 1.2rem;
        transition: all 0.3s ease;
    }
    
    #navbar-principal .nav-link:hover {
        transform: translateY(-2px);
        color: var(--accent-orange) !important;
    }
    
    #navbar-principal .d-flex {
        flex-direction: column;
    }
    
    #menuNav {
        margin-top: 1rem;
        padding: 0.5rem 0;
        border-top: 1px solid rgba(0,0,0,0.1);
    }
}

.navbar-brand img {
    filter: drop-shadow(0 0 4px white) drop-shadow(0 0 6px rgba(0,0,0,0.5));
    border-radius: 50%;
}

    .hero-text-section {
        position: relative;
        animation: fadeInUp 0.8s ease-out;
    }

    .welcome-badge {
        font-size: 0.575rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 0.75rem;
        position: relative;
        display: inline-block;
        padding: 0.5rem 1rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 25px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .main-brand-title {
        font-size: clamp(1rem, 3vw, 2rem);
        font-weight: 800;
        color: white;
        margin-bottom: 1rem;
        line-height: 1.1;
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .brand-highlight {
        background: var(--text-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        position: relative;
        display: inline-block;
        animation: glow 2s ease-in-out infinite alternate;
    }

    @keyframes glow {
        from { filter: drop-shadow(0 0 5px rgba(79, 172, 254, 0.5)); }
        to { filter: drop-shadow(0 0 15px rgba(79, 172, 254, 0.8)); }
    }

    .modern-subtitle {
        font-size: clamp(1rem, 2vw, 1.5rem);
        font-weight: 600;
        color: white;
        margin-bottom: 1rem;
        opacity: 0.95;
    }

    .tagline-text {
        font-size: clamp(1.1rem, 2.5vw, 1.5rem);
        font-weight: 500;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.4;
        margin-bottom: 0;
    }

    .highlight-word {
        background: var(--accent-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 600;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .text-modern-gradient {
        background: var(--text-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Efeito de brilho sutil */
    .hero-text-section::before {
        content: '';
        position: absolute;
        top: -50px;
        left: -50px;
        width: 100px;
        height: 100px;
        background: radial-gradient(circle, rgba(79, 172, 254, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        animation: float 4s ease-in-out infinite;
        pointer-events: none;
    }

    @keyframes float {
        0%, 100% { transform: translate(0, 0) scale(1); }
        50% { transform: translate(20px, -20px) scale(1.1); }
    }

