/* Custom Variables */
:root {
    --primary-color: #7c0cac;
    --secondary-color: #333;
    --accent-color: #4361ee;
    --dark-purple: #5a097d;
    --light-purple: #9d4edd;
    --light-gray: #f8f9fa;
}

/* General Styles */
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    padding-top: 76px;
    color: var(--secondary-color);
}

/* Navbar */
.navbar {
    background: linear-gradient(90deg, var(--primary-color), var(--dark-purple));
    padding: 1rem 0;
    transition: all 0.3s ease;
    border: none !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1030;
}

.navbar > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#navbarNav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.navbar-nav {
    margin: 0;
    padding: 0;
    background: transparent;
}

.navbar-brand {
    color: white !important;
    font-weight: 600;
    font-size: 1.5rem;
    padding: 0;
    margin: 0;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.nav-item {
    margin: 0 0.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover,
.nav-link:focus {
    color: #fff !important;
    transform: translateY(-1px);
}

/* Language Switcher */
.navbar .lang-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent !important;
    margin-left: 3rem;
    margin-right: 3rem;
    padding: 0;
}

.navbar .lang-buttons .lang-btn {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 4px !important;
    padding: 4px !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    width: 32px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    outline: none !important;
    margin: 0;
}

.navbar .lang-buttons .lang-btn:hover {
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-1px);
}

.navbar .lang-buttons .lang-btn.active {
    border-color: rgba(255, 255, 255, 0.8) !important;
}

@media (max-width: 991.98px) {
    .navbar .lang-buttons {
        margin: 0 1rem;
    }
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    color: white;
}

.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(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    #navbarNav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
    }
    
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
        z-index: 1020;
        background: linear-gradient(90deg, var(--primary-color), var(--dark-purple));
        display: none !important;
    }
    
    .navbar-nav {
        background: linear-gradient(90deg, var(--primary-color), var(--dark-purple));
        padding: 1rem;
        border-radius: 8px;
        display: none !important;
    }
}

/* Mobile Navigation */
.navbar-toggler {
    border: 2px solid rgba(255,255,255,0.5) !important;
    padding: 0.5rem !important;
    margin-right: 1rem !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
    border-color: rgba(255,255,255,0.8) !important;
}

