:root {
    --primary-color: #2563eb;       /* Azul profesional */
    --secondary-color: #3b82f6;     /* Azul claro */
    --accent-color: #f59e0b;        /* Naranja vibrante */
    --text-color: #1e293b;          /* Gris oscuro */
    --background-color: #f8fafc;    /* Fondo claro */
    --success-color: #10b981;       /* Verde */
    --error-color: #ef4444;         /* Rojo */
}

/* Estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ECF0F1;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #0A2463;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    border: none;
    padding: 0.1rem;
    border-radius: 60%;
    cursor: pointer;
}

.nav-menu ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.1s;
}

.nav-menu a:hover {
    opacity: 0.4;
}

/* Secciones */
.section {
    margin: 4rem 0;
    padding: 2rem;
    background: #F7F9F9;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}
.color1{

    color: #FF6B35;
}
.color2{
    color: #212F3D;
}
.color3{
    color: #17202A;
}

/* Tasas */
.tasa-container {
    display: flex;
    justify-content: center;
}

.tasa-card {
    background: #F5F5F5;
    border-radius: 15px;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    border: 2px solid var(--primary-color);
    text-align: center;
}

.tasa-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.tasa-principal {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00CC66;
    margin: 1rem 0;
}

.indicador {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
}

.positivo {
    background: #dcfce7;
    color: #16a34a;
}

.negativo {
    background: #fee2e2;
    color: #dc2626;
}

/* Calculadora */
.calculadora-container {
    max-width: 600px;
    margin: 0 auto;
}

.conversor-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.input-group {
    flex: 1;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.btn-swap {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 60%;
    cursor: pointer;
    transition: transform 0.6s;
}

.btn-swap:hover {
    transform: rotate(180deg);
}

.botones-calculo {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.btn-calcular {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    border: none;
    cursor: pointer;
}

.btn-borrar {
    background-color: var(--error-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    border: none;
    cursor: pointer;
}

.tasa-info{
    font-size: 1rem;
    color: black;
    margin-bottom: 1rem;
    text-align: center;
}
/* Contacto */
.contacto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

}
.whatsapp-box, .redes-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.whatsapp-header, .redes-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.whatsapp-header i {
    font-size: 1.8rem;
    color: #25d366;
}

.redes-header i {
    font-size: 1.8rem;
    color: #E1306C; /* Color de Instagram */
}

.whatsapp-numbers a, .redes-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin: 0.5rem 0;
    background: #f8fafc;
    border-radius: 10px;
    color: var(--text-color);
    text-decoration: none;
    transition: transform 0.3s;
}

.redes-links a{
    color: #00CC66;
}

.whatsapp-numbers a:hover, .redes-links a:hover {
    transform: translateX(10px);
}

/* Footer */
footer {
    background: #0A2463;
    color: white;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-social a {
    color: white;
    font-size: 1.5rem;
    margin-left: 1.5rem;
    transition: opacity 0.3s;
}

.footer-social a:hover {
    opacity: 0.8;
}

.footer-copyright {
    text-align: center;
    padding: 1rem;
    background: rgba(0,0,0,0.1);
}

/* Estilos base (Mobile First) */
.header-content {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.nav-menu ul {
    display: flex;
    gap: 1rem;
}

.conversor-box {
    display: flex;
    flex-direction: row;
}

.btn-swap {
    transform: rotate(0deg);
    transition: transform 0.3s;
}

.indicador {
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.positivo {
    background: #e6f6ec;
    color: #10b981;
    border: 1px solid #10b981;
}

.negativo {
    background: #fee2e2;
    color: #ef4444;
    border: 1px solid #ef4444;
}

.indicador i {
    font-size: 0.9em;
}

/* Responsive: Mobile */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .conversor-box {
        flex-direction: column;
    }

    .btn-swap {
        transform: rotate(90deg);
    }
}

/* Responsive: Tablet */
@media (min-width: 769px) and (max-width: 1023px) {
    .header-content {
        flex-direction: row;
        gap: 1.5rem;
    }

    .nav-menu ul {
        flex-direction: row;
        gap: 1.5rem;
    }

    .conversor-box {
        flex-direction: row;
    }

    .btn-swap {
        transform: rotate(0deg);
    }
}

/* Responsive: Desktop */
@media (min-width: 1024px) {
    .header-content {
        flex-direction: row;
        gap: 2rem;
    }

    .nav-menu ul {
        flex-direction: row;
        gap: 2rem;
    }

    .conversor-box {
        flex-direction: row;
    }

    .btn-swap {
        transform: rotate(0deg);
    }
}
  /* Estilo para los símbolos de moneda */
  .currency-icon {
    display: inline-block;
    font-size: 1.9em;
    font-weight: bold;
    margin: 0 0.2em;
    vertical-align: middle;
  }

  /* Símbolo del euro */
  .euro-icon {
    color: #003399; /* Azul de la UE */
  }

  /* Símbolo del bolívar venezolano */
  .bolivar-icon {
    color: #F44336; /* Rojo de la bandera de Venezuela */
  }
  .flag-venezuela {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6'%3E%3Crect width='9' height='2' y='0' fill='%23ffe800'/%3E%3Crect width='9' height='2' y='2' fill='%230038b8'/%3E%3Crect width='9' height='2' y='4' fill='%23cf142b'/%3E%3Cg fill='%23fff' transform='translate(4.5 3)'%3E%3Cpath d='M-2.5 0a.25.25 0 1 1 .5 0 .25.25 0 0 1-.5 0'/%3E%3Ccircle r='0.25'/%3E%3Cpath d='M2.5 0a.25.25 0 1 1 .5 0 .25.25 0 0 1-.5 0'/%3E%3C/g%3E%3C/svg%3E");
  }