
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
    background: #fefefe;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}


:root {
    --primary: hsl(280, 60%, 55%);
    --primary-foreground: hsl(0, 0%, 100%);
    --accent: hsl(320, 80%, 65%);
    --gradient: linear-gradient(135deg, hsl(280, 60%, 55%), hsl(320, 80%, 65%));
    --muted: hsl(250, 15%, 96%);
    --muted-foreground: hsl(240, 10%, 50%);
    --border: hsl(250, 15%, 88%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(240, 20%, 15%);
    --book-shadow: 0 10px 30px -10px hsl(280, 60%, 55%, 0.3);
    --card-hover: 0 20px 40px -15px hsl(280, 60%, 55%, 0.4);
    --counter-cyan: hsl(180, 80%, 60%);
    --counter-purple: hsl(280, 70%, 60%);
    --counter-orange: hsl(25, 85%, 60%);
    --counter-red: hsl(5, 75%, 60%);
    --radius: 0.75rem;
    --container-padding: 1rem;
    --section-padding: 4rem 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

@media (min-width: 768px) {
    :root {
        --container-padding: 1.5rem;
    }
}

@media (min-width: 1024px) {
    :root {
        --container-padding: 2rem;
    }
}

/* Typography */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
}

/* Buttons */
.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    background: var(--muted);
    border-color: var(--primary);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 10rem;
}

.logo h1 {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* Tamanho normal da logo */
.logo img {
    height: 150px;
    width: auto;
    transition: height 0.3s ease;
}

/* Tamanho da logo quando o header estiver "scrollado" */
.header.shrink .logo img {
    height: 80px; /* tamanho menor ao rolar */
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-desktop a {
    text-decoration: none;
    color: var(--card-foreground);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-desktop a:hover {
    color: var(--primary);
}

.nav-desktop .btn-cadastro {
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
}

.nav-desktop .btn-cadastro:hover {
    opacity: 0.9;
    color: white;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

/* Mobile Menu */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--card-foreground);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile a {
    text-decoration: none;
    color: var(--card-foreground);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-mobile a:hover {
    color: var(--primary);
}

.nav-mobile .btn-cadastro {
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    width: fit-content;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none !important;
    }
}

/* Banner */
.banner-news {
    width: 100vw; /* largura total da viewport */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.banner-image {
    width: 100vw;
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--card-hover);
}

.banner-image img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

@media (min-width: 200px) {
    .banner-image img {
        height: 250px;
    }
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

/* Featured Book */
.featured-book {
    padding: 10px;
}

.featured-card {
    max-width: 64rem;
    margin: 0 auto;
        backdrop-filter: blur(10px);
    padding: 1rem;
      overflow: hidden;
}

.featured-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .featured-content {
        flex-direction: row;
        align-items: center;
    }
    
    .featured-card {
        padding: 1rem;
    }
}

.book-cover img {
    width: 20rem;
    height: 30rem;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--book-shadow);
    transition: transform 0.3s ease;
}

.book-cover img:hover {
    transform: scale(1.05);
}

.book-info {
    text-align: center;
}

@media (min-width: 768px) {
    .book-info {
        text-align: left;
        margin-left: 1rem;
    }
}

.book-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.book-info .author {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.book-info .description {
    color: var(--card-foreground);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.book-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .book-actions {
        flex-direction: row;
        justify-content: center;
    }
    
    @media (min-width: 768px) {
        .book-actions {
            justify-content: flex-start;
        }
    }
}

/* Challenge Info */
.challenge-info {
    padding: var(--section-padding);
    background: rgba(250, 245, 255, 0.3);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.info-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
        margin-top: 60px;
}

.info-card:hover {
    box-shadow: var(--card-hover);
    transform: translateY(-2px);
}

.info-icon {
    margin-bottom: 1rem;
}

.info-icon svg {
    color: currentColor;
}

.info-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--muted-foreground);
}

.counter-cyan { color: var(--counter-cyan); }
.counter-purple { color: var(--counter-purple); }
.counter-orange { color: var(--counter-orange); }
.counter-red { color: var(--counter-red); }

/* Books Section */
.books-section {
    padding: var(--section-padding);
}

.books-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .books-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.book-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.book-card:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--card-hover);
    transform: translateY(-2px);
}

.book-card-content {
    padding: 1.5rem;
    text-align: center;
    justify-content: space-between;
    align-items: stretch;
}

.book-card img {
    width: 8rem;
    height: 12rem;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--book-shadow);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.book-card:hover img {
    transform: scale(1.05);
}

.book-card h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.book-author {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.book-card .btn-primary {
    width: 100%;
}

/* Countdown Section */
.countdown-section {
    padding: var(--section-padding);
    background: rgba(250, 245, 255, 0.3);
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .countdown-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.countdown-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}

.countdown-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .countdown-number {
        font-size: 2.5rem;
    }
}

.countdown-label {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.progress-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}

.progress-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.progress-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--muted-foreground);
}

.progress-bar {
    width: 100%;
    height: 0.75rem;
    background: var(--muted);
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient);
    transition: width 0.5s ease;
    border-radius: 9999px;
}

/* Footer */
.footer {
    background: rgba(250, 245, 255, 0.5);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
}

.footer-content {
    text-align: center;
}

.footer-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.footer-content p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 2px solid var(--border);
    max-width: 64rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--muted-foreground);
    z-index: 10;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background: var(--muted);
    color: var(--card-foreground);
}