.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.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(90deg, var(--primary-color), var(--dark-purple));
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .navbar-nav {
        margin-bottom: 1rem !important;
    }

    .nav-item {
        margin: 0;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
    }

    .lang-buttons {
        margin: 0;
        justify-content: center;
        padding: 0.5rem 0;
    }

    #navbarNav {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: calc(100vh - 76px);
    padding-top: 2rem;
    overflow: hidden;
    background: #0f0514;
    margin-top: -2px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(217deg, rgba(124,12,172,.8), rgba(124,12,172,0) 70.71%),
        linear-gradient(127deg, rgba(67,97,238,.8), rgba(67,97,238,0) 70.71%),
        linear-gradient(336deg, rgba(157,78,221,.8), rgba(157,78,221,0) 70.71%);
    opacity: 0.9;
    z-index: 1;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.tech-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title::first-line {
    background: linear-gradient(90deg, #4361ee, #7c0cac);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline;
}

.gradient-text {
    background: linear-gradient(90deg, #4361ee, #7c0cac);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-right: 0.5rem;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
}

.feature-item i {
    color: var(--accent-color);
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-outline-light {
    border-width: 2px;
}

.pulse-button {
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(124, 12, 172, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(124, 12, 172, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(124, 12, 172, 0);
    }
}

.hero-image-container {
    position: relative;
    height: 100%;
}

.floating-tech-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.tech-element {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    animation: float 6s ease-in-out infinite;
    animation-delay: var(--delay);
}

.tech-element:nth-child(1) { top: 20%; left: 20%; }
.tech-element:nth-child(2) { top: 40%; right: 20%; }
.tech-element:nth-child(3) { bottom: 30%; left: 30%; }
.tech-element:nth-child(4) { bottom: 20%; right: 30%; }

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

.hero-image {
    position: relative;
    z-index: 2;
    animation: levitate 6s ease-in-out infinite;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

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

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .feature-item {
        font-size: 1rem;
    }
}

@media (max-width: 991px) {
    .tech-badge {
        margin-top: 3rem; 
    }
}

/* Cards */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(124, 12, 172, 0.15);
}

.card h3, .service-card h3 {
    text-align: center;
}

/* Serviços Section */
.services-section {
    background-color: var(--light-gray);
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.service-card h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(124, 12, 172, 0.1), rgba(67, 97, 238, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.service-link i {
    margin-left: 0.5rem;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--accent-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Sections */
section {
    padding: 100px 0;
}

section h2 {
    font-weight: 800;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

/* Scroll Offset para seções */
html {
    scroll-padding-top: 120px;
}

section[id] {
    scroll-margin-top: 120px;
    padding-top: 20px;
}

/* Form Controls */
.form-control {
    padding: 1rem;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(124, 12, 172, 0.25);
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--dark-purple);
    transform: translateY(-2px);
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 600;
    border-radius: 12px;
    padding: 1rem 2rem;
}

/* Icons */
.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(124, 12, 172, 0.1), rgba(67, 97, 238, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    gap: 8px;
    padding: 0 10px;
}

.feature-icon i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Contact Section */
.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(124, 12, 172, 0.1), rgba(67, 97, 238, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.contact-icon i {
    font-size: 1.25rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.form-control {
    border: 2px solid rgba(0, 0, 0, 0.1);
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(124, 12, 172, 0.15);
}

.contact-form .btn-primary {
    padding: 0.8rem 2.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer */
footer {
    background: linear-gradient(90deg, var(--primary-color), var(--dark-purple));
    color: white;
    padding: 3rem 0;
}

footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

footer a:hover {
    color: white;
}

footer .social-links a {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.5rem;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

footer .copyright {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin: 0;
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* About Section */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-content {
    padding-right: 2rem;
}

.subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.years-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
}

.about-text p {
    color: var(--secondary-color);
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.stats-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 16px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0.8;
}

.about-image-wrapper {
    position: relative;
    padding: 2rem;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: 2rem;
    right: -1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.experience-badge .number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    color: var(--secondary-color);
    opacity: 0.8;
}

@media (max-width: 991px) {
    .about-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .stats-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 80vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .service-card {
        padding: 2rem;
    }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    animation: pulse 2s infinite;
    z-index: 1000;
}

.whatsapp-float:hover {
    color: white;
    transform: scale(1.1);
    animation: none;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.8);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(51, 51, 51, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 1rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cookie-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
}

.cookie-link {
    color: var(--accent-color);
    text-decoration: none;
}

.cookie-link:hover {
    text-decoration: underline;
    color: var(--accent-color);
}

.cookie-buttons {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-text {
        flex-direction: column;
    }

    .cookie-buttons {
        display: flex;
        gap: 0.5rem;
    }
}

/* Páginas Legais (Privacidade e Termos) */
.legal-content {
    padding-top: 100px;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.legal-content .card {
    border: none;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.legal-content h1 {
    color: var(--primary-color);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.legal-content h2 {
    color: var(--secondary-color);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.legal-content p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.legal-content ul {
    list-style-type: none;
    padding-left: 0;
}

.legal-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #4a5568;
}

.legal-content ul li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.legal-content section:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 2rem;
}

/* Botão Voltar */
.btn-outline-light {
    border-width: 2px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Language Switcher nas páginas legais */
.legal-content .lang-buttons {
    display: flex;
    gap: 0.5rem;
}

.legal-content .lang-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 0.25rem;
    transition: all 0.3s ease;
}

.legal-content .lang-btn:hover,
.legal-content .lang-btn.active {
    border-color: #fff;
    transform: translateY(-2px);
}

.legal-content .lang-btn img {
    border-radius: 4px;
}

/* Responsividade */
@media (max-width: 768px) {
    .legal-content {
        padding-top: 80px;
    }

    .legal-content .card-body {
        padding: 1.5rem;
    }

    .legal-content h1 {
        font-size: 1.75rem;
    }

    .legal-content h2 {
        font-size: 1.25rem;
    }
}

/* Legal Pages */
.legal-content {
    padding-top: 100px;
    color: var(--secondary-color);
}

.legal-content h1 {
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p {
    padding-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.legal-content ul {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

.content-section {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.footer-links a {
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1.5rem;
}

@media (max-width: 991.98px) {
    .language-switcher {
        margin: 1rem auto 0;
        justify-content: center;
    }
}

.lang-btn {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.lang-btn.active {
    opacity: 1;
    border-bottom: 2px solid white;
}

.lang-btn img {
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