.modal-body {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .modal-body {
        flex-direction: row;
    }
}

.modal-book-cover {
    flex-shrink: 0;
    padding: 2rem;
    background: rgba(250, 245, 255, 0.3);
}

@media (min-width: 768px) {
    .modal-book-cover {
        width: 33.333333%;
    }
}

.modal-book-cover img {
    width: 100%;
    max-width: 16rem;
    margin: 0 auto;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--book-shadow);
}

.modal-book-info {
    flex: 1;
    padding: 2rem;
}

.modal-book-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-book-author {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.modal-book-description {
    color: var(--card-foreground);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .modal-actions {
        flex-direction: row;
    }
}

.modal-actions .btn-primary,
.modal-actions .btn-outline {
    flex: 1;
}

/* Page Styles */
.page-content {
    padding: var(--section-padding);
}

.page-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .page-hero h1 {
        font-size: 3rem;
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
}

/* About Page Styles */
.two-column-section {
    margin-bottom: 4rem;
}

.column-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .column-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stats-section {
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: var(--card-hover);
    transform: translateY(-2px);
}

.stat-icon {
    margin-bottom: 1rem;
}

.stat-icon svg {
    color: var(--primary);
}

.stat-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card:nth-child(1) h3 { color: var(--primary); }
.stat-card:nth-child(2) h3 { color: var(--accent); }
.stat-card:nth-child(3) h3 { color: var(--counter-orange); }
.stat-card:nth-child(4) h3 { color: var(--counter-red); }

.story-section {
    margin-bottom: 4rem;
}

.story-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

@media (min-width: 1024px) {
    .story-card {
        padding: 3rem;
    }
}

.story-card h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

.story-content {
    max-width: 64rem;
    margin: 0 auto;
}

.story-content p {
    color: var(--card-foreground);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Registration Page Styles */
.benefits-section {
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);

    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}

.benefit-icon {
    margin-bottom: 0.75rem;
}

.benefit-icon svg {
    color: var(--primary);
}

.benefit-card:nth-child(2) .benefit-icon svg { color: var(--accent); }
.benefit-card:nth-child(3) .benefit-icon svg { color: var(--counter-orange); }

.benefit-card h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.registration-section {
    margin-bottom: 4rem;
}

.registration-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

@media (min-width: 1024px) {
    .registration-card {
        padding: 3rem;
    }
}

.registration-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-item {
    display: flex;
    gap: 0.75rem;
}

.feature-check {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    margin-top: 0.125rem;
}

.feature-content h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-content p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.form-section {
    text-align: center;
}

.form-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.form-placeholder {
    background: rgba(250, 245, 255, 0.5);
    border: 2px dashed rgba(150, 100, 200, 0.3);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.form-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-instructions {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.code-example {
    margin-top: 1rem;
}

.code-example code {
    font-size: 0.75rem;
    background: var(--muted);
    padding: 0.5rem;
    border-radius: 0.25rem;
    display: inline-block;
    color: var(--card-foreground);
}

.cta-section {
    text-align: center;
}

.btn-large {
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

.disclaimer {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 1rem;
}

/* Contact Page Styles */
.contact-section {
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: var(--card-hover);
    transform: translateY(-2px);
}

.contact-icon {
    margin-bottom: 1rem;
}

.contact-icon svg {
    color: var(--primary);
}

.instagram-icon svg {
    color: var(--accent);
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.contact-card p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.faq-section {
    margin-bottom: 2rem;
}

.faq-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

@media (min-width: 1024px) {
    .faq-card {
        padding: 3rem;
    }
}

.faq-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.faq-list {
    max-width: 64rem;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item h4 {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.faq-item p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.cta-card {
    background: var(--gradient);
    color: white;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}

.gradient-bg {
    background: var(--gradient) !important;
}

.cta-icon {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.cta-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-card p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-actions {
        flex-direction: row;
    }
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    background: white;
    color: var(--primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* Active state for navigation */
.nav-desktop .active,
.nav-mobile .active {
    color: var(--primary) !important;
    font-weight: 600;
}

 .banner-news .news-carousel {
            position: relative;
            overflow: hidden;
            border-radius: 16px;
        }
        .banner-news .carousel-slide {
            display: none;
            position: absolute;
            width: 100%;
            height: 350px;
            left: 0; top: 0;
            transition: opacity 0.5s;
        }
        .banner-news .carousel-slide.active {
            display: block;
            position: relative;
            opacity: 1;
            z-index: 1;
        }
        .banner-news .carousel-slide img {
            width: 100%;
            height: 350px;
            object-fit: cover;
            border-radius: 16px;
        }
        .banner-news .carousel-caption {
            position: absolute;
            left: 32px;
            bottom: 32px;
            background: rgba(0,0,0,0.5);
            color: #fff;
            padding: 16px 24px;
            border-radius: 8px;
        }
        .banner-news .carousel-control {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(245, 239, 239, 0.4);
            color: #fff;
            border: none;
            font-size: 2rem;
            padding: 8px 16px;
            cursor: pointer;
            border-radius: 50%;
            z-index: 2;
        }
        .banner-news .carousel-control.prev { left: 16px; }
        .banner-news .carousel-control.next { right: 16px; }
        @media (max-width: 600px) {
            .banner-news .carousel-slide img, .banner-news .carousel-slide {
                height: 180px;
            }
            .banner-news .carousel-caption {
                left: 8px;
                bottom: 8px;
                padding: 8px 12px;
                font-size: 0.9rem;
            }
        }